PathEngine home previous: iAgent::getTraverseCost()next: iAgent::getUserData()
Contents, API Reference, Interfaces, iAgent, getTraverseCostDirection

iAgent::getTraverseCostDirection()

Description

A helper function which can be used to determine whether a direction has been associated with a soft obstacle, and retrieve the direction.

Syntax

void getTraverseCostDirection(tSigned32& directionVectorX, tSigned32& directionVectorY) const;

Parameters

directionVectorX Returns the x component of the direction vector.
directionVectorY Returns the y component of the direction vector.

See Also

iAgent::setTraverseCostDirection()
Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEnginenext: iAgent::getUserData()