#include <se2.h>
Public Member Functions | |
template<typename Accessor > | |
Matrix< 3, 3, Precision > | adjoint (const Matrix< 3, 3, Precision, Accessor > &M) const |
template<typename Accessor > | |
Vector< 3, Precision > | adjoint (const Vector< 3, Precision, Accessor > &vect) const |
template<int S, typename PV , typename Accessor > | |
SE2< Precision > | exp (const Vector< S, PV, Accessor > &mu) |
const SO2< Precision > & | get_rotation () const |
SO2< Precision > & | get_rotation () |
Returns the rotation part of the transformation as a SO2. | |
const Vector< 2, Precision > & | get_translation () const |
Vector< 2, Precision > & | get_translation () |
Returns the translation part of the transformation as a Vector. | |
SE2 | inverse () const |
compute the inverse of the transformation | |
Vector< 3, Precision > | ln () const |
SE2 | operator* (const SE2 &rhs) const |
SE2 & | operator*= (const SE2 &rhs) |
template<int S, class P , class A > | |
SE2 (const Vector< S, P, A > &v) | |
template<class A > | |
SE2 (const SO2< Precision > &R, const Vector< 2, Precision, A > &T) | |
SE2 () | |
Default constructor. Initialises the the rotation to zero (the identity) and the translation to zero. | |
Static Public Member Functions | |
template<int S, typename P , typename A > | |
static SE2 | exp (const Vector< S, P, A > &vect) |
static Matrix< 3, 3, Precision > | generator (int i) |
static Vector< 3, Precision > | ln (const SE2 &se2) |
Private Attributes | |
SO2< Precision > | my_rotation |
Vector< 2, Precision > | my_translation |
Related Functions | |
(Note that these are not member functions.) | |
template<int Rows, int C, typename PM , typename A , typename P > | |
Matrix< Rows, 3, typename Internal::MultiplyType< PM, P > ::type > | operator* (const Matrix< Rows, C, PM, A > &lhs, const SE2< P > &rhs) |
template<int R, int Cols, typename PM , typename A , typename P > | |
Matrix< 3, Cols, typename Internal::MultiplyType< P, PM > ::type > | operator* (const SE2< P > &lhs, const Matrix< R, Cols, PM, A > &rhs) |
template<int S, typename P , typename PV , typename A > | |
Vector< 3, typename Internal::MultiplyType< PV, P > ::type > | operator* (const Vector< S, PV, A > &lhs, const SE2< P > &rhs) |
template<typename P , typename PV , typename A > | |
Vector< 2, typename Internal::MultiplyType< P, PV > ::type > | operator* (const SE2< P > &lhs, const Vector< 2, PV, A > &rhs) |
template<int S, typename P , typename PV , typename A > | |
Vector< 3, typename Internal::MultiplyType< P, PV > ::type > | operator* (const SE2< P > &lhs, const Vector< S, PV, A > &rhs) |
template<class Precision > | |
std::ostream & | operator<< (std::ostream &os, const SE2< Precision > &rhs) |
Represent a two-dimensional Euclidean transformation (a rotation and a translation). This can be represented by a matrix operating on a homogeneous co-ordinate, so that a vector is transformed to a new location by
This transformation is a member of the Special Euclidean Lie group SE2. These can be parameterised with three numbers (in the space of the Lie Algebra). In this class, the first two parameters are a translation vector while the third is the amount of rotation in the plane as for SO2.
Definition at line 50 of file se2.h.
Matrix< Rows, 3, typename Internal::MultiplyType< PM, P >::type > operator* | ( | const Matrix< Rows, C, PM, A > & | lhs, | |
const SE2< P > & | rhs | |||
) | [related] |
Matrix< 3, Cols, typename Internal::MultiplyType< P, PM >::type > operator* | ( | const SE2< P > & | lhs, | |
const Matrix< R, Cols, PM, A > & | rhs | |||
) | [related] |
Vector< 3, typename Internal::MultiplyType< PV, P >::type > operator* | ( | const Vector< S, PV, A > & | lhs, | |
const SE2< P > & | rhs | |||
) | [related] |
Vector< 2, typename Internal::MultiplyType< P, PV >::type > operator* | ( | const SE2< P > & | lhs, | |
const Vector< 2, PV, A > & | rhs | |||
) | [related] |
Vector< 3, typename Internal::MultiplyType< P, PV >::type > operator* | ( | const SE2< P > & | lhs, | |
const Vector< S, PV, A > & | rhs | |||
) | [related] |
std::ostream & operator<< | ( | std::ostream & | os, | |
const SE2< Precision > & | rhs | |||
) | [related] |
SO2<Precision> TooN::SE2< Precision >::my_rotation [private] |
Vector<2, Precision> TooN::SE2< Precision >::my_translation [private] |