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.

Member Typedef Documentation

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

Type of the inverse function.


Constructor & Destructor Documentation

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

Constructor without argument.

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

Constructor with the translation vector.


Member Function Documentation

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

Return the inverse function.

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.

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.

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

Return the translation vector.


Generated on Tue Jul 14 16:33:05 2009 for Milena (Olena) by  doxygen 1.5.9