#include <cartotype_navigation.h>
An iterator allowing a route to be traversed.
◆ RouteIterator()
CartoTypeCore::RouteIterator::RouteIterator |
( |
const Route & |
aRoute | ) |
|
Creates a route iterator referring to a certain route and sets it to the start of the route.
◆ Direction()
double CartoTypeCore::RouteIterator::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 CartoTypeCore::RouteIterator::Forward |
( |
double |
aDistance | ) |
|
|
inline |
Moves forward by aDistance. Returns false if the end of the path is reached, true if not.
◆ Position()
const Point & CartoTypeCore::RouteIterator::Position |
( |
| ) |
const |
|
inline |
Returns the current position in map coordinates.
The documentation for this class was generated from the following file: