- 3.0.2 rigid body dynamics module.
types.h
Go to the documentation of this file.
1 /* CPYHDR { */
2 /*
3  * This file is part of the 'iit-rbd' library.
4  * Copyright © 2015 2016, Marco Frigerio (marco.frigerio@iit.it)
5  *
6  * See the LICENSE file for more information.
7  */
8 /* } CPYHDR */
9 #ifndef IIT_RBD_TYPES_H_
10 #define IIT_RBD_TYPES_H_
11 
12 #include "rbd.h"
13 #include "InertiaMatrix.h"
14 
15 
16 namespace iit {
17 namespace rbd {
18 
19 #define TPL template<typename S>
20 
22 TPL using Force = typename Core<S>::ForceVector;
23 TPL using Mat33 = typename Core<S>::Matrix33;
24 TPL using Mat66 = typename Core<S>::Matrix66;
25 TPL using Vec3 = typename Core<S>::Vector3;
26 TPL using Vec6 = typename Core<S>::Vector6;
27 
29 
30 #undef TPL
31 
32 }
33 }
34 
35 
36 #endif
PlainMatrix< Scalar, 6, 6 > Matrix66
Definition: rbd.h:79
typename Core< S >::VelocityVector Velocity
Definition: types.h:21
typename Core< S >::Matrix33 Mat33
Definition: types.h:23
Definition: InertiaMatrix.h:25
#define TPL
Definition: types.h:19
PlainMatrix< Scalar, 3, 3 > Matrix33
Definition: rbd.h:78
typename Core< S >::Vector6 Vec6
Definition: types.h:26
typename Core< S >::Matrix66 Mat66
Definition: types.h:24
Vector6D ForceVector
a 3D subvector of a 6D vector
Definition: rbd.h:92
PlainMatrix< Scalar, 6, 1 > Vector6
Definition: rbd.h:81
typename Core< S >::ForceVector Force
Definition: types.h:22
Vector6D VelocityVector
a 3D subvector of a 6D vector
Definition: rbd.h:91
PlainMatrix< Scalar, 3, 1 > Vector3
Definition: rbd.h:80
typename Core< S >::Vector3 Vec3
Definition: types.h:25