Description Sets the data of a specific NURB Curve in the associated FRED document. This subroutine attempts to preserve the Umin/Umax values of the NURB curve when possible. However, the allowed parameter range defined by Umin/Umax is determined by the knot vector, so if the SetNurbCurve subroutine changes the knot vector in such a way as to restrict the parameter range the Umin/Umax values may be adjusted to stay within the allowable range. This behavior places some burden on the user to verify that the Umin/Umax values are set to the desired values.
Syntax SetNURBCurve n, entity, numTerms, order, points, knots
Parameters n As Long Node number of the NURB Curve.
entity As T_ENTITY The generic entity data for the NURB Curve.
numTerms As Long The number of control points in the NURB Curve.
order As Long The new polynomial order of the NURB Curve basis functions. Note that NURB order = degree +1.
points() As Double Array of control points and weights for the NURB Curve.
knots() As Double Array that represents the new knots for the NURB Curve.
See Also
Examples
|