DART  6.7.3
dart::dynamics::PointMass::State Struct Reference

State for each PointMass. More...

#include <PointMass.hpp>

Public Member Functions

 State (const Eigen::Vector3d &positions=Eigen::Vector3d::Zero(), const Eigen::Vector3d &velocities=Eigen::Vector3d::Zero(), const Eigen::Vector3d &accelerations=Eigen::Vector3d::Zero(), const Eigen::Vector3d &forces=Eigen::Vector3d::Zero())
 Default constructor. More...
 
bool operator== (const State &other) const
 
virtual ~State ()=default
 

Public Attributes

Eigen::Vector3d mPositions
 Position. More...
 
Eigen::Vector3d mVelocities
 Generalized velocity. More...
 
Eigen::Vector3d mAccelerations
 Generalized acceleration. More...
 
Eigen::Vector3d mForces
 Generalized force. More...
 

Detailed Description

State for each PointMass.

Constructor & Destructor Documentation

◆ State()

dart::dynamics::PointMass::State::State ( const Eigen::Vector3d &  positions = Eigen::Vector3d::Zero(),
const Eigen::Vector3d &  velocities = Eigen::Vector3d::Zero(),
const Eigen::Vector3d &  accelerations = Eigen::Vector3d::Zero(),
const Eigen::Vector3d &  forces = Eigen::Vector3d::Zero() 
)

Default constructor.

◆ ~State()

virtual dart::dynamics::PointMass::State::~State ( )
virtualdefault

Member Function Documentation

◆ operator==()

bool dart::dynamics::PointMass::State::operator== ( const State other) const

Member Data Documentation

◆ mAccelerations

Eigen::Vector3d dart::dynamics::PointMass::State::mAccelerations

Generalized acceleration.

◆ mForces

Eigen::Vector3d dart::dynamics::PointMass::State::mForces

Generalized force.

◆ mPositions

Eigen::Vector3d dart::dynamics::PointMass::State::mPositions

Position.

◆ mVelocities

Eigen::Vector3d dart::dynamics::PointMass::State::mVelocities

Generalized velocity.