4 Creating and Editing General Polygons

4 Q3GeneralPolygon_SetVertexPosition

You can use the Q3GeneralPolygon_SetVertexPosition function to set the position of a vertex of a general polygon.

TQ3Status Q3GeneralPolygon_SetVertexPosition (
TQ3GeometryObject generalPolygon, 
unsigned long contourIndex, 
unsigned long pointIndex, 
const TQ3Point3D *position);
generalPolygon
A general polygon.
contourIndex An index into the contours array of the specified general polygon.
pointIndex An index into the vertices array of the specified contour.
position The desired position of the specified vertex.

DESCRIPTION


The Q3GeneralPolygon_SetVertexPosition function sets 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 to the position specified in the position parameter.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker