AURobotServers  4
Public Member Functions | Public Attributes | List of all members
UAvoidVertexCost Class Reference

#include <uavoidcellgraph.h>

Public Member Functions

void print (const char *pre)
 

Public Attributes

bool avoidLeft
 
double cost
 
U2Dpos pos
 

Detailed Description

Structure holding a bad position (on the edge or vertex of an obstacle). The additional cost to pass this point by the A* algorithm, and the side the path will pass the obstacle (the other way is not affected)

Member Function Documentation

void UAvoidVertexCost::print ( const char *  pre)
inline

Print value to console

References avoidLeft, bool2str(), cost, pos, U2Dpos::x, and U2Dpos::y.

Referenced by UAvoidVertexCosts::setExtraCost().

Member Data Documentation

bool UAvoidVertexCost::avoidLeft
double UAvoidVertexCost::cost
U2Dpos UAvoidVertexCost::pos

The documentation for this class was generated from the following file: