|
| enum | { Dim = 2
} |
| |
| enum | { Dim = 2
} |
| |
| typedef _Scalar | Scalar |
| |
|
typedef Matrix< Scalar, 2, 1 > | Vector2 |
| |
|
typedef Matrix< Scalar, 2, 2 > | Matrix2 |
| |
| typedef _Scalar | Scalar |
| |
|
typedef Matrix< Scalar, 2, 1 > | Vector2 |
| |
|
typedef Matrix< Scalar, 2, 2 > | Matrix2 |
| |
| enum | |
| |
| enum | |
| |
| typedef ei_traits< Rotation2D< _Scalar > >::Scalar | Scalar |
| |
| typedef internal::traits< Rotation2D< _Scalar > >::Scalar | Scalar |
| |
| typedef Matrix< Scalar, Dim, Dim > | RotationMatrixType |
| |
| typedef Matrix< Scalar, Dim, Dim > | RotationMatrixType |
| |
|
typedef Matrix< Scalar, Dim, 1 > | VectorType |
| |
|
| | Rotation2D (Scalar a) |
| |
| Scalar | angle () const |
| |
| Scalar & | angle () |
| |
| Rotation2D | inverse () const |
| |
| Rotation2D | operator* (const Rotation2D &other) const |
| |
| Rotation2D & | operator*= (const Rotation2D &other) |
| |
| Vector2 | operator* (const Vector2 &vec) const |
| |
|
template<typename Derived > |
| Rotation2D & | fromRotationMatrix (const MatrixBase< Derived > &m) |
| |
| Matrix2 | toRotationMatrix (void) const |
| |
| Rotation2D | slerp (Scalar t, const Rotation2D &other) const |
| |
| template<typename NewScalarType > |
| internal::cast_return_type< Rotation2D, Rotation2D< NewScalarType > >::type | cast () const |
| |
| template<typename OtherScalarType > |
| | Rotation2D (const Rotation2D< OtherScalarType > &other) |
| |
| bool | isApprox (const Rotation2D &other, typename NumTraits< Scalar >::Real prec=precision< Scalar >()) const |
| |
| | Rotation2D (const Scalar &a) |
| |
| Scalar | angle () const |
| |
| Scalar & | angle () |
| |
| Rotation2D | inverse () const |
| |
| Rotation2D | operator* (const Rotation2D &other) const |
| |
| Rotation2D & | operator*= (const Rotation2D &other) |
| |
| Vector2 | operator* (const Vector2 &vec) const |
| |
|
template<typename Derived > |
| Rotation2D & | fromRotationMatrix (const MatrixBase< Derived > &m) |
| |
|
Matrix2 | toRotationMatrix (void) const |
| |
| Rotation2D | slerp (const Scalar &t, const Rotation2D &other) const |
| |
| template<typename NewScalarType > |
| internal::cast_return_type< Rotation2D, Rotation2D< NewScalarType > >::type | cast () const |
| |
| template<typename OtherScalarType > |
| | Rotation2D (const Rotation2D< OtherScalarType > &other) |
| |
| bool | isApprox (const Rotation2D &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const |
| |
| template<typename Derived > |
| Rotation2D< Scalar > & | fromRotationMatrix (const MatrixBase< Derived > &mat) |
| |
|
const Rotation2D< _Scalar > & | derived () const |
| |
|
Rotation2D< _Scalar > & | derived () |
| |
|
const Rotation2D< _Scalar > & | derived () const |
| |
|
Rotation2D< _Scalar > & | derived () |
| |
| RotationMatrixType | toRotationMatrix () const |
| |
| RotationMatrixType | toRotationMatrix () const |
| |
| Rotation2D< _Scalar > | inverse () const |
| |
| Rotation2D< _Scalar > | inverse () const |
| |
| Transform< Scalar, Dim > | operator* (const Translation< Scalar, Dim > &t) const |
| |
| RotationMatrixType | operator* (const Scaling< Scalar, Dim > &s) const |
| |
| Transform< Scalar, Dim > | operator* (const Transform< Scalar, Dim > &t) const |
| |
| Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const |
| |
| RotationMatrixType | operator* (const UniformScaling< Scalar > &s) const |
| |
| EIGEN_STRONG_INLINE internal::rotation_base_generic_product_selector< Rotation2D< _Scalar >, OtherDerived, OtherDerived::IsVectorAtCompileTime >::ReturnType | operator* (const EigenBase< OtherDerived > &e) const |
| |
| Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
| |
| RotationMatrixType | matrix () const |
| |
|
VectorType | _transformVector (const OtherVectorType &v) const |
| |
template<typename _Scalar>
class Eigen::Rotation2D< _Scalar >
Represents a rotation/orientation in a 2 dimensional space.
- Parameters
-
| _Scalar | the scalar type, i.e., the type of the coefficients |
This class is equivalent to a single scalar representing a counter clock wise rotation as a single angle in radian. It provides some additional features such as the automatic conversion from/to a 2x2 rotation matrix. Moreover this class aims to provide a similar interface to Quaternion in order to facilitate the writing of generic algorithms dealing with rotations.
- See also
- class Quaternion, class Transform
Definition at line 234 of file ForwardDeclarations.h.