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

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

C# Mapping

int get3DFaceConnection(int faceIndex, int edgeIndexInFace);

Java Mapping

int get3DFaceConnection(int faceIndex, int edgeIndexInFace);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iMesh::get3DFaceNormal()