Q3Mesh_GetComponentBoundingBox
You can use the Q3Mesh_GetComponentBoundingBox function to determine the bounding box of a component of a mesh.
TQ3Status Q3Mesh_GetComponentBoundingBox (
TQ3GeometryObject mesh,
TQ3MeshComponent component,
TQ3BoundingBox *boundingBox);
mesh
- A mesh.
component
- A mesh component.
boundingBox
- On exit, the bounding box of the specified mesh component.
DESCRIPTION
The Q3Mesh_GetComponentBoundingBox function returns, in the boundingBox parameter, the bounding box of the mesh component specified by the mesh and component parameters.
SPECIAL CONSIDERATIONS
The Q3Mesh_GetComponentBoundingBox function might not accurately report the bounding box of 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).