ompl::base::Path Class Referenceabstract
Abstract definition of a path. More...
#include <ompl/base/Path.h>
Inheritance diagram for ompl::base::Path:
Public Member Functions | |
Path (const Path &)=delete | |
Path & | operator= (const Path &)=delete |
Path (SpaceInformationPtr si) | |
Constructor. A path must always know the space information it is part of. | |
virtual | ~Path ()=default |
Destructor. | |
const SpaceInformationPtr & | getSpaceInformation () const |
Get the space information associated to this class. | |
template<class T > | |
const T * | as () const |
Cast this instance to a desired type. More... | |
template<class T > | |
T * | as () |
Cast this instance to a desired type. More... | |
virtual double | length () const =0 |
Return the length of a path. | |
virtual Cost | cost (const OptimizationObjectivePtr &obj) const =0 |
Return the cost of the path with respect to a specified optimization objective. | |
virtual bool | check () const =0 |
Check if the path is valid. | |
virtual void | print (std::ostream &out) const =0 |
Print the path to a stream. | |
Protected Attributes | |
SpaceInformationPtr | si_ |
The space information this path is part of. | |
Detailed Description
Member Function Documentation
◆ as() [1/2]
template<class T >
|
inline |
◆ as() [2/2]
template<class T >
|
inline |
The documentation for this class was generated from the following file:
- ompl/base/Path.h