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



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


int32_t get3DFaceConnection(int32_t faceIndex, int32_t edgeIndexInFace) const;


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().)
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.


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

See Also

iMesh::getNumberOf3DFaces(), iMesh::get3DFaceVertex()

C# Mapping

int get3DFaceConnection(int faceIndex, int edgeIndexInFace);

Java Mapping

int get3DFaceConnection(int faceIndex, int edgeIndexInFace);

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iMesh::get3DFaceNormal()