Loading...
Searching...
No Matches
ompl::base::MobiusStateSpace::StateType Class Reference

The definition of a state (u,v) in the Mobius strip state space. The variable u is the position on the center circle in the interval [-Pi, Pi] The variable v is the position along the width in the interval [-intervalMax, intervalMax]. More...

#include <ompl/base/spaces/special/MobiusStateSpace.h>

Inheritance diagram for ompl::base::MobiusStateSpace::StateType:

Public Member Functions

double getU () const
double getV () const
void setU (double u)
void setV (double v)
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.
template<class T>
T * as (const unsigned int index)
 Cast a component of this instance to a desired type.
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.
template<class T>
T * as ()
 Cast this instance to a desired type.

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 Mobius strip state space. The variable u is the position on the center circle in the interval [-Pi, Pi] The variable v is the position along the width in the interval [-intervalMax, intervalMax].

Definition at line 60 of file MobiusStateSpace.h.

Member Function Documentation

◆ getU()

double ompl::base::MobiusStateSpace::StateType::getU ( ) const
inline

Definition at line 65 of file MobiusStateSpace.h.

◆ getV()

double ompl::base::MobiusStateSpace::StateType::getV ( ) const
inline

Definition at line 69 of file MobiusStateSpace.h.

◆ setU()

void ompl::base::MobiusStateSpace::StateType::setU ( double u)
inline

Definition at line 74 of file MobiusStateSpace.h.

◆ setUV()

void ompl::base::MobiusStateSpace::StateType::setUV ( double u,
double v )
inline

Definition at line 82 of file MobiusStateSpace.h.

◆ setV()

void ompl::base::MobiusStateSpace::StateType::setV ( double v)
inline

Definition at line 78 of file MobiusStateSpace.h.


The documentation for this class was generated from the following file: