1 #ifndef TIL_AFFINE_MAP_H 2 #define TIL_AFFINE_MAP_H 18 template <
typename T >
19 class AffineMap :
public Mapping_label,
public detemplated_functor_label
23 template <
typename X >
35 : m_data(m, transl) {};
59 template <
typename X >
A affine mathematical object.
AffineMap(const Matrix3< T > &m, const numeric_array< T, 3 > &transl)
Belongs to package Box Do not include directly, include til/Box.h instead.
General macros, definitions and functions.
std::unary_function< numeric_array< T, 3 >, numeric_array< T, 3 > >::argument_type argument_type
Defines empty classes that serves as labels.
const Affine< T > & transfo() const
std::unary_function< numeric_array< T, 3 >, numeric_array< T, 3 > >::result_type result_type
X operator()(const X &v) const
Defines an affine coordinate transform.