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(int32_t& directionVectorX, int32_t& 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()

C# Mapping

void getTraverseCostDirection(out int directionVectorX, out int directionVectorY);

Java Mapping

void getTraverseCostDirection(int_OutArgument directionVectorX, int_OutArgument directionVectorY);

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