Q3ShapePart_GetShape
You can use theQ3ShapePart_GetShapefunction to get the shape object that contains a shape part object.
TQ3Status Q3ShapePart_GetShape ( TQ3ShapePartObject shapePartObject, TQ3ShapeObject *shapeObject);
shapePartObject- A shape part object.
shapeObject- On exit, the shape object that contains the specified shape part object.
DESCRIPTION
TheQ3ShapePart_GetShapefunction returns, in theshapeObjectparameter, the shape object that contains the shape part object specified by theshapePartObjectparameter.
- Note
- You don't need to call
Q3ShapePart_GetShapeif you've already retrieved a hit data structure by callingQ3Pick_GetHitDatabecause the containing object is specified by theobjectfield of that structure.![]()