|
vtlib library
|

Public Member Functions | |
| bool | FindClosestUtilNode (const DPoint2 &point, double error, vtRoute *&route, vtUtilNode *&node, double &closest) |
vtRouteMap is a container for a set of vtRoute objects.
| 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.
1.8.2