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

DomCR / ACadSharp / 14223596880

02 Apr 2025 03:32PM UTC coverage: 75.482% (-0.9%) from 76.343%
14223596880

Pull #457

github

web-flow
Merge 8207ad8e0 into 04434c5d6
Pull Request #457: Geometric transform

5605 of 8152 branches covered (68.76%)

Branch coverage included in aggregate %.

264 of 713 new or added lines in 47 files covered. (37.03%)

283 existing lines in 15 files now uncovered.

22349 of 28882 relevant lines covered (77.38%)

72711.93 hits per line

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

0.0
/src/ACadSharp/Entities/Hatch.BoundaryPath.Spline.cs
1
using ACadSharp.Attributes;
2
using CSMath;
3
using System.Collections.Generic;
4

5
namespace ACadSharp.Entities
6
{
7
        public partial class Hatch
8
        {
9
                public partial class BoundaryPath
10
                {
11
                        public class Spline : Edge
12
                        {
13
                                /// <remarks>
14
                                /// Position values are only X and Y, Z represents the weight.
15
                                /// </remarks>
16
                                [DxfCodeValue(96)]
17
                                //42        Weights(optional, default = 1)        ??
NEW
18
                                public List<XYZ> ControlPoints { get; set; } = new List<XYZ>();
×
19

20
                                /// <summary>
21
                                /// Degree.
22
                                /// </summary>
23
                                [DxfCodeValue(94)]
24
                                public int Degree { get; set; }
×
25

26
                                /// <summary>
27
                                /// End tangent.
28
                                /// </summary>
29
                                [DxfCodeValue(13, 23)]
NEW
30
                                public XY EndTangent { get; set; }
×
31

32
                                /// <remarks>
33
                                /// Number of fit data.
34
                                /// </remarks>
35
                                [DxfCodeValue(97)]
NEW
36
                                public List<XY> FitPoints { get; set; } = new List<XY>();
×
37

38
                                /// <summary>
39
                                /// Number of knots.
40
                                /// </summary>
41
                                [DxfCodeValue(95)]
42
                                public List<double> Knots { get; set; } = new List<double>();
×
43

44
                                /// <summary>
45
                                /// Periodic.
46
                                /// </summary>
47
                                [DxfCodeValue(74)]
NEW
48
                                public bool Periodic { get; set; }
×
49

50
                                /// <summary>
51
                                /// Rational.
52
                                /// </summary>
53
                                [DxfCodeValue(73)]
NEW
54
                                public bool Rational { get; set; }
×
55

56
                                /// <summary>
57
                                /// Start tangent.
58
                                /// </summary>
59
                                [DxfCodeValue(12, 22)]
60
                                public XY StartTangent { get; set; }
×
61

62
                                /// <inheritdoc/>
NEW
63
                                public override EdgeType Type => EdgeType.Spline;
×
64

65
                                /// <inheritdoc/>
66
                                public override void ApplyTransform(Transform transform)
NEW
67
                                {
×
NEW
68
                                        throw new System.NotImplementedException();
×
69
                                }
70

71
                                /// <inheritdoc/>
72
                                public override BoundingBox GetBoundingBox()
73
                                {
×
74
                                        return BoundingBox.FromPoints(this.ControlPoints);
×
75
                                }
×
76
                        }
77
                }
78
        }
79
}
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