#include <cartotype_navigation.h>
An iterator allowing a route to be traversed.
◆ TRouteIterator()
CartoType::TRouteIterator::TRouteIterator |
( |
const CRoute & |
aRoute | ) |
|
Creates a route iterator referring to a certain route and sets it to the start of the route.
◆ Direction()
double CartoType::TRouteIterator::Direction |
( |
| ) |
const |
|
inline |
Returns the current direction in radians, clockwise from straight up, as an angle on the map, not a geodetic azimuth.
◆ Forward()
bool CartoType::TRouteIterator::Forward |
( |
double |
aDistance | ) |
|
|
inline |
Moves forward by aDistance. Returns false if the end of the path is reached, true if not.
◆ Position()
const TPoint & CartoType::TRouteIterator::Position |
( |
| ) |
const |
|
inline |
Returns the current position in map coordinates.
The documentation for this class was generated from the following file: