Searched refs:Quaternionx (Results 1 – 4 of 4) sorted by relevance
/external/eigen/test/ |
D | geo_quaternion.cpp | 53 typedef Quaternion<Scalar,Options> Quaternionx; in quaternion() typedef 71 Quaternionx q1, q2; in quaternion() 73 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs()); in quaternion() 106 Quaternionx q3(rot1.transpose()*rot1); in quaternion() 112 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1); in quaternion() 120 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1); in quaternion() 135 VERIFY_IS_APPROX( v2.normalized(),(Quaternionx::FromTwoVectors(v1, v2)*v1).normalized()); in quaternion() 136 VERIFY_IS_APPROX( v1.normalized(),(Quaternionx::FromTwoVectors(v1, v1)*v1).normalized()); in quaternion() 137 VERIFY_IS_APPROX(-v1.normalized(),(Quaternionx::FromTwoVectors(v1,-v1)*v1).normalized()); in quaternion() 141 VERIFY_IS_APPROX( v3.normalized(),(Quaternionx::FromTwoVectors(v1, v3)*v1).normalized()); in quaternion() [all …]
|
D | geo_eulerangles.cpp | 64 typedef Quaternion<Scalar> Quaternionx; in eulerangles() typedef 68 Quaternionx q1; in eulerangles() 79 q1.coeffs() = Quaternionx::Coefficients::Random().normalized(); in eulerangles()
|
D | geo_transformations.cpp | 32 typedef Quaternion<Scalar> Quaternionx; in non_projective_only() typedef 45 Quaternionx q1, q2; in non_projective_only() 98 typedef Quaternion<Scalar> Quaternionx; in transformations() typedef 127 Quaternionx q1, q2; in transformations() 142 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1); in transformations() 147 VERIFY( !(q1 * v1).isApprox(Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1) ); in transformations() 151 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1); in transformations() 155 VERIFY( !(q1 * v1).isApprox(Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1) ); in transformations() 160 Quaternionx(AngleAxisx(a,v1.normalized())).toRotationMatrix()); in transformations() 166 Quaternionx(m).toRotationMatrix()); in transformations()
|
/external/eigen/unsupported/test/ |
D | EulerAngles.cpp | 160 typedef Quaternion<Scalar> Quaternionx; in eulerangles() typedef 164 Quaternionx q1; in eulerangles() 175 q1.coeffs() = Quaternionx::Coefficients::Random().normalized(); in eulerangles()
|