Translation function-object. More...
#include <translation.hh>
Public Types | |
typedef C | data_t |
Type of the underlying data stored in vectors and matrices. | |
typedef translation< n, C > | invert |
Type of the inverse function. | |
Public Member Functions | |
invert | inv () const |
Return the inverse function. | |
algebra::vec< n, C > | operator() (const algebra::vec< n, C > &v) const |
Perform the translation of the given vector. | |
void | set_t (const algebra::vec< n, C > &t) |
Set a net translation vector. | |
const algebra::vec< n, C > & | t () const |
Return the translation vector. | |
translation (const algebra::vec< n, C > &t) | |
Constructor with the translation vector. | |
translation () | |
Constructor without argument. |
Translation function-object.
Definition at line 52 of file x2x/translation.hh.
typedef C mln::fun::x2x::translation< n, C >::data_t |
Type of the underlying data stored in vectors and matrices.
Definition at line 59 of file x2x/translation.hh.
typedef translation<n,C> mln::fun::x2x::translation< n, C >::invert |
Type of the inverse function.
Definition at line 62 of file x2x/translation.hh.
mln::fun::x2x::translation< n, C >::translation | ( | ) | [inline] |
Constructor without argument.
Definition at line 93 of file x2x/translation.hh.
mln::fun::x2x::translation< n, C >::translation | ( | const algebra::vec< n, C > & | t | ) | [inline] |
Constructor with the translation vector.
Definition at line 99 of file x2x/translation.hh.
translation< n, C > mln::fun::x2x::translation< n, C >::inv | ( | ) | const [inline] |
Return the inverse function.
Definition at line 124 of file x2x/translation.hh.
algebra::vec< n, C > mln::fun::x2x::translation< n, C >::operator() | ( | const algebra::vec< n, C > & | v | ) | const [inline] |
Perform the translation of the given vector.
Definition at line 108 of file x2x/translation.hh.
void mln::fun::x2x::translation< n, C >::set_t | ( | const algebra::vec< n, C > & | t | ) | [inline] |
Set a net translation vector.
Definition at line 134 of file x2x/translation.hh.
const algebra::vec< n, C > & mln::fun::x2x::translation< n, C >::t | ( | ) | const [inline] |
Return the translation vector.
Definition at line 143 of file x2x/translation.hh.