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

DomCR / ACadSharp / 14305968221

07 Apr 2025 09:41AM UTC coverage: 75.187% (-1.0%) from 76.181%
14305968221

push

github

DomCR
badge fix

5615 of 8186 branches covered (68.59%)

Branch coverage included in aggregate %.

22386 of 29056 relevant lines covered (77.04%)

72281.98 hits per line

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

27.27
/src/ACadSharp/Entities/Hatch.BoundaryPath.Line.cs
1
using ACadSharp.Attributes;
2
using CSMath;
3

4
namespace ACadSharp.Entities
5
{
6
        public partial class Hatch
7
        {
8
                public partial class BoundaryPath
9
                {
10
                        public class Line : Edge
11
                        {
12
                                public override EdgeType Type => EdgeType.Line;
520✔
13

14
                                /// <summary>
15
                                /// Start point (in OCS)
16
                                /// </summary>
17
                                [DxfCodeValue(10, 20)]
18
                                public XY Start { get; set; }
19,504✔
19

20
                                /// <summary>
21
                                /// Endpoint (in OCS)
22
                                /// </summary>
23
                                [DxfCodeValue(11, 21)]
24
                                public XY End { get; set; }
19,504✔
25

26
                                /// <inheritdoc/>
27
                                public override Entity ToEntity()
28
                                {
×
29
                                        return new Entities.Line(this.Start, this.End);
×
30
                                }
×
31
                                /// <inheritdoc/>
32
                                public override void ApplyTransform(Transform transform)
33
                                {
×
34
                                        throw new System.NotImplementedException();
×
35
                                }
36

37
                                /// <inheritdoc/>
38
                                public override BoundingBox GetBoundingBox()
39
                                {
×
40
                                        return BoundingBox.FromPoints([(XYZ)this.Start, (XYZ)this.End]);
×
41
                                }
×
42
                        }
43
                }
44
        }
45
}
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