Home | History | Annotate | Download | only in Geometry

Lines Matching defs:Rotation2D

17   * \class Rotation2D
34 template<typename _Scalar> struct traits<Rotation2D<_Scalar> >
41 class Rotation2D : public RotationBase<Rotation2D<_Scalar>,2>
43 typedef RotationBase<Rotation2D<_Scalar>,2> Base;
62 inline Rotation2D(const Scalar& a) : m_angle(a) {}
65 Rotation2D() {}
74 inline Rotation2D inverse() const { return -m_angle; }
77 inline Rotation2D operator*(const Rotation2D& other) const
81 inline Rotation2D& operator*=(const Rotation2D& other)
89 Rotation2D& fromRotationMatrix(const MatrixBase<Derived>& m);
95 inline Rotation2D slerp(const Scalar& t, const Rotation2D& other) const
104 inline typename internal::cast_return_type<Rotation2D,Rotation2D<NewScalarType> >::type cast() const
105 { return typename internal::cast_return_type<Rotation2D,Rotation2D<NewScalarType> >::type(*this); }
109 inline explicit Rotation2D(const Rotation2D<OtherScalarType>& other)
114 static inline Rotation2D Identity() { return Rotation2D(0); }
120 bool isApprox(const Rotation2D& other, const typename NumTraits<Scalar>::Real& prec = NumTraits<Scalar>::dummy_precision()) const
126 typedef Rotation2D<float> Rotation2Df;
129 typedef Rotation2D<double> Rotation2Dd;
137 Rotation2D<Scalar>& Rotation2D<Scalar>::fromRotationMatrix(const MatrixBase<Derived>& mat)
148 typename Rotation2D<Scalar>::Matrix2
149 Rotation2D<Scalar>::toRotationMatrix(void) const