PathEngine home previous: iShape::size()next: Interface iMesh
Contents, API Reference, Interfaces, iShape, vertex

iShape::vertex()

Description

Helper function for obtaining coordinates of vertices in the shape.

Syntax

void vertex(tSigned32 index, tSigned32& x, tSigned32& y) const;

Parameters

index Index of the vertex for which to obtain coordinates.
x This will be set to the x coordinate of the vertex.
y This will be set to the y coordinate of the vertex.

Remarks

The coordinates are relative to the shape origin.
Note that the order of vertices may differ from the order used when initially creating the shape.


Documentation for PathEngine release 5.29 - Copyright © 2002-2012 PathEnginenext: Interface iMesh