ViennaGrid - The Vienna Grid Library  2.1.0
Public Types | Public Member Functions | Data Fields | Static Public Attributes
affine_transform_functor< MeshT > Struct Template Reference

Affine transform functor using a ScalarType * as matrix (row major layout) and a translation vector. More...

#include <geometric_transform.hpp>

Public Types

typedef
viennagrid::result_of::point
< MeshT >::type 
PointType
typedef
viennagrid::result_of::coord
< MeshT >::type 
ScalarType

Public Member Functions

 affine_transform_functor ()
 affine_transform_functor (ScalarType const *matrix_)
 affine_transform_functor (ScalarType const *matrix_, PointType const &translation_)
PointType operator() (PointType const &p) const

Data Fields

ScalarType const * matrix
PointType translation

Static Public Attributes

static const unsigned int point_dim = viennagrid::result_of::geometric_dimension<MeshT>::value

Detailed Description

template<typename MeshT>
struct viennagrid::affine_transform_functor< MeshT >

Affine transform functor using a ScalarType * as matrix (row major layout) and a translation vector.

Parameters:
MeshTThe mesh type

Member Typedef Documentation


Constructor & Destructor Documentation

affine_transform_functor ( ScalarType const *  matrix_) [inline]
affine_transform_functor ( ScalarType const *  matrix_,
PointType const &  translation_ 
) [inline]

Member Function Documentation

PointType operator() ( PointType const &  p) const [inline]

Field Documentation

const unsigned int point_dim = viennagrid::result_of::geometric_dimension<MeshT>::value [static]

The documentation for this struct was generated from the following file: