4 Data Structures

4 Parametric Points

QuickDraw3D defines the TQ3Param2D and TQ3Param3D data structures to represent two- and three-dimensional parametric points.

typedef struct TQ3Param2D {
 float    u;
 float    v;
} TQ3Param2D;
typedef struct TQ3Param3D {
 float    u;
 float    v;
 float    w;
} TQ3Param3D;
u The u component of a parametric point.
v The v component of a parametric point.
w The w component of a parametric point.
The u, v, and w components are sometimes represented by the letters s, t, and u, respectively. This book always uses u, v, and w.<8bat>u


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