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



Helper function for obtaining coordinates of vertices in the shape.


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


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.


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.

C# Mapping

void vertex(int index, out int x, out int y);

Java Mapping

void vertex(int index, int_OutArgument x, int_OutArgument y);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: Interface iMesh