Table of Contents

Property Degree

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Degree

Gets or sets the degree (group 71), as AutoCAD's Degree; 3 where the record gives none, and 3, the degree of the cubic AutoCAD fits, for a spline of fit points it reads as that cubic (NurbsData): AutoCAD 2021 gave 3 for a record of fit points alone of 71 2 or 5 (its D32 c3-deg2 and c3-deg5).

public int Degree { get; set; }

Property Value

int

Set, 1 or more; a spline read as the cubic through its fit points is given that cubic's control points and knots first. A spline of control points is given, with it, a clamped uniform knot vector for the same points over the span of knots it ran over, as AutoCAD's change of degree gives one, and is no longer periodic (flags 2 and 2048 of group 70 taken off): a cubic of 5 points made of degree 4 has the knots 0, 0, 0, 0, 0, 1, 1, 1, 1, 1 over its span from 0 to

  1. Its points and weights are kept, so the curve changes with the degree. A spline given by its fit points alone has its group 71 alone set.

Exceptions

ArgumentOutOfRangeException

Thrown when the degree set is below 1.

ArgumentException

Thrown when the spline has fewer control points than the degree set and one.

InvalidOperationException

Thrown when set on a spline that is erased.