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

Scale functor with scaling factor and scale center. 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

PointType operator() (PointType p) const
 scale_functor ()
 scale_functor (ScalarType factor_)
 scale_functor (ScalarType factor_, PointType const &scale_center_)

Data Fields

ScalarType factor
PointType scale_center

Detailed Description

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

Scale functor with scaling factor and scale center.

Parameters:
MeshTThe mesh type

Member Typedef Documentation


Constructor & Destructor Documentation

scale_functor ( ) [inline]
scale_functor ( ScalarType  factor_) [inline]
scale_functor ( ScalarType  factor_,
PointType const &  scale_center_ 
) [inline]

Member Function Documentation

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

Field Documentation


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