#include <mobility/WaypointRange.h>

Public Member Functions | |
| WaypointRange () | |
| Default constructor. | |
| virtual | ~WaypointRange () |
| Virtual destructor. | |
| virtual Position | next (const Position &p)=0 |
| Obtain the next waypoint. | |
Definition at line 44 of file WaypointRange.h.
Obtain the next waypoint.
For many derived classes, this will be independent of the current position. Some might have a requirement that, in a complex domain, the new waypoint is reachable from the previous one by a straight-line path.
| p | The previous waypoint |
Implemented in Mobility::ParallelogramWaypointRange, and Mobility::RectangularAlignedWaypointRange.
Referenced by Mobility::RandomWaypointNode::setWaypoint().
1.5.4