Home
last modified time | relevance | path

Searched refs:AngleAxisx (Results 1 – 3 of 3) sorted by relevance

/external/eigen/test/
Dgeo_eulerangles.cpp21 typedef AngleAxis<Scalar> AngleAxisx; in verify_euler() typedef
23 …Matrix3 m(AngleAxisx(ea[0], Vector3::Unit(i)) * AngleAxisx(ea[1], Vector3::Unit(j)) * AngleAxisx(e… in verify_euler()
25 …Matrix3 mbis(AngleAxisx(eabis[0], Vector3::Unit(i)) * AngleAxisx(eabis[1], Vector3::Unit(j)) * Ang… in verify_euler()
65 typedef AngleAxis<Scalar> AngleAxisx; in eulerangles() typedef
69 q1 = AngleAxisx(a, Vector3::Random().normalized()); in eulerangles()
Dgeo_transformations.cpp33 typedef AngleAxis<Scalar> AngleAxisx; in non_projective_only() typedef
47 q1 = AngleAxisx(a, v0.normalized()); in non_projective_only()
99 typedef AngleAxis<Scalar> AngleAxisx; in transformations() typedef
117 VERIFY_IS_APPROX(v0, AngleAxisx(a, v0.normalized()) * v0); in transformations()
118 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(EIGEN_PI), v0.unitOrthogonal()) * v0); in transformations()
121 VERIFY_IS_APPROX(cos(a)*v0.squaredNorm(), v0.dot(AngleAxisx(a, v0.unitOrthogonal()) * v0)); in transformations()
123 m = AngleAxisx(a, v0.normalized()).toRotationMatrix().adjoint(); in transformations()
124 VERIFY_IS_APPROX(Matrix3::Identity(), m * AngleAxisx(a, v0.normalized())); in transformations()
125 VERIFY_IS_APPROX(Matrix3::Identity(), AngleAxisx(a, v0.normalized()) * m); in transformations()
128 q1 = AngleAxisx(a, v0.normalized()); in transformations()
[all …]
Dgeo_quaternion.cpp54 typedef AngleAxis<Scalar> AngleAxisx; in quaternion() typedef
80 q1 = AngleAxisx(a, v0.normalized()); in quaternion()
81 q2 = AngleAxisx(a, v1.normalized()); in quaternion()
84 Scalar refangle = abs(AngleAxisx(q1.inverse()*q2).angle()); in quaternion()
111 AngleAxisx aa = AngleAxisx(q1); in quaternion()
120 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1); in quaternion()
163 q1 = AngleAxisx(b, v1.normalized()); in quaternion()
164 q2 = AngleAxisx(b+Scalar(EIGEN_PI), v1.normalized()); in quaternion()
167 q1 = AngleAxisx(b, v1.normalized()); in quaternion()
168 q2 = AngleAxisx(-b, -v1.normalized()); in quaternion()
[all …]