4 Creating and Editing NURB Patches

4 Q3NURBPatch_SetUKnot

You can use the Q3NURBPatch_SetUKnot function to set the value of a knot in the u parametric direction.

TQ3Status Q3NURBPatch_SetUKnot (
TQ3GeometryObject nurbPatch, 
unsigned long knotIndex, 
float knotValue);
nurbPatch A NURB patch.
knotIndex An index into the uKnots field of the specified NURB patch.
knotValue The desired value of the specified knot.

DESCRIPTION


The Q3NURBPatch_SetUKnot function sets the knot value of the NURB patch specified by the nurbPatch parameter having the knot index specified by the knotIndex parameter in the uKnots array of u knots to the value specified by 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