Property NurbsData
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
NurbsData
Gets or sets the NURBS data in one value, as AutoCAD's NurbsData: degree, flags, control points, knots,
weights and the tolerances of the points (group 43) and knots (42). A spline given by its fit points alone gives
the data of the spline DxfReader passes through them, the cubic AutoCAD fits; so does one whose fit
points are not its control points, as AutoCAD reads it, the record's control points another curve.
public DxfNurbsData NurbsData { get; set; }
Property Value
- DxfNurbsData
Set, the data written as SetNurbsData(int, bool, bool, bool, IEnumerable<GeoPoint3>, IEnumerable<double>, IEnumerable<double>) writes it, its fit data taken out, and the two tolerances; data equal to the data read, number for number to the bit, changes nothing.
Exceptions
- ArgumentException
Thrown when the data set does not make a spline, as SetNurbsData(int, bool, bool, bool, IEnumerable<GeoPoint3>, IEnumerable<double>, IEnumerable<double>) says.
- ArgumentOutOfRangeException
Thrown when the degree set is below 1, a number is not finite, or a tolerance is below nought.
- InvalidOperationException
Thrown when set on a spline that is erased.