4 Traversing Mesh Components, Vertices, Faces, and Edges

4 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).

DESCRIPTION
SPECIAL CONSIDERATIONS

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