template<typename Scalar_>
class Eigen::Rotation2D< Scalar_ >
Represents a rotation/orientation in a 2 dimensional space.
This is defined in the Geometry module.
#include <Eigen/Geometry>
- Template 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
|
| Scalar & | angle () |
| |
| Scalar | angle () const |
| |
| template<typename NewScalarType> |
| internal::cast_return_type< Rotation2D, Rotation2D< NewScalarType > >::type | cast () const |
| |
| template<typename Derived> |
| Rotation2D< Scalar > & | fromRotationMatrix (const MatrixBase< Derived > &mat) |
| |
| Rotation2D | inverse () const |
| |
| bool | isApprox (const Rotation2D &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const |
| |
| internal::rotation_base_generic_product_selector< Rotation2D< Scalar_ >, OtherDerived, OtherDerived::IsVectorAtCompileTime >::ReturnType | operator* (const EigenBase< OtherDerived > &e) const |
| |
| Rotation2D | operator* (const Rotation2D &other) const |
| |
| Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
| |
| Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const |
| |
| RotationMatrixType | operator* (const UniformScaling< Scalar > &s) const |
| |
| Vector2 | operator* (const Vector2 &vec) const |
| |
| Rotation2D & | operator*= (const Rotation2D &other) |
| |
| template<typename Derived> |
| Rotation2D & | operator= (const MatrixBase< Derived > &m) |
| |
| | Rotation2D () |
| |
| template<typename Derived> |
| | Rotation2D (const MatrixBase< Derived > &m) |
| |
| template<typename OtherScalarType> |
| | Rotation2D (const Rotation2D< OtherScalarType > &other) |
| |
| | Rotation2D (const Scalar &a) |
| |
| Rotation2D | slerp (const Scalar &t, const Rotation2D &other) const |
| |
| Scalar | smallestAngle () const |
| |
| Scalar | smallestPositiveAngle () const |
| |
| Matrix2 | toRotationMatrix () const |
| |
| Rotation2D< Scalar_ > | inverse () const |
| |
| Rotation2D< Scalar_ > | inverse () const |
| |
| RotationMatrixType | matrix () const |
| |
| RotationMatrixType | matrix () const |
| |
| internal::rotation_base_generic_product_selector< Rotation2D< Scalar_ >, OtherDerived, OtherDerived::IsVectorAtCompileTime >::ReturnType | operator* (const EigenBase< OtherDerived > &e) const |
| |
| 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 |
| |
| Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
| |
| Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const |
| |
| Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const |
| |
| RotationMatrixType | operator* (const UniformScaling< Scalar > &s) const |
| |
| RotationMatrixType | operator* (const UniformScaling< Scalar > &s) const |
| |
| RotationMatrixType | toRotationMatrix () const |
| |
| RotationMatrixType | toRotationMatrix () const |
| |