class
#include <iDynTree/SpatialMomentum.h>
SpatialMomentum Class representing a spatial momentum, i.e.
a 6D combination of linear and angular momentum.
Base classes
- class SpatialForceVector
- Class providing the raw coordinates for any spatial force vector, (i.e.
Constructors, destructors, conversion operators
- SpatialMomentum()
- Default constructor.
- SpatialMomentum(const LinMomentum& _linearVec3, const AngMomentum& _angularVec3)
- SpatialMomentum(const SpatialForceVector& other)
- SpatialMomentum(const SpatialMomentum& other)
Public functions
- auto operator=(const SpatialMomentum& other) -> SpatialMomentum&
- auto operator+(const SpatialMomentum& other) const -> SpatialMomentum
- auto operator-(const SpatialMomentum& other) const -> SpatialMomentum
- auto operator-() const -> SpatialMomentum
Function documentation
iDynTree:: SpatialMomentum:: SpatialMomentum()
Default constructor.
The data is not reset to the zero for perfomance reason. Please initialize the data in the class before any use.