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

DomCR / ACadSharp / 17231110568

26 Aug 2025 07:26AM UTC coverage: 78.117% (-0.2%) from 78.27%
17231110568

push

github

web-flow
Merge pull request #749 from DomCR/issue-745_insert-explode

Issue 745 insert explode

6520 of 9071 branches covered (71.88%)

Branch coverage included in aggregate %.

19 of 79 new or added lines in 9 files covered. (24.05%)

45 existing lines in 5 files now uncovered.

25297 of 31659 relevant lines covered (79.9%)

104973.57 hits per line

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

66.67
/src/ACadSharp/Entities/XLine.cs
1
using ACadSharp.Attributes;
2
using CSMath;
3

4
namespace ACadSharp.Entities
5
{
6
        /// <summary>
7
        /// Represents a <see cref="XLine"/> entity.
8
        /// </summary>
9
        /// <remarks>
10
        /// Object name <see cref="DxfFileToken.EntityXline"/> <br/>
11
        /// Dxf class name <see cref="DxfSubclassMarker.XLine"/>
12
        /// </remarks>
13
        [DxfName(DxfFileToken.EntityXline)]
14
        [DxfSubClass(DxfSubclassMarker.XLine)]
15
        public class XLine : Entity
16
        {
17
                /// <summary>
18
                /// Unit direction vector(in WCS).
19
                /// </summary>
20
                [DxfCodeValue(11, 21, 31)]
21
                public XYZ Direction { get; set; }
1,532✔
22

23
                /// <summary>
24
                /// First point(in WCS).
25
                /// </summary>
26
                [DxfCodeValue(10, 20, 30)]
27
                public XYZ FirstPoint { get; set; }
1,532✔
28

29
                /// <inheritdoc/>
30
                public override string ObjectName => DxfFileToken.EntityXline;
949✔
31

32
                /// <inheritdoc/>
33
                public override ObjectType ObjectType => ObjectType.XLINE;
1✔
34

35
                /// <inheritdoc/>
36
                public override string SubclassMarker => DxfSubclassMarker.XLine;
2,510✔
37

38
                /// <inheritdoc/>
39
                public override void ApplyTransform(Transform transform)
40
                {
×
41
                        this.FirstPoint = transform.ApplyTransform(this.FirstPoint);
×
NEW
42
                        this.Direction = transform.ApplyRotation(this.Direction);
×
43
                }
×
44

45
                /// <inheritdoc/>
46
                public override BoundingBox GetBoundingBox()
47
                {
1✔
48
                        return BoundingBox.Infinite;
1✔
49
                }
1✔
50
        }
51
}
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