4 Creating and Editing NURB Curves

4 Q3NURBCurve_GetKnot

You can use the Q3NURBCurve_GetKnot function to get a knot of a NURB curve.

TQ3Status Q3NURBCurve_GetKnot (
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 On exit, the value of the specified knot of the specified NURB curve.

DESCRIPTION


The Q3NURBCurve_GetKnot function returns, in the knotValue parameter, 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.

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