| Home | Libraries | People | FAQ | More

#### strategy::transform::map_transformer

Transformation strategy to map from one to another Cartesian coordinate system.

###### Synopsis

    template<typename CalculationType, std::size_t Dimension1, std::size_t Dimension2, bool Mirror,
             bool SameScale>
    class strategy::transform::map_transformer
          : public strategy::transform::ublas_transformer< CalculationType, Dimension1, Dimension2 >
    {
      // ...
    };

###### Template parameter(s)

Parameter | Default | Description
--- | --- | ---
typename CalculationType |  |
std::size_t Dimension1 |  |
std::size_t Dimension2 |  |
bool Mirror | false | if true map is mirrored upside-down (in most cases pixels are from top to bottom, while map is from bottom to top)
bool SameScale | true |

###### Constructor(s)

Function | Description | Parameters
--- | --- | ---

    template<typename B, typename D>
    map_transformer(B const & box, D const & width, D const & height)

B const &: box:

D const &: width:

D const &: height:

    template<typename W, typename D>
    map_transformer(W const & wx1, W const & wy1, W const & wx2,
                     W const & wy2, D const & width, D const & height)

W const &: wx1:

W const &: wy1:

W const &: wx2:

W const &: wy2:

D const &: width:

D const &: height:

###### Header

`#include <boost/geometry/strategies/transform/map_transformer.hpp>`