| Home | Libraries | People | FAQ | More

#### strategy::transform::map_transformer

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

###### Synopsis

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

###### Template parameter(s)

Parameter | Default | Description
--- | --- | ---
typename P1 |  | first point type
typename P2 |  | second point type
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 |
std::size_t Dimension1 | dimension<P1>::type::value |
std::size_t Dimension2 | dimension<P2>::type::value |

###### 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>`