mln::fun::x2x::translation< n, C > Struct Template Reference

Translation function-object. More...

#include <translation.hh>

Inheritance diagram for mln::fun::x2x::translation< n, C >:

Inheritance graph

List of all members.

Public Types

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.


Detailed Description

template<unsigned n, typename C>
struct mln::fun::x2x::translation< n, C >

Translation function-object.

Definition at line 52 of file x2x/translation.hh.


Member Typedef Documentation

template<unsigned n, typename C>
typedef translation<n,C> mln::fun::x2x::translation< n, C >::invert

Type of the inverse function.

Definition at line 58 of file x2x/translation.hh.


Constructor & Destructor Documentation

template<unsigned n, typename C>
mln::fun::x2x::translation< n, C >::translation (  )  [inline]

Constructor without argument.

Definition at line 89 of file x2x/translation.hh.

template<unsigned n, typename C>
mln::fun::x2x::translation< n, C >::translation ( const algebra::vec< n, C > &  t  )  [inline]

Constructor with the translation vector.

Definition at line 95 of file x2x/translation.hh.


Member Function Documentation

template<unsigned n, typename C>
translation< n, C > mln::fun::x2x::translation< n, C >::inv (  )  const [inline]

Return the inverse function.

Definition at line 120 of file x2x/translation.hh.

template<unsigned n, typename C>
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 104 of file x2x/translation.hh.

template<unsigned n, typename C>
void mln::fun::x2x::translation< n, C >::set_t ( const algebra::vec< n, C > &  t  )  [inline]

Set a net translation vector.

Definition at line 130 of file x2x/translation.hh.

template<unsigned n, typename C>
const algebra::vec< n, C > & mln::fun::x2x::translation< n, C >::t (  )  const [inline]

Return the translation vector.

Definition at line 139 of file x2x/translation.hh.


Generated on Sun May 16 01:36:15 2010 for Milena (Olena) by  doxygen 1.5.6