Home
last modified time | relevance | path

Searched refs:Vector3 (Results 1 – 10 of 10) sorted by relevance

/external/eigen/unsupported/Eigen/src/EulerAngles/
DEulerAngles.h121 typedef Matrix<Scalar,3,1> Vector3; /*!< the equivalent 3 dimension vector type */ typedef
126 static Vector3 AlphaAxisVector() { in AlphaAxisVector()
127 const Vector3& u = Vector3::Unit(System::AlphaAxisAbs - 1); in AlphaAxisVector()
132 static Vector3 BetaAxisVector() { in BetaAxisVector()
133 const Vector3& u = Vector3::Unit(System::BetaAxisAbs - 1); in BetaAxisVector()
138 static Vector3 GammaAxisVector() { in GammaAxisVector()
139 const Vector3& u = Vector3::Unit(System::GammaAxisAbs - 1); in GammaAxisVector()
144 Vector3 m_angles;
212 const Vector3& angles() const { return m_angles; } in angles()
214 Vector3& angles() { return m_angles; } in angles()
/external/eigen/test/
Dgeo_eulerangles.cpp20 typedef Matrix<Scalar,3,1> Vector3; in verify_euler() typedef
23 …Matrix3 m(AngleAxisx(ea[0], Vector3::Unit(i)) * AngleAxisx(ea[1], Vector3::Unit(j)) * AngleAxisx(e… in verify_euler()
24 Vector3 eabis = m.eulerAngles(i, j, k); in verify_euler()
25 …trix3 mbis(AngleAxisx(eabis[0], Vector3::Unit(i)) * AngleAxisx(eabis[1], Vector3::Unit(j)) * Angle… in verify_euler()
62 typedef Matrix<Scalar,3,1> Vector3; in eulerangles() typedef
69 q1 = AngleAxisx(a, Vector3::Random().normalized()); in eulerangles()
73 Vector3 ea = m.eulerAngles(0,1,2); in eulerangles()
Dgeo_orthomethods.cpp23 typedef Matrix<Scalar,3,1> Vector3; in orthomethods_3() typedef
27 Vector3 v0 = Vector3::Random(), in orthomethods_3()
28 v1 = Vector3::Random(), in orthomethods_3()
29 v2 = Vector3::Random(); in orthomethods_3()
36 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(Vector3::Random()).dot(v1), Scalar(1)); in orthomethods_3()
49 Vector3 vec3 = Vector3::Random(); in orthomethods_3()
56 …VERIFY_IS_MUCH_SMALLER_THAN((mat3.adjoint() * mat3.colwise().cross(Vector3::Random())).diagonal().… in orthomethods_3()
86 typedef Matrix<Scalar,3,1> Vector3; in orthomethods() typedef
104 Vector3 vec3 = Vector3::Random(); in orthomethods()
Dgeo_transformations.cpp31 typedef Matrix<Scalar,3,1> Vector3; in non_projective_only() typedef
38 Vector3 v0 = Vector3::Random(), in non_projective_only()
39 v1 = Vector3::Random(); in non_projective_only()
57 VERIFY_IS_APPROX( (t0 * Vector3(1,0,0)).template head<3>().norm(), v0.x()); in non_projective_only()
96 typedef Matrix<Scalar,3,1> Vector3; in transformations() typedef
107 Vector3 v0 = Vector3::Random(), in transformations()
108 v1 = Vector3::Random(); in transformations()
114 while(v0.norm() < test_precision<Scalar>()) v0 = Vector3::Random(); in transformations()
115 while(v1.norm() < test_precision<Scalar>()) v1 = Vector3::Random(); in transformations()
132 matrot1 = AngleAxisx(Scalar(0.1), Vector3::UnitX()) in transformations()
[all …]
Dgeo_quaternion.cpp51 typedef Matrix<Scalar,3,1> Vector3; in quaternion() typedef
62 Vector3 v0 = Vector3::Random(), in quaternion()
63 v1 = Vector3::Random(), in quaternion()
64 v2 = Vector3::Random(), in quaternion()
65 v3 = Vector3::Random(); in quaternion()
182 typedef Matrix<Scalar,3,1> Vector3; in mapQuaternion() typedef
185 Vector3 v0 = Vector3::Random(), in mapQuaternion()
186 v1 = Vector3::Random(); in mapQuaternion()
Dvectorization_logic.cpp176 typedef Matrix<Scalar,3,1,ColMajor> Vector3; in run() typedef
179 VERIFY(test_assign(Vector3(),Vector3()+Vector3(), in run()
/external/eigen/unsupported/test/
DEulerAngles.cpp22 typedef Matrix<Scalar,3,1> Vector3; in verify_euler_ranged() typedef
72 const Vector3 I = EulerAnglesType::AlphaAxisVector(); in verify_euler_ranged()
73 const Vector3 J = EulerAnglesType::BetaAxisVector(); in verify_euler_ranged()
74 const Vector3 K = EulerAnglesType::GammaAxisVector(); in verify_euler_ranged()
79Vector3 eabis = EulerAnglesType(m, positiveRangeAlpha, positiveRangeBeta, positiveRangeGamma).angl… in verify_euler_ranged()
86 Vector3 eabis2 = m.eulerAngles(i, j, k); in verify_euler_ranged()
158 typedef Matrix<Scalar,3,1> Vector3; in eulerangles() typedef
165 q1 = AngleAxisType(a, Vector3::Random().normalized()); in eulerangles()
169 Vector3 ea = m.eulerAngles(0,1,2); in eulerangles()
/external/eigen/Eigen/src/Geometry/
DAngleAxis.h61 typedef Matrix<Scalar,3,1> Vector3;
66 Vector3 m_axis;
96 EIGEN_DEVICE_FUNC const Vector3& axis() const { return m_axis; }
101 EIGEN_DEVICE_FUNC Vector3& axis() { return m_axis; }
145 …EIGEN_DEVICE_FUNC static inline const AngleAxis Identity() { return AngleAxis(Scalar(0), Vector3::…
223 Vector3 sin_axis = sin(m_angle) * m_axis;
225 Vector3 cos1_axis = (Scalar(1)-c) * m_axis;
DQuaternion.h52 typedef Matrix<Scalar,3,1> Vector3; typedef
165 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Vector3 _transformVector(const Vector3& v) const;
469 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename QuaternionBase<Derived>::Vector3
470 QuaternionBase<Derived>::_transformVector(const Vector3& v) const
477 Vector3 uv = this->vec().cross(v);
580 Vector3 v0 = a.normalized();
581 Vector3 v1 = b.normalized();
597 Vector3 axis = svd.matrixV().col(2);
604 Vector3 axis = v0.cross(v1);
/external/eigen/demos/opengl/
Dquaternion_demo.cpp141 typedef Matrix<Scalar,3,1> Vector3; typedef in EulerAngles
146 Vector3 m_angles;
154 const Vector3& coeffs() const { return m_angles; } in coeffs()
155 Vector3& coeffs() { return m_angles; } in coeffs()
176 Vector3 c = m_angles.array().cos(); in toRotationMatrix()
177 Vector3 s = m_angles.array().sin(); in toRotationMatrix()