4 Traversing Mesh Components, Vertices, Faces, and Edges

4 Q3Mesh_NextComponentVertex

You can use the Q3Mesh_NextComponentVertex function to get the next vertex in a mesh component.

TQ3MeshVertex Q3Mesh_NextComponentVertex (
TQ3MeshIterator *iterator);
iterator A pointer to a mesh iterator structure.

DESCRIPTION


The Q3Mesh_NextComponentVertex function returns, as its function result, the next vertex in the iteration specified by the iterator parameter, which must have been filled in by a previous call to Q3Mesh_FirstComponentVertex or Q3Mesh_NextComponentVertex. If there are no more vertices, this function returns NULL.

SPECIAL CONSIDERATIONS


The Q3Mesh_NextComponentVertex function might not accurately report the next 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