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>
- 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 () const |
|
Scalar & | angle () |
|
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 |
|
RotationMatrixType | matrix () const |
|
Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const |
|
RotationMatrixType | operator* (const UniformScaling< Scalar > &s) 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 |
|
Vector2 | operator* (const Vector2 &vec) const |
|
Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
|
Rotation2D & | operator*= (const Rotation2D &other) |
|
| Rotation2D (const Scalar &a) |
|
| Rotation2D () |
|
template<typename OtherScalarType > |
| Rotation2D (const Rotation2D< OtherScalarType > &other) |
|
Rotation2D | slerp (const Scalar &t, const Rotation2D &other) const |
|
Matrix2 | toRotationMatrix () const |
|