Split Rotation.h to Rotation2D.h and RotationBase.h,

and more code factorization based on RotationBase.
Added notes about the main aim of the Translation and Scaling classes.
This commit is contained in:
Gael Guennebaud
2008-08-30 21:36:04 +00:00
parent 6ba991aa3a
commit 9c450a52a2
9 changed files with 159 additions and 150 deletions

View File

@@ -364,10 +364,10 @@ class Matrix
/////////// Geometry module ///////////
explicit Matrix(const Quaternion<Scalar>& q);
Matrix& operator=(const Quaternion<Scalar>& q);
explicit Matrix(const AngleAxis<Scalar>& aa);
Matrix& operator=(const AngleAxis<Scalar>& aa);
template<typename OtherDerived>
explicit Matrix(const RotationBase<OtherDerived,ColsAtCompileTime>& r);
template<typename OtherDerived>
Matrix& operator=(const RotationBase<OtherDerived,ColsAtCompileTime>& r);
};
/** \defgroup matrixtypedefs Global matrix typedefs

View File

@@ -100,6 +100,7 @@ template<typename MatrixType> class Cholesky;
template<typename MatrixType> class CholeskyWithoutSquareRoot;
// Geometry module:
template<typename Derived, int _Dim> class RotationBase;
template<typename Lhs, typename Rhs> class Cross;
template<typename Scalar> class Quaternion;
template<typename Scalar> class Rotation2D;