Public Member Functions | List of all members
xpp::StateLin3d Class Reference

#include <state.h>

Inheritance diagram for xpp::StateLin3d:
Inheritance graph
[legend]

Public Member Functions

StateLin2d Get2D () const
 Extracts only the 2-dimensional part (x,y) from this 3-D state. More...
 
 StateLin3d ()
 
 StateLin3d (const StateLinXd &)
 
virtual ~StateLin3d ()
 
- Public Member Functions inherited from xpp::StateLinXd
const VectorXd GetByIndex (MotionDerivative deriv) const
 Read either position, velocity of acceleration by index. More...
 
VectorXdGetByIndex (MotionDerivative deriv)
 Read and write either position, velocity of acceleration by index. More...
 
bool operator!= (const StateLinXd &other) const
 Returns true if just one value in this state differs from other. More...
 
bool operator== (const StateLinXd &other) const
 Returns true if this state has all same pos,vel and acc as other. More...
 
 StateLinXd (int _dim=0)
 Constructs an object of dimensions _dim. More...
 
 StateLinXd (const VectorXd &p, const VectorXd &v, const VectorXd &a)
 Constructs object with specific position, velocity and acceleration. More...
 
 StateLinXd (const VectorXd &p)
 Constructs object with position p, zeroing velocity and acc. More...
 
virtual ~StateLinXd ()=default
 

Additional Inherited Members

- Public Attributes inherited from xpp::StateLinXd
VectorXd a_
 position, velocity and acceleration More...
 
int kNumDim = 0
 the number of dimenions this state represents. More...
 
VectorXd p_
 
VectorXd v_
 

Detailed Description

Definition at line 128 of file state.h.

Constructor & Destructor Documentation

xpp::StateLin3d::StateLin3d ( )
inline

Definition at line 130 of file state.h.

xpp::StateLin3d::StateLin3d ( const StateLinXd state_xd)

Definition at line 82 of file state.cc.

virtual xpp::StateLin3d::~StateLin3d ( )
inlinevirtual

Definition at line 132 of file state.h.

Member Function Documentation

StateLin2d xpp::StateLin3d::Get2D ( ) const

Extracts only the 2-dimensional part (x,y) from this 3-D state.

Definition at line 92 of file state.cc.


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


xpp_states
Author(s): Alexander W. Winkler
autogenerated on Tue Dec 8 2020 03:10:29