• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DomCR / ACadSharp / 18314169605

07 Oct 2025 01:24PM UTC coverage: 77.952% (-0.06%) from 78.015%
18314169605

push

github

web-flow
Merge pull request #813 from DomCR/polyline-refactor

Polyline refactor

6797 of 9463 branches covered (71.83%)

Branch coverage included in aggregate %.

90 of 112 new or added lines in 10 files covered. (80.36%)

46 existing lines in 4 files now uncovered.

26133 of 32781 relevant lines covered (79.72%)

109153.14 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

57.14
/src/ACadSharp/Entities/PolyLine3D.cs
1
using ACadSharp.Attributes;
2
using CSMath;
3
using System;
4
using System.Collections.Generic;
5
using System.Linq;
6

7
namespace ACadSharp.Entities
8
{
9
        /// <summary>
10
        /// Represents a <see cref="Polyline3D"/> entity.
11
        /// </summary>
12
        /// <remarks>
13
        /// Object name <see cref="DxfFileToken.EntityPolyline"/> <br/>
14
        /// Dxf class name <see cref="DxfSubclassMarker.Polyline"/>
15
        /// </remarks>
16
        [DxfName(DxfFileToken.EntityPolyline)]
17
        [DxfSubClass(DxfSubclassMarker.Polyline3d)]
18
        public class Polyline3D : Polyline<Vertex3D>
19
        {
20
                /// <inheritdoc/>
21
                public override ObjectType ObjectType => ObjectType.POLYLINE_3D;
17✔
22

23
                /// <inheritdoc/>
24
                public override string SubclassMarker => DxfSubclassMarker.Polyline3d;
500✔
25

26
                public Polyline3D() : base()
10,382✔
27
                {
10,382✔
28
                }
10,382✔
29

30
                public Polyline3D(IEnumerable<XYZ> vertices, bool isClosed = false) : base(vertices.Select(v => new Vertex3D(v)), isClosed)
×
31
                {
×
32
                }
×
33

NEW
34
                public Polyline3D(IEnumerable<Vertex3D> vertices, bool isClosed = false) : base(vertices, isClosed)
×
35
                {
×
36
                }
×
37

38
                public Polyline3D(params IEnumerable<XYZ> vertices) : base(vertices.Select(v => new Vertex3D(v)), false)
2,304✔
39
                {
9✔
40
                }
9✔
41
        }
42
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc