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

DomCR / ACadSharp / 14236951574

03 Apr 2025 07:03AM UTC coverage: 76.184% (-0.2%) from 76.343%
14236951574

Pull #525

github

web-flow
Merge cf111e118 into 04434c5d6
Pull Request #525: Issue-524 Explode Hatch

5586 of 8036 branches covered (69.51%)

Branch coverage included in aggregate %.

32 of 99 new or added lines in 17 files covered. (32.32%)

12 existing lines in 6 files now uncovered.

22084 of 28284 relevant lines covered (78.08%)

74241.73 hits per line

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

33.33
/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()
NEW
28
                                {
×
NEW
29
                                        return new Entities.Line(this.Start, this.End);
×
NEW
30
                                }
×
31

32
                                /// <inheritdoc/>
33
                                public override BoundingBox GetBoundingBox()
34
                                {
×
35
                                        return BoundingBox.FromPoints([(XYZ)this.Start, (XYZ)this.End]);
×
36
                                }
×
37
                        }
38
                }
39
        }
40
}
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