Abstract definition of a path. More...
#include <Path.h>
Public Member Functions | |
virtual bool | check (void) const =0 |
Check if the path is valid. | |
const SpaceInformationPtr & | getSpaceInformation (void) const |
Get the space information associated to this class. | |
virtual double | length (void) const =0 |
Return the length of a path. | |
Path (const SpaceInformationPtr &si) | |
Constructor. A path must always know the space information it is part of. | |
virtual void | print (std::ostream &out) const =0 |
Print the path to a stream. | |
virtual | ~Path (void) |
Destructor. | |
Protected Attributes | |
SpaceInformationPtr | si_ |
The space information this path is part of. |
Abstract definition of a path.
Definition at line 59 of file Path.h.
ompl::base::Path::Path | ( | const SpaceInformationPtr & | si | ) | [inline] |
virtual ompl::base::Path::~Path | ( | void | ) | [inline, virtual] |
virtual bool ompl::base::Path::check | ( | void | ) | const [pure virtual] |
Check if the path is valid.
Implemented in ompl::control::PathControl, and ompl::geometric::PathGeometric.
const SpaceInformationPtr& ompl::base::Path::getSpaceInformation | ( | void | ) | const [inline] |
virtual double ompl::base::Path::length | ( | void | ) | const [pure virtual] |
Return the length of a path.
Implemented in ompl::control::PathControl, and ompl::geometric::PathGeometric.
virtual void ompl::base::Path::print | ( | std::ostream & | out | ) | const [pure virtual] |
Print the path to a stream.
Implemented in ompl::control::PathControl, and ompl::geometric::PathGeometric.
SpaceInformationPtr ompl::base::Path::si_ [protected] |