4 Traversing Mesh Components, Vertices, Faces, and Edges
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.
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.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
).
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker