PathEngine home previous: iGround::get3DFaceAttribute()next: iGround::get3DFaceNormal()
Contents, API Reference, Interfaces, iGround, get3DFaceConnection

iGround::get3DFaceConnection()

Description

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

Syntax

int32_t get3DFaceConnection(int32_t faceIndex, int32_t edgeIndexInFace) 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().)
edgeIndexInFace Value must be 0, 1 or 2.

Return Value

If a face connects to the specified edge then an index for the connected face, otherwise -1.

Remarks

The edge index parameter selects the edge starting with the vertex selected by the same index in iGround::get3DFaceVertex().

See Also

iGround::getNumberOf3DFaces(), iGround::get3DFaceVertex()

C# Mapping

int get3DFaceConnection(int faceIndex, int edgeIndexInFace);

Java Mapping

int get3DFaceConnection(int faceIndex, int edgeIndexInFace);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iGround::get3DFaceNormal()