Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing NURB Curves


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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help