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

  /external/eigen/test/
geo_quaternion.cpp 54 typedef Quaternion<Scalar,Options> Quaternionx;
72 Quaternionx q1, q2;
74 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs());
108 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1);
116 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1);
131 VERIFY_IS_APPROX( v2.normalized(),(Quaternionx::FromTwoVectors(v1, v2)*v1).normalized());
132 VERIFY_IS_APPROX( v1.normalized(),(Quaternionx::FromTwoVectors(v1, v1)*v1).normalized());
133 VERIFY_IS_APPROX(-v1.normalized(),(Quaternionx::FromTwoVectors(v1,-v1)*v1).normalized());
137 VERIFY_IS_APPROX( v3.normalized(),(Quaternionx::FromTwoVectors(v1, v3)*v1).normalized())
    [all...]
geo_eulerangles.cpp 19 typedef Quaternion<Scalar> Quaternionx;
23 Quaternionx q1;
geo_transformations.cpp 26 typedef Quaternion<Scalar> Quaternionx;
45 Quaternionx q1, q2;
97 typedef Quaternion<Scalar> Quaternionx;
123 Quaternionx q1, q2;
138 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1);
139 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1);
142 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1);
143 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1);
147 Quaternionx(AngleAxisx(a,v1.normalized())).toRotationMatrix());
153 Quaternionx(m).toRotationMatrix())
    [all...]
  /external/eigen/test/eigen2/
eigen2_geometry.cpp 27 typedef Quaternion<Scalar> Quaternionx;
57 Quaternionx q1, q2;
59 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs());
111 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1);
112 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1);
124 Quaternionx(AngleAxisx(a,v1.normalized())).toRotationMatrix());
130 Quaternionx(m).toRotationMatrix());
eigen2_geometry_with_eigen2_prefix.cpp 29 typedef eigen2_Quaternion<Scalar> Quaternionx;
59 Quaternionx q1, q2;
61 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs());
113 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1);
114 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1);
126 Quaternionx(AngleAxisx(a,v1.normalized())).toRotationMatrix());
132 Quaternionx(m).toRotationMatrix());

Completed in 90 milliseconds