Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

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::matrix_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>


PrevUpHomeNext