#include <path.h>

Public Member Functions | |
| ReversePath (Path *path) | |
| Path * | copy () |
| Returns a pointer that is a new instance of this object. | |
| PathPoint | getPathPoint (double d) const |
| Returns the waypoint at distance d. | |
| std::vector< PathPoint > | getPathPoints () const |
| Returns a series of waypoints that describe the path. | |
| double | getLength () const |
| Returns the total path length. | |
| bool | isReverse (double d) const |
| Returns true if the path is moving in reverse and true otherwise. | |
| PathPoint ReversePath::getPathPoint | ( | double | d | ) | const [virtual] |
Returns the waypoint at distance d.
Returns the initial waypoint if d is less than zero and the final waypoint if d greater than the path length.
| length | along the path |
Implements navlib::Path.
References navlib::Path::getPathPoint().
1.5.5