PathEngine home previous: iGround::get3DFaceNormal()next: iGround::getNumberOf3DFaces()
Contents, API Reference, Interfaces, iGround, get3DFaceVertex

iGround::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 iGround::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

iGround::getNumberOf3DFaces(), iGround::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: iGround::getNumberOf3DFaces()