4 Creating and Editing NURB Curves

4 Q3NURBCurve_SetKnot

You can use the Q3NURBCurve_SetKnot function to set a knot of a NURB curve.

TQ3Status Q3NURBCurve_SetKnot (
TQ3GeometryObject curve, 
unsigned long knotIndex, 
float knotValue);
curve A NURB curve.
knotIndex An index into the knots array of knots for the specified NURB curve.
knotValue The desired value of the specified knot of the specified NURB curve.

DESCRIPTION


The Q3NURBCurve_SetKnot function sets the value of the knot having the index specified by the knotIndex parameter in the knots array of the NURB curve specified by the curve parameter to the value specified in the knotValue parameter.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker