PathEngine home previous: iAgent::getMesh()next: iAgent::getPosition()
Contents, API Reference, Interfaces, iAgent, getNumberOfVertices

iAgent::getNumberOfVertices()

Description

A helper function for access to underlying agent geometry, e.g. for debug rendering.

Syntax

int32_t getNumberOfVertices() const;

Return Value

The number of vertices in the agent shape.

Remarks

Certain agents do not have an iShape instance, for example agents that have been constructed with iMesh::placeLargeStaticObstacle(), and this helper function is then provided for more general access to underlying geometry that does not depend on an iShape instance.

See Also

iAgent::getVertexCoordinates()

C# Mapping

int getNumberOfVertices();

Java Mapping

int getNumberOfVertices();

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iAgent::getPosition()