ompl::base::KleinBottleStateSpace::StateType Class Reference

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>

Inheritance diagram for ompl::base::KleinBottleStateSpace::StateType:

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)
 
- Public Member Functions inherited from ompl::base::CompoundState
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 Stateoperator[] (unsigned int i) const
 Access const element ith component. This does not check whether the index is within bounds.
 
Stateoperator[] (unsigned int i)
 Access element ith component. This does not check whether the index is within bounds.
 
- Public Member Functions inherited from ompl::base::State
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

- Public Attributes inherited from ompl::base::CompoundState
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: