PREFIT
- Last UpdatedJan 05, 2024
- 1 minute read
Purpose
Fits a B-Spline through the current data points using the prefit knot algorithm.
Syntax
|
PREFIT < /CENTRIPETAL > < /SCALE < /X= $N > > < /CLOSE > |
Description
The prefit algorithm selects the knot positions to ensure that the B-spline passes through all the data points. It also automatically inserts knuckles and tangent constraints where appropriate, that means, at Knuckle and Tangent points which have either been Set by the user or through interpolating other curves. If any Knuckle or Tangent points have an Angle associated with them then this is also take into account.
Command Qualifiers
|
/CENTRIPETAL |
A centripetal parameterization is used when fitting the curve. This produces a tighter fit of the curve to the data points. |
|
/CLOSE |
Close the curve that means, an extra point at the same coordinate as the first point is automatically inserted prior to fitting a curve to the points. |
|
/SCALE |
Scale the X, Y, or Z ordinates of the data points for the purpose of calculating the knot set for the curve. This option is particularly useful when the range of one of the ordinates is much larger than the other(s). |
Examples
|
PREFIT /CENTRIPETAL |