Q3Triangle_GetData
You can use theQ3Triangle_GetDatafunction to get the data that defines a triangle and its attributes.
TQ3Status Q3Triangle_GetData ( TQ3GeometryObject triangle, TQ3TriangleData *triangleData);
triangle- A triangle.
triangleData- On exit, a pointer to a
TQ3TriangleDatastructure that contains information about the triangle specified by thetriangleparameter.DESCRIPTION
TheQ3Triangle_GetDatafunction returns, through thetriangleDataparameter, information about the triangle specified by thetriangleparameter. QuickDraw 3D allocates memory for theTQ3TriangleDatastructure internally; you must callQ3Triangle_EmptyDatato dispose of that memory.