4 Creating and Editing NURB Patches

4 Q3NURBPatch_SetVKnot

You can use the Q3NURBPatch_SetVKnot function to set the value of a knot in the v parametric direction.

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

DESCRIPTION


The Q3NURBPatch_SetVKnot 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 vKnots array of v 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