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

iMesh::get3DFaceConnection()

Description

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

Syntax

tSigned32 get3DFaceConnection(tSigned32 faceIndex, tSigned32 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 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.

Remarks

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()
Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEnginenext: iMesh::get3DFaceNormal()