Q3Polygon_GetData
You can use theQ3Polygon_GetDatafunction to get the data that defines a simple polygon and its attributes.
TQ3Status Q3Polygon_GetData ( TQ3GeometryObject polygon, TQ3PolygonData *polygonData);
polygon- A simple polygon.
polygonData- On exit, a pointer to a
TQ3PolygonDatastructure that contains information about the simple polygon specified by thepolygonparameter.DESCRIPTION
TheQ3Polygon_GetDatafunction returns, through thepolygonDataparameter, information about the simple polygon specified by thepolygonparameter. QuickDraw 3D allocates memory for theTQ3PolygonDatastructure internally; you must callQ3Polygon_EmptyDatato dispose of that memory.