11 #include <Eigen/Geometry>
16 template<
typename Scalar>
23 Matrix3
m(AngleAxisx(ea[0], Vector3::Unit(
i)) * AngleAxisx(ea[1], Vector3::Unit(
j)) * AngleAxisx(ea[2], Vector3::Unit(k)));
25 Matrix3 mbis(AngleAxisx(eabis[0], Vector3::Unit(
i)) * AngleAxisx(eabis[1], Vector3::Unit(
j)) * AngleAxisx(eabis[2], Vector3::Unit(k)));
30 VERIFY((ea-eabis).norm() <= test_precision<Scalar>());
69 q1 = AngleAxisx(
a, Vector3::Random().normalized());
75 ea =
m.eulerAngles(0,1,0);
79 q1.coeffs() = Quaternionx::Coefficients::Random().normalized();
81 ea =
m.eulerAngles(0,1,2);
83 ea =
m.eulerAngles(0,1,0);
87 ea = (Array3::Random() + Array3(1,0,0))*
Scalar(
EIGEN_PI)*Array3(0.5,1,1);