Home | History | Annotate | Download | only in test

Lines Matching full:normalized

80   q1 = AngleAxisx(a, v0.normalized());
81 q2 = AngleAxisx(a, v1.normalized());
117 && (aa.axis() - v1.normalized()).norm() < Scalar(1.99)
118 && (aa.axis() + v1.normalized()).norm() < Scalar(1.99))
124 VERIFY_IS_APPROX( v2.normalized(),(q2.setFromTwoVectors(v1, v2)*v1).normalized());
125 VERIFY_IS_APPROX( v1.normalized(),(q2.setFromTwoVectors(v1, v1)*v1).normalized());
126 VERIFY_IS_APPROX(-v1.normalized(),(q2.setFromTwoVectors(v1,-v1)*v1).normalized());
130 VERIFY_IS_APPROX( v3.normalized(),(q2.setFromTwoVectors(v1, v3)*v1).normalized());
131 VERIFY_IS_APPROX(-v3.normalized(),(q2.setFromTwoVectors(v1,-v3)*v1).normalized());
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());
141 VERIFY_IS_APPROX( v3.normalized(),(Quaternionx::FromTwoVectors(v1, v3)*v1).normalized());
142 VERIFY_IS_APPROX(-v3.normalized(),(Quaternionx::FromTwoVectors(v1,-v3)*v1).normalized());
163 q1 = AngleAxisx(b, v1.normalized());
164 q2 = AngleAxisx(b+Scalar(EIGEN_PI), v1.normalized());
167 q1 = AngleAxisx(b, v1.normalized());
168 q2 = AngleAxisx(-b, -v1.normalized());
201 mq1 = AngleAxisx(a, v0.normalized());