4 Creating and Editing General Polygons
Q3GeneralPolygon_GetVertexPosition
function to get the position of a vertex of a general polygon.
TQ3Status Q3GeneralPolygon_GetVertexPosition ( TQ3GeometryObjectgeneralPolygon
, unsigned long contourIndex, unsigned long pointIndex, TQ3Point3D *position);generalPolygon
A general polygon.contourIndex
An index into thecontours
array of the specified general polygon. This index should be greater than or equal to 0 and less than the number of contours in thecontours
array.pointIndex
An index into thevertices
array of the specified contour. This index should be greater than or equal to 0 and less than the number of points in thevertices
array.position
On exit, the position of the specified vertex.
Q3GeneralPolygon_GetVertexPosition
function returns, in the position
parameter, the position of a vertex in the general polygon specified by the generalPolygon
parameter. The vertex has the index specified by the pointIndex
parameter in the vertices
array of the contour specified by the contourIndex
parameter.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker