PathEngine home previous: iFaceVertexMesh::faces()next: iFaceVertexMesh::vertexX()
Contents, API Reference, Interfaces, iFaceVertexMesh, vertexIndex



Returns the number of unique vertices in this object.


int32_t vertexIndex(int32_t face, int32_t vertexInFace) const;


face The (zero-based) index of the face being queried. Must be greater than or equal to zero, and less than the value returned by faces().
vertexInFace A value of 0, 1 or 2 to specify which vertex in the face is being queried.

Return Value

The (zero-based) index of the specified vertex.


The vertex index obtained by this method can then be passed in to vertexX(), vertexY(), or vertexZ(), to obtain coordinates.

C# Mapping

int vertexIndex(int face, int vertexInFace);

Java Mapping

int vertexIndex(int face, int vertexInFace);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iFaceVertexMesh::vertexX()