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

iMesh::getSectionID()

Description

Returns the section ID for a given position.

Syntax

int32_t 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.

C# Mapping

int getSectionID(PathEngine.Position position);

Java Mapping

int getSectionID(Position position);

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