PathEngine home previous: iMesh::getOffMeshConnectionInfo()next: iMesh::getSurfaceType()
Contents, API Reference, Interfaces, iMesh, getSectionID

iMesh::getSectionID()

Description

Returns the section ID for a given position.

Syntax

tSigned32 getSectionID(const cPosition& position) const;

Parameters

position This must be a valid cPosition on this mesh.

Return Value

A value of -1 indicates that the position has not been assigned to a section. Otherwise a value of zero greater is returned, corresponding to the section for this position.

Remarks

Section IDs can be applied to faces by specifying the PE_FaceAttribute_SectionID face attribute when building a ground mesh.


Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEnginenext: iMesh::getSurfaceType()