Points
QuickDraw 3D defines two- and three-dimensional points in the usual way, as pairs and triples of floating-point numbers. You'll use theTQ3Point3D
data type throughout the QuickDraw 3D application programming interfaces. You'll use theTQ3Point2D
data type for defining two-dimensional points.
typedef struct TQ3Point2D { float x; float y; } TQ3Point2D; typedef struct TQ3Point3D { float x; float y; float z; } TQ3Point3D;
Field Description
x
- The x coordinate (abscissa) of a point.
y
- The y coordinate (ordinate) of a point.
z
- The z coordinate of a point.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help