CALL PBSC3(SORD, NKA, KNOTS, PARL, RTYPE, NCP, PXA, PYA, PZA, PWA)
INPUT PARAMETERS
This function specifies the non-uniform B-spline curve primitive.
The NON-UNIFORM B-SPLINE CURVE 3 element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on the edit mode value. Element pointer is updated and points to the NON-UNIFORM B-SPLINE CURVE 3 structure element. The values specified in the function are associated with the element.
The spline order must be a positive integer. The knots must form a non-decreasing sequence of numbers.
The RTYPE parameter may have the value PRAT or PNRAT. When PRAT is specified the control points are specified as homogeneous modelling coordinates (PXA,PYA,PZA,PWA), with the restriction that the fourth coordinate be greater than zero. When PNRAT is specified the control points are non-homogeneous PHIGS modelling coordinates (PXA,PYA,PZA).
The number of control points must be at least as large as the order. The number of control points plus the spline order must equal the number of knots.
The parameter range limit values, PARL(1) and PARL(2), specify over what range the B-spline curve is generated. PARL(1) must be less than PARL(2). PARL(1)must be greater than or equal to the SORD-th knot value. PARL(2) must be less than or equal to the (NKA+ 1 - SORD) - th knot value .
When an element of this type is interpreted a non-uniform B-spline curve is generated for the parameter values between tmin an tmax. No curve is generated if the curve order is not supported. The current values of the non-uniform B-spline curve attributes specified in and stored in the traversal state list are bound to the primitive.
Attributes associated with Non-Uniform B-Spline Curve 3 :
LINETYPE
LINEWIDTH SCALE FACTOR
LINE COLOUR
CURVE APPROXIMATION CRITERIA
If used in NRS mode, the effect of this function is different from the effect described in the standard.
In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened.
open structure, open pipe (ext), non-uniform b-spline curve 3 with colour, polyline, set curve approximation criteria, inquire current element content, inquire current element type and size