vtlib library
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
vtRouteMap Class Reference
Inheritance diagram for vtRouteMap:
Inheritance graph
[legend]

Public Member Functions

bool FindClosestUtilNode (const DPoint2 &point, double error, vtRoute *&route, vtUtilNode *&node, double &closest)
 

Detailed Description

vtRouteMap is a container for a set of vtRoute objects.

Member Function Documentation

bool vtRouteMap::FindClosestUtilNode ( const DPoint2 point,
double  error,
vtRoute *&  found_route,
vtUtilNode *&  found_node,
double &  closest 
)

Find the util node which is closest to the given point, if it is within 'error' distance. The node and distance are returned by reference.