Loading...
Searching...
No Matches
ompl::base::SphereStateSpace::StateType Class Reference
Inheritance diagram for ompl::base::SphereStateSpace::StateType:

Public Member Functions

double getTheta () const
 
double getPhi () const
 
void setTheta (double theta)
 
void setPhi (double phi)
 
void setThetaPhi (double theta, double phi)
 
- 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

Definition at line 67 of file SphereStateSpace.h.

Member Function Documentation

◆ getPhi()

double ompl::base::SphereStateSpace::StateType::getPhi ( ) const
inline

Definition at line 76 of file SphereStateSpace.h.

◆ getTheta()

double ompl::base::SphereStateSpace::StateType::getTheta ( ) const
inline

Definition at line 72 of file SphereStateSpace.h.

◆ setPhi()

void ompl::base::SphereStateSpace::StateType::setPhi ( double  phi)
inline

Definition at line 85 of file SphereStateSpace.h.

◆ setTheta()

void ompl::base::SphereStateSpace::StateType::setTheta ( double  theta)
inline

Definition at line 81 of file SphereStateSpace.h.

◆ setThetaPhi()

void ompl::base::SphereStateSpace::StateType::setThetaPhi ( double  theta,
double  phi 
)
inline

Definition at line 89 of file SphereStateSpace.h.


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