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
VectorXdGetByIndex (MotionDerivative deriv)
 Read and write either position, velocity of acceleration by index. More...
 
const VectorXd GetByIndex (MotionDerivative deriv) const
 Read 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 (const VectorXd &p)
 Constructs object with position p, zeroing velocity and acc. More...
 
 StateLinXd (const VectorXd &p, const VectorXd &v, const VectorXd &a)
 Constructs object with specific position, velocity and acceleration. More...
 
 StateLinXd (int _dim=0)
 Constructs an object of dimensions _dim. 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 155 of file state.h.

Constructor & Destructor Documentation

◆ StateLin3d() [1/2]

xpp::StateLin3d::StateLin3d ( )
inline

Definition at line 157 of file state.h.

◆ StateLin3d() [2/2]

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

Definition at line 109 of file state.cc.

◆ ~StateLin3d()

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

Definition at line 159 of file state.h.

Member Function Documentation

◆ Get2D()

StateLin2d xpp::StateLin3d::Get2D ( ) const

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

Definition at line 119 of file state.cc.


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


xpp_states
Author(s): Alexander W. Winkler
autogenerated on Wed Mar 2 2022 01:14:14