Biorbd
SpatialVector.cpp
1 #define BIORBD_API_EXPORTS
2 #include "Utils/SpatialVector.h"
3 
4 #include "Utils/Error.h"
5 #include "Utils/String.h"
6 #include "Utils/Vector3d.h"
7 
9  RigidBodyDynamics::Math::SpatialVector()
10 {
11 
12 }
13 
15  const biorbd::utils::SpatialVector& other) :
16  RigidBodyDynamics::Math::SpatialVector (other)
17 {
18 
19 }
20 
22  Scalar v1, Scalar v2, Scalar v3,
23  Scalar v4, Scalar v5, Scalar v6) :
24  RigidBodyDynamics::Math::SpatialVector (v1, v2, v3, v4, v5, v6)
25 {
26 
27 }
28 
29 #ifdef BIORBD_USE_CASADI_MATH
30 
32  const casadi::MX &v) :
33  RigidBodyDynamics::Math::SpatialVector(v)
34 {
35 
36 }
37 
39  const RBDLCasadiMath::MX_Xd_SubMatrix &m) :
40  RigidBodyDynamics::Math::SpatialVector (m)
41 {
42 
43 }
44 
45 #endif
46 
48  const biorbd::utils::SpatialVector &other)
49 {
50  this->RigidBodyDynamics::Math::SpatialVector::operator=(other);
51 }
52 
53 #ifdef BIORBD_USE_CASADI_MATH
54 
56  const RBDLCasadiMath::MX_Xd_SubMatrix& other)
57 {
58  this->RigidBodyDynamics::Math::SpatialVector::operator=(other);
59 }
60 
62  const casadi::MX &other)
63 {
64  this->RigidBodyDynamics::Math::SpatialVector::operator=(other);
65 }
66 
67 #endif
biorbd::utils::SpatialVector
Wrapper of the Eigen::Matrix<double, 6, 1> or Casadi::MX(6, 1)
Definition: SpatialVector.h:19
biorbd::utils::SpatialVector::SpatialVector
SpatialVector()
Construct SpatialVector.
Definition: SpatialVector.cpp:8
biorbd::utils::SpatialVector::operator=
void operator=(const biorbd::utils::SpatialVector &other)
operator= For submatrices
Definition: SpatialVector.cpp:47