...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Transformation strategy to map from one to another Cartesian coordinate system.
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 > { // ... };
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 |
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: |
#include <boost/geometry/strategies/transform/map_transformer.hpp>