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

DomCR / ACadSharp / 17737836230

15 Sep 2025 03:12PM UTC coverage: 2.092% (-76.2%) from 78.245%
17737836230

push

github

web-flow
Merge pull request #790 from DomCR/addflag-refactor

addflag refactor

141 of 9225 branches covered (1.53%)

Branch coverage included in aggregate %.

0 of 93 new or added lines in 10 files covered. (0.0%)

24910 existing lines in 372 files now uncovered.

724 of 32119 relevant lines covered (2.25%)

5.76 hits per line

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

0.0
/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)]
UNCOV
21
                public XYZ Direction { get; set; }
×
22

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

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

32
                /// <inheritdoc/>
UNCOV
33
                public override ObjectType ObjectType => ObjectType.XLINE;
×
34

35
                /// <inheritdoc/>
UNCOV
36
                public override string SubclassMarker => DxfSubclassMarker.XLine;
×
37

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

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