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

DomCR / ACadSharp / 20244298837

15 Dec 2025 07:08PM UTC coverage: 77.69% (-0.2%) from 77.847%
20244298837

push

github

web-flow
Merge pull request #919 from DomCR/image-reactor-fix

Image reactors

7578 of 10571 branches covered (71.69%)

Branch coverage included in aggregate %.

50 of 53 new or added lines in 9 files covered. (94.34%)

131 existing lines in 33 files now uncovered.

28098 of 35350 relevant lines covered (79.49%)

161916.85 hits per line

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

33.33
/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,602✔
22

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

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

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

35
                /// <inheritdoc/>
36
                public override string SubclassMarker => DxfSubclassMarker.XLine;
2,641✔
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