|
Autopysta
|
Base class for different types of trajectories. More...
#include <trajectory.h>
Public Member Functions | |
| virtual point * | current ()=0 |
| Get the current point of the trajectory. | |
| virtual point * | operator[] (int idx) const =0 |
| Get a point by integer index. | |
| virtual point * | operator[] (double idx) const =0 |
| Get a point by interpolating a floating-point index. | |
Base class for different types of trajectories.
This class provides an interface for retrieving points in a trajectory. Both trajectory and static_trajectory classes inherit from this class.
|
pure virtual |
Get the current point of the trajectory.
Implemented in static_trajectory, and trajectory.
|
pure virtual |
Get a point by interpolating a floating-point index.
| idx | Floating-point index of the point. |
Implemented in static_trajectory, and trajectory.
|
pure virtual |
Get a point by integer index.
| idx | Integer index of the point. |
Implemented in static_trajectory, and trajectory.