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. | |
template<class T> | |
T * | as (const unsigned int index) |
Cast a component of this instance to a desired type. | |
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. | |
template<class T> | |
T * | as () |
Cast this instance to a desired type. | |
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 82 of file KleinBottleStateSpace.h.
Member Function Documentation
◆ getU()
|
inline |
Access U, the height of the cylinder.
Definition at line 88 of file KleinBottleStateSpace.h.
◆ getV()
|
inline |
Access V, the angle of the cylinder.
Definition at line 93 of file KleinBottleStateSpace.h.
◆ setU()
|
inline |
Set U, the height of the cylinder.
Definition at line 99 of file KleinBottleStateSpace.h.
◆ setUV()
|
inline |
Definition at line 108 of file KleinBottleStateSpace.h.
◆ setV()
|
inline |
Set V, the angle of the cylinder.
Definition at line 104 of file KleinBottleStateSpace.h.
The documentation for this class was generated from the following file:
- ompl/base/spaces/special/KleinBottleStateSpace.h