24 template<
typename Derived,
int _Dim>
35 inline const Derived&
derived()
const {
return *
static_cast<const Derived*
>(
this); }
36 inline Derived&
derived() {
return *
static_cast<Derived*
>(
this); }
61 template<
typename _Scalar,
int _Rows,
int _Cols,
int _Storage,
int _MaxRows,
int _MaxCols>
62 template<
typename OtherDerived>
67 *
this = r.toRotationMatrix();
74 template<
typename _Scalar,
int _Rows,
int _Cols,
int _Storage,
int _MaxRows,
int _MaxCols>
75 template<
typename OtherDerived>
81 return *
this = r.toRotationMatrix();
102 template<
typename Scalar,
int Dim>
109 template<
typename Scalar,
int Dim,
typename OtherDerived>
112 return r.toRotationMatrix();
115 template<
typename Scalar,
int Dim,
typename OtherDerived>
119 YOU_MADE_A_PROGRAMMING_MISTAKE)
Represents a possibly non uniform scaling transformation.
Matrix< Scalar, Dim, Dim > RotationMatrixType
iterative scaling algorithm to equilibrate rows and column norms in matrices
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Represents a translation transformation.
ei_traits< Derived >::Scalar Scalar
EIGEN_STRONG_INLINE Matrix()
Default constructor.
Transform< Scalar, Dim > operator*(const Transform< Scalar, Dim > &t) const
#define EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(TYPE, ROWS, COLS)
Common base class for compact rotation representations.
static Matrix< Scalar, 2, 2 > ei_toRotationMatrix(const Scalar &s)
Represents a rotation/orientation in a 2 dimensional space.
EIGEN_STRONG_INLINE Matrix & operator=(const Matrix &other)
Assigns matrices to each other.
RotationMatrixType operator*(const Scaling< Scalar, Dim > &s) const
const Derived & derived() const
The matrix class, also used for vectors and row-vectors.
Base class for all dense matrices, vectors, and expressions.
Transform< Scalar, Dim > operator*(const Translation< Scalar, Dim > &t) const
RotationMatrixType toRotationMatrix() const