Previous Next Up Title Contents Index Functions Index Top Library

NON-UNIFORM B-SPLINE CURVE 3 WITH COLOUR

PBSC3C


CALL SEQUENCE

CALL PBSC3C(SORD, NKA, KNOTS, PARL, RTYPE, NCP, PXA, PYA, PZA, PWA, CSCLDR, CSCREC)

INPUT PARAMETERS

INTEGER SORD
Spline order
INTEGER NKA
Number of knots
INTEGER KNOTS(NKA)
Knots
REAL PARL(2)
Parameter range limits
INTEGER RTYPE
Rationality(PRAT,PNRAT)
INTEGER NCP
Number of control points
REAL PXA(NCP)
REAL PYA(NCP)
REAL PZA(NCP)
REAL PWA(NCP)
Control points(MC)
INTEGER CSCLDR
Number of array elements used in CSREC
CHARACTER*80 CSCREC(CSCLDR)
Colour spline curve data record

PHIGS STATE

(PHOP,*,STOP,*)

EFFECT

This function specifies the non-uniform B-spline curve primitive with colour.

The NON-UNIFORM B-SPLINE CURVE 3 WITH COLOUR 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 WITH COLOR structure element. The values specified in the function are associated with the element.

Attributes associated with Non-Uniform B-Spline Curve 3 With Colour :

LINETYPE

LINEWIDTH SCALE FACTOR

LINE COLOUR

CURVE APPROXIMATION CRITERIA

See PACK COLOUR SPLINE CURVE and UNPACK COLOUR SPLINE CURVE for a description of the colour spline curve data record.

EXTENSION TO THE PHIGS STANDARD

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.

ERRORS

5
Ignoring function, function requires state (PHOP,*, STOP,*)
500
Ignoring function, the specified order is less than one
501
Ignoring function, not enough control points for the specified order
502
Ignoring function, the specified order is inconsistent with number of knots and control points
503
Ignoring function, the knot sequence is not non-decreasing
506
Ignoring function, the parameter range is inconsistent with the knots
507
Ignoring function, the fourth coordinate of a rational control point is less than or equal to zero

SEE ALSO

open structure, open pipe (ext), non-uniform b-spline curve 3, polyline, set curve approximation criteria, inquire current element content, inquire current element type and size


Previous Next Up Title Contents Index Functions Index Top Library