- Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
- Chapter 4 - Geometric Objects / Geometric Objects Reference
- Geometric Objects Routines / Traversing Mesh Components, Vertices, Faces, and Edges
Q3Mesh_FirstComponentVertex
You can use the Q3Mesh_FirstComponentVertex function to get the first vertex in a mesh component.
TQ3MeshVertex Q3Mesh_FirstComponentVertex (
TQ3MeshComponent component,
TQ3MeshIterator *iterator);
component
- A mesh component.
iterator
- A pointer to a mesh iterator structure.
DESCRIPTION
The Q3Mesh_FirstComponentVertex function returns, as its function result, the first vertex in the mesh component specified by the component parameter. The iterator parameter is a pointer to a mesh iterator structure that Q3Mesh_FirstComponentVertex fills in before returning. You should pass the address of that structure to the Q3Mesh_NextComponentVertex function.
SPECIAL CONSIDERATIONS
The Q3Mesh_FirstComponentVertex function might not accurately report the first vertex in a mesh component if called while mesh updating is delayed (that is, after a call to Q3Mesh_DelayUpdates but before the matching call to Q3Mesh_ResumeUpdates).
© Apple Computer, Inc.
11 JUL 1996