Property ControlPoints
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
ControlPoints
Gets or sets the control points (groups 10, 20, 30), in the world, a new list on each call; their count (73) with them. A spline of fit points AutoCAD reads as the cubic through them (NurbsData) gives that cubic's, as AutoCAD 2021 gave the cubic's 7 for a record of five fit points whose control point 1 was moved (its D32 c2) or that had none (c1); its Knots, Weights (none) and Degree (3) go with them.
public IReadOnlyList<GeoPoint3> ControlPoints { get; set; }
Property Value
- IReadOnlyList<GeoPoint3>
Set, the record given that cubic first where it is read as one; the points, as many as the knots ask for (their count less the degree and one) and as the weights are where the spline has some: the knots and weights are not changed with them. SetNurbsData(int, bool, bool, bool, IEnumerable<GeoPoint3>, IEnumerable<double>, IEnumerable<double>) sets points of another count with their knots. A spline of fit points has its fit data taken out with them, as SetControlPointAt(int, GeoPoint3).
Exceptions
- ArgumentNullException
Thrown when the points set are null.
- ArgumentException
Thrown when a point set is not finite, or their count disagrees with the knots or the weights, which would leave the spline no spline.
- InvalidOperationException
Thrown when set on a spline that is erased.