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

iFaceVertexMesh::vertexIndex()

Description

Enables you to obtain the indices of vertices around a given face.

Syntax

int32_t vertexIndex(int32_t face, int32_t vertexInFace) const;

Parameters

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.

Remarks

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.04 - Copyright © 2002-2024 PathEnginenext: iFaceVertexMesh::vertexX()