HomeSort by relevance Sort by last modified time
    Searched refs:AngleAxisx (Results 1 - 5 of 5) sorted by null

  /external/eigen/test/
geo_eulerangles.cpp 21 typedef AngleAxis<Scalar> AngleAxisx;
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)));
65 typedef AngleAxis<Scalar> AngleAxisx;
69 q1 = AngleAxisx(a, Vector3::Random().normalized());
geo_quaternion.cpp 54 typedef AngleAxis<Scalar> AngleAxisx;
80 q1 = AngleAxisx(a, v0.normalized());
81 q2 = AngleAxisx(a, v1.normalized());
84 Scalar refangle = abs(AngleAxisx(q1.inverse()*q2).angle());
106 AngleAxisx aa = AngleAxisx(q1);
115 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1);
154 q1 = AngleAxisx(a, v0.normalized());
155 q2 = AngleAxisx(b, v1.normalized());
158 q1 = AngleAxisx(b, v1.normalized())
    [all...]
geo_transformations.cpp 22 typedef AngleAxis<Scalar> AngleAxisx;
36 q1 = AngleAxisx(a, v0.normalized());
88 typedef AngleAxis<Scalar> AngleAxisx;
108 VERIFY_IS_APPROX(v0, AngleAxisx(a, v0.normalized()) * v0);
109 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(M_PI), v0.unitOrthogonal()) * v0);
112 VERIFY_IS_APPROX(cos(a)*v0.squaredNorm(), v0.dot(AngleAxisx(a, v0.unitOrthogonal()) * v0));
114 m = AngleAxisx(a, v0.normalized()).toRotationMatrix().adjoint();
115 VERIFY_IS_APPROX(Matrix3::Identity(), m * AngleAxisx(a, v0.normalized()));
116 VERIFY_IS_APPROX(Matrix3::Identity(), AngleAxisx(a, v0.normalized()) * m);
119 q1 = AngleAxisx(a, v0.normalized())
    [all...]
  /external/eigen/test/eigen2/
eigen2_geometry.cpp 28 typedef AngleAxis<Scalar> AngleAxisx;
70 VERIFY_IS_APPROX(v0, AngleAxisx(a, v0.normalized()) * v0);
71 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(M_PI), v0.unitOrthogonal()) * v0);
72 VERIFY_IS_APPROX(ei_cos(a)*v0.squaredNorm(), v0.eigen2_dot(AngleAxisx(a, v0.unitOrthogonal()) * v0));
73 m = AngleAxisx(a, v0.normalized()).toRotationMatrix().adjoint();
74 VERIFY_IS_APPROX(Matrix3::Identity(), m * AngleAxisx(a, v0.normalized()));
75 VERIFY_IS_APPROX(Matrix3::Identity(), AngleAxisx(a, v0.normalized()) * m);
77 q1 = AngleAxisx(a, v0.normalized());
78 q2 = AngleAxisx(a, v1.normalized());
81 Scalar refangle = ei_abs(AngleAxisx(q1.inverse()*q2).angle())
    [all...]
eigen2_geometry_with_eigen2_prefix.cpp 30 typedef eigen2_AngleAxis<Scalar> AngleAxisx;
72 VERIFY_IS_APPROX(v0, AngleAxisx(a, v0.normalized()) * v0);
73 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(M_PI), v0.unitOrthogonal()) * v0);
74 VERIFY_IS_APPROX(ei_cos(a)*v0.squaredNorm(), v0.eigen2_dot(AngleAxisx(a, v0.unitOrthogonal()) * v0));
75 m = AngleAxisx(a, v0.normalized()).toRotationMatrix().adjoint();
76 VERIFY_IS_APPROX(Matrix3::Identity(), m * AngleAxisx(a, v0.normalized()));
77 VERIFY_IS_APPROX(Matrix3::Identity(), AngleAxisx(a, v0.normalized()) * m);
79 q1 = AngleAxisx(a, v0.normalized());
80 q2 = AngleAxisx(a, v1.normalized());
83 Scalar refangle = ei_abs(AngleAxisx(q1.inverse()*q2).angle())
    [all...]

Completed in 144 milliseconds