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

DomCR / ACadSharp / 14214082189

02 Apr 2025 07:34AM UTC coverage: 75.523% (-0.8%) from 76.343%
14214082189

Pull #457

github

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

5606 of 8150 branches covered (68.79%)

Branch coverage included in aggregate %.

282 of 716 new or added lines in 47 files covered. (39.39%)

318 existing lines in 23 files now uncovered.

22348 of 28864 relevant lines covered (77.43%)

72757.24 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
                                /// <inheritdoc/>
NEW
14
                                public override EdgeType Type => EdgeType.Spline;
×
15

16
                                /// <summary>
17
                                /// Degree.
18
                                /// </summary>
19
                                [DxfCodeValue(94)]
UNCOV
20
                                public int Degree { get; set; }
×
21

22
                                /// <summary>
23
                                /// Rational.
24
                                /// </summary>
25
                                [DxfCodeValue(73)]
UNCOV
26
                                public bool Rational { get; set; }
×
27

28
                                /// <summary>
29
                                /// Periodic.
30
                                /// </summary>
31
                                [DxfCodeValue(74)]
NEW
32
                                public bool Periodic { get; set; }
×
33

34
                                /// <summary>
35
                                /// Number of knots.
36
                                /// </summary>
37
                                [DxfCodeValue(95)]
UNCOV
38
                                public List<double> Knots { get; set; } = new List<double>();
×
39

40
                                /// <remarks>
41
                                /// Position values are only X and Y, Z represents the weight.
42
                                /// </remarks>
43
                                [DxfCodeValue(96)]
44
                                //42        Weights(optional, default = 1)        ??
NEW
45
                                public List<XYZ> ControlPoints { get; set; } = new List<XYZ>();
×
46

47
                                /// <remarks>
48
                                /// Number of fit data.
49
                                /// </remarks>
50
                                [DxfCodeValue(97)]
NEW
51
                                public List<XY> FitPoints { get; set; } = new List<XY>();
×
52

53
                                /// <summary>
54
                                /// Start tangent.
55
                                /// </summary>
56
                                [DxfCodeValue(12, 22)]
UNCOV
57
                                public XY StartTangent { get; set; }
×
58

59
                                /// <summary>
60
                                /// End tangent.
61
                                /// </summary>
62
                                [DxfCodeValue(13, 23)]
NEW
63
                                public XY EndTangent { get; set; }
×
64

65
                                /// <inheritdoc/>
66
                                public override BoundingBox GetBoundingBox()
NEW
67
                                {
×
NEW
68
                                        return BoundingBox.FromPoints(this.ControlPoints);
×
NEW
69
                                }
×
70
                        }
71
                }
72
        }
73
}
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