4 Creating and Editing Polylines

4 Q3PolyLine_GetVertexPosition

You can use the Q3PolyLine_GetVertexPosition function to get the position of a vertex of a polyline.

TQ3Status Q3PolyLine_GetVertexPosition (
TQ3GeometryObject polyLine, 
unsigned long index, 
TQ3Point3D *position);
polyLine A polyline.
index An index into the vertices array of the specified polyline. This index should be greater than or equal to 0 and less than the number of vertices in the array.
position On exit, the position of the specified vertex.

DESCRIPTION


The Q3PolyLine_GetVertexPosition function returns, in the position parameter, the position of the vertex having the index specified by the index parameter in the vertices array of the polyline specified by the polyLine 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