Skip to content
Snippets Groups Projects
Commit da3a4c10 authored by jcarpent's avatar jcarpent
Browse files

[C++] Make aligned operator new for spatial struct

parent 151d30f7
Branches
Tags
No related merge requests found
......@@ -117,6 +117,7 @@ namespace se3
public:
friend class ForceBase< ForceTpl< _Scalar, _Options > >;
SPATIAL_TYPEDEF_TEMPLATE(ForceTpl);
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
ForceTpl() : m_n(), m_f() {}
......
......@@ -116,6 +116,7 @@ namespace se3
public:
friend class InertiaBase< InertiaTpl< _Scalar, _Options > >;
SPATIAL_TYPEDEF_TEMPLATE(InertiaTpl);
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
public:
// Constructors
......
......@@ -135,6 +135,7 @@ namespace se3
{
public:
SPATIAL_TYPEDEF_TEMPLATE(MotionTpl);
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
public:
......
......@@ -154,6 +154,7 @@ namespace se3
public:
friend class SE3Base< SE3Tpl< _Scalar, _Options > >;
SPATIAL_TYPEDEF_TEMPLATE(SE3Tpl);
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
SE3Tpl(): rot(), trans() {};
......
......@@ -29,6 +29,8 @@ namespace se3
typedef Eigen::Matrix<Scalar,3,3,Options> Matrix3;
typedef Eigen::Matrix<Scalar,2,2,Options> Matrix2;
typedef Eigen::Matrix<Scalar,3,2,Options> Matrix32;
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
public:
Symmetric3Tpl(): data_() {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment