|
Biorbd Release_1.13.0
|
Wrapper of the Eigen::Matrix<double, 6, 1> or Casadi::MX(6, 1). More...
#include <SpatialVector.h>
Public Member Functions | |
| SpatialVector () | |
| Construct SpatialVector. | |
| SpatialVector (const SpatialVector &other) | |
| Construct SpatialVector from Casadi SpatialVector. | |
| SpatialVector (const Vector3d &moment, const Vector3d &force) | |
| Construct SpatialVector from Casadi SpatialVector. | |
| SpatialVector (const RigidBodyDynamics::Math::SpatialVector &other) | |
| Construct SpatialVector from Casadi SpatialVector. | |
| SpatialVector (Scalar mx, Scalar my, Scalar mz, Scalar fx, Scalar fy, Scalar fz) | |
| Construct SpatialVector by its values. | |
| void | operator= (const SpatialVector &other) |
| operator= For submatrices | |
| utils::Vector3d | force () const |
| Return the force part of the vector (last three elements). | |
| utils::Vector3d | moment () const |
| Return the moment part of the vector (first three elements). | |
Wrapper of the Eigen::Matrix<double, 6, 1> or Casadi::MX(6, 1).
Definition at line 19 of file SpatialVector.h.
| utils::SpatialVector::SpatialVector | ( | ) |
Construct SpatialVector.
Definition at line 10 of file SpatialVector.cpp.
| utils::SpatialVector::SpatialVector | ( | const SpatialVector & | other | ) |
Construct SpatialVector from Casadi SpatialVector.
| other | The SpatialVector to copy |
Definition at line 13 of file SpatialVector.cpp.
Construct SpatialVector from Casadi SpatialVector.
| moment | The vector for the moment |
| force | The vector for the force |
Definition at line 20 of file SpatialVector.cpp.
| utils::SpatialVector::SpatialVector | ( | const RigidBodyDynamics::Math::SpatialVector & | other | ) |
Construct SpatialVector from Casadi SpatialVector.
| other | The SpatialVector to copy |
Definition at line 16 of file SpatialVector.cpp.
| utils::SpatialVector::SpatialVector | ( | Scalar | mx, |
| Scalar | my, | ||
| Scalar | mz, | ||
| Scalar | fx, | ||
| Scalar | fy, | ||
| Scalar | fz ) |
Construct SpatialVector by its values.
| mx | Moment about the X axis |
| my | Moment about the Y axis |
| mz | Moment about the Z axis |
| fx | Froce along the X axis |
| fy | Force along the Y axis |
| fz | Force along the Z axis |
Definition at line 31 of file SpatialVector.cpp.
| utils::Vector3d utils::SpatialVector::force | ( | ) | const |
Return the force part of the vector (last three elements).
Definition at line 67 of file SpatialVector.cpp.
| utils::Vector3d utils::SpatialVector::moment | ( | ) | const |
Return the moment part of the vector (first three elements).
Definition at line 71 of file SpatialVector.cpp.
| void utils::SpatialVector::operator= | ( | const SpatialVector & | other | ) |
operator= For submatrices
| other | The SpatialVector to copy |
Definition at line 50 of file SpatialVector.cpp.