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

DomCR / ACadSharp / 14236632495

03 Apr 2025 06:41AM UTC coverage: 76.148% (-0.2%) from 76.343%
14236632495

Pull #525

github

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

5584 of 8036 branches covered (69.49%)

Branch coverage included in aggregate %.

6 of 99 new or added lines in 17 files covered. (6.06%)

6 existing lines in 5 files now uncovered.

22073 of 28284 relevant lines covered (78.04%)

74241.2 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