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

The definition of a state in Rn More...

#include <ompl/base/spaces/RealVectorStateSpace.h>

Inheritance diagram for ompl::base::RealVectorStateSpace::StateType:

Public Member Functions

double operator[] (unsigned int i) const
 Access element i of values. This does not check whether the index is within bounds.
 
double & operator[] (unsigned int i)
 Access element i of values. 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.
 

Public Attributes

double * values
 The value of the actual vector in Rn
 

Detailed Description

The definition of a state in Rn

Definition at line 77 of file RealVectorStateSpace.h.

Member Function Documentation

◆ operator[]() [1/2]

double & ompl::base::RealVectorStateSpace::StateType::operator[] ( unsigned int  i)
inline

Access element i of values. This does not check whether the index is within bounds.

Definition at line 91 of file RealVectorStateSpace.h.

◆ operator[]() [2/2]

double ompl::base::RealVectorStateSpace::StateType::operator[] ( unsigned int  i) const
inline

Access element i of values. This does not check whether the index is within bounds.

Definition at line 84 of file RealVectorStateSpace.h.

Member Data Documentation

◆ values

double* ompl::base::RealVectorStateSpace::StateType::values

The value of the actual vector in Rn

Definition at line 97 of file RealVectorStateSpace.h.


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