PathEngine home previous: iMesh::get3DFaceNormal()next: iMesh::get3DFaceVertexIndexInMesh()
Contents, API Reference, Interfaces, iMesh, get3DFaceVertex

iMesh::get3DFaceVertex()

Description

Helper function providing access to the geometry of the underlying 3D mesh.

Syntax

void get3DFaceVertex(int32_t faceIndex, int32_t vertexIndexInFace, int32_t& x, int32_t& y, float& z) const;

Parameters

faceIndex The (zero based) index of the face in which to look up vertex geometry.
(Must be positive and less than the value returned by iMesh::getNumberOf3DFaces().)
vertexIndexInFace Value must be 0, 1 or 2.
x Returns the vertex x coordinate.
y Returns the vertex y coordinate.
z Returns the vertex z coordinate.

See Also

iMesh::getNumberOf3DFaces(), iMesh::get3DFaceConnection()

C# Mapping

void get3DFaceVertex(int faceIndex, int vertexIndexInFace, out int x, out int y, out float z);

Java Mapping

void get3DFaceVertex(int faceIndex, int vertexIndexInFace, int_OutArgument x, int_OutArgument y, float_OutArgument z);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iMesh::get3DFaceVertexIndexInMesh()