Q3GeneralPolygon_GetVertexPosition
You can use theQ3GeneralPolygon_GetVertexPositionfunction to get the position of a vertex of a general polygon.
TQ3Status Q3GeneralPolygon_GetVertexPosition ( TQ3GeometryObject generalPolygon, unsigned long contourIndex, unsigned long pointIndex, TQ3Point3D *position);
generalPolygon- A general polygon.
contourIndex- An index into the
contoursarray of the specified general polygon. This index should be greater than or equal to 0 and less than the number of contours in thecontoursarray.pointIndex- An index into the
verticesarray of the specified contour. This index should be greater than or equal to 0 and less than the number of points in theverticesarray.position- On exit, the position of the specified vertex.
DESCRIPTION
TheQ3GeneralPolygon_GetVertexPositionfunction returns, in thepositionparameter, the position of a vertex in the general polygon specified by thegeneralPolygonparameter. The vertex has the index specified by thepointIndexparameter in theverticesarray of the contour specified by thecontourIndexparameter.