The definition of a state (u,v) in the Klein bottle state space. A state is represented as a cylinder with height u in the interval [0, Pi] and angle v in the interval [-Pi, Pi] as in the discussion here: https://en.wikipedia.org/wiki/Klein_bottle#Construction. More...
#include <ompl/base/spaces/special/KleinBottleStateSpace.h>

Public Member Functions | |
double | getU () const |
Access U, the height of the cylinder. | |
double | getV () const |
Access V, the angle of the cylinder. | |
void | setU (double u) |
Set U, the height of the cylinder. | |
void | setV (double v) |
Set V, the angle of the cylinder. | |
void | setUV (double u, double v) |
![]() | |
template<class T > | |
const T * | as (unsigned int index) const |
Cast a component of this instance to a desired type. More... | |
template<class T > | |
T * | as (const unsigned int index) |
Cast a component of this instance to a desired type. More... | |
const State * | operator[] (unsigned int i) const |
Access const element ith component. This does not check whether the index is within bounds. | |
State * | operator[] (unsigned int i) |
Access element ith component. This does not check whether the index is within bounds. | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
State ** | components {nullptr} |
The components that make up a compound state. | |
Detailed Description
The definition of a state (u,v) in the Klein bottle state space. A state is represented as a cylinder with height u in the interval [0, Pi] and angle v in the interval [-Pi, Pi] as in the discussion here: https://en.wikipedia.org/wiki/Klein_bottle#Construction.
This cylinder is then glued together (mapped) internally to provide correct distance and interpolation functions.
Definition at line 150 of file KleinBottleStateSpace.h.
The documentation for this class was generated from the following file:
- ompl/base/spaces/special/KleinBottleStateSpace.h