Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Meshes


Q3Mesh_GetComponentNumEdges

You can use the Q3Mesh_GetComponentNumEdges function to determine the number of edges in a component of a mesh.

TQ3Status Q3Mesh_GetComponentNumEdges (
TQ3GeometryObject mesh, 
TQ3MeshComponent component, 
unsigned long *numEdges);
mesh
A mesh.
component
A mesh component.
numEdges
On exit, the number of edges in the specified mesh component.
DESCRIPTION
The Q3Mesh_GetComponentNumEdges function returns, in the numEdges parameter, the number of edges in the mesh component specified by the mesh and component parameters.

SPECIAL CONSIDERATIONS
The Q3Mesh_GetComponentNumEdges function might not accurately report the number of edges 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).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help