Go to the documentation of this file.
10 #ifndef EIGEN_ROTATION2D_H
11 #define EIGEN_ROTATION2D_H
40 template<
typename _Scalar>
47 using Base::operator*;
71 template<
typename Derived>
112 template<
typename Derived>
123 template<
typename Derived>
141 template<
typename NewScalarType>
146 template<
typename OtherScalarType>
174 template<
typename Scalar>
175 template<
typename Derived>
179 EIGEN_STATIC_ASSERT(Derived::RowsAtCompileTime==2 && Derived::ColsAtCompileTime==2,YOU_MADE_A_PROGRAMMING_MISTAKE)
186 template<
typename Scalar>
194 return (
Matrix2() << cosA, -sinA, sinA, cosA).finished();
199 #endif // EIGEN_ROTATION2D_H
#define EIGEN_DEVICE_FUNC
Namespace containing all symbols from the Eigen library.
const AutoDiffScalar< Matrix< typename internal::traits< typename internal::remove_all< DerTypeA >::type >::Scalar, Dynamic, 1 > > atan2(const AutoDiffScalar< DerTypeA > &a, const AutoDiffScalar< DerTypeB > &b)
#define EIGEN_USING_STD(FUNC)
EIGEN_DEVICE_FUNC Rotation2D()
Jet< T, N > sin(const Jet< T, N > &f)
EIGEN_DEVICE_FUNC Rotation2D(const Rotation2D< OtherScalarType > &other)
EIGEN_DEVICE_FUNC Rotation2D & operator=(const MatrixBase< Derived > &m)
EIGEN_DEVICE_FUNC bool isApprox(const Scalar &x, const Scalar &y, const typename NumTraits< Scalar >::Real &precision=NumTraits< Scalar >::dummy_precision())
Rotation2D< float > Rotation2Df
EIGEN_DEVICE_FUNC Rotation2D & fromRotationMatrix(const MatrixBase< Derived > &m)
Matrix< Scalar, 2, 1 > Vector2
Jet< T, N > cos(const Jet< T, N > &f)
EIGEN_DEVICE_FUNC Rotation2D inverse() const
static EIGEN_DEVICE_FUNC Rotation2D Identity()
EIGEN_DEVICE_FUNC Rotation2D operator*(const Rotation2D &other) const
EIGEN_DEVICE_FUNC Scalar smallestAngle() const
EIGEN_DEVICE_FUNC Scalar angle() const
Common base class for compact rotation representations.
Rotation2D< double > Rotation2Dd
EIGEN_DEVICE_FUNC Rotation2D(const Scalar &a)
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T fmod(const T &a, const T &b)
EIGEN_DEVICE_FUNC Rotation2D(const MatrixBase< Derived > &m)
EIGEN_DEVICE_FUNC bool isApprox(const Rotation2D &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const
Represents a rotation/orientation in a 2 dimensional space.
EIGEN_DEVICE_FUNC internal::cast_return_type< Rotation2D, Rotation2D< NewScalarType > >::type cast() const
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
EIGEN_DEVICE_FUNC Scalar smallestPositiveAngle() const
Matrix< Scalar, 2, 2 > Matrix2
EIGEN_DEVICE_FUNC Rotation2D & operator*=(const Rotation2D &other)
RotationBase< Rotation2D< _Scalar >, 2 > Base
The matrix class, also used for vectors and row-vectors.
EIGEN_DEVICE_FUNC Matrix2 toRotationMatrix() const
Base class for all dense matrices, vectors, and expressions.
EIGEN_DEVICE_FUNC Rotation2D slerp(const Scalar &t, const Rotation2D &other) const
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
EIGEN_DEVICE_FUNC Scalar & angle()
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:13:09