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

  /external/eigen/test/
geo_quaternion.cpp 53 typedef Quaternion<Scalar,Options> Quaternionx;
71 Quaternionx q1, q2;
73 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs());
106 Quaternionx q3(rot1.transpose()*rot1);
112 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1);
120 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1);
135 VERIFY_IS_APPROX( v2.normalized(),(Quaternionx::FromTwoVectors(v1, v2)*v1).normalized());
136 VERIFY_IS_APPROX( v1.normalized(),(Quaternionx::FromTwoVectors(v1, v1)*v1).normalized());
137 VERIFY_IS_APPROX(-v1.normalized(),(Quaternionx::FromTwoVectors(v1,-v1)*v1).normalized())
    [all...]
geo_eulerangles.cpp 64 typedef Quaternion<Scalar> Quaternionx;
68 Quaternionx q1;
79 q1.coeffs() = Quaternionx::Coefficients::Random().normalized();
geo_transformations.cpp 32 typedef Quaternion<Scalar> Quaternionx;
45 Quaternionx q1, q2;
98 typedef Quaternion<Scalar> Quaternionx;
127 Quaternionx q1, q2;
142 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1);
147 VERIFY( !(q1 * v1).isApprox(Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1) );
151 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1);
155 VERIFY( !(q1 * v1).isApprox(Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1) );
160 Quaternionx(AngleAxisx(a,v1.normalized())).toRotationMatrix());
166 Quaternionx(m).toRotationMatrix())
    [all...]
  /external/eigen/unsupported/test/
EulerAngles.cpp 160 typedef Quaternion<Scalar> Quaternionx;
164 Quaternionx q1;
175 q1.coeffs() = Quaternionx::Coefficients::Random().normalized();

Completed in 1042 milliseconds