• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/============================================================================
2  Boost.Geometry (aka GGL, Generic Geometry Library)
3
4  Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
5  Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
6  Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
7
8  Use, modification and distribution is subject to the Boost Software License,
9  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
10  http://www.boost.org/LICENSE_1_0.txt)
11=============================================================================/]
12
13
14[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
15[/ Generated from doxy/doxygen_output/xml/classboost_1_1geometry_1_1strategy_1_1transform_1_1map__transformer.xml]
16[section:strategy_transform_map_transformer strategy::transform::map_transformer]
17
18'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>transform</primary></indexterm><indexterm><primary>map_transformer</primary></indexterm>'''
19Transformation strategy to map from one to another Cartesian coordinate system.
20
21[heading Synopsis]
22``template<typename CalculationType, std::size_t Dimension1, std::size_t Dimension2, bool Mirror,
23         bool SameScale>
24class strategy::transform::map_transformer
25      : public strategy::transform::matrix_transformer< CalculationType, Dimension1, Dimension2 >
26{
27  // ...
28};
29``
30
31[heading Template parameter(s)]
32[table
33[[Parameter] [Default] [Description]]
34[[typename CalculationType] [] []]
35[[std::size_t Dimension1] [] []]
36[[std::size_t Dimension2] [] []]
37[[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) ]]
38[[bool SameScale] [true] []]
39]
40
41[heading Constructor(s)]
42[table
43[[Function] [Description] [Parameters] ]
44[[``template<typename B, typename D>
45map_transformer(B const & box, D const & width, D const & height)``
46
47] [] [[* B const &]: ['box]:
48
49[* D const &]: ['width]:
50
51[* D const &]: ['height]:
52
53
54
55]]
56[[``template<typename W, typename D>
57map_transformer(W const & wx1, W const & wy1, W const & wx2,
58                 W const & wy2, D const & width, D const & height)``
59
60] [] [[* W const &]: ['wx1]:
61
62[* W const &]: ['wy1]:
63
64[* W const &]: ['wx2]:
65
66[* W const &]: ['wy2]:
67
68[* D const &]: ['width]:
69
70[* D const &]: ['height]:
71
72
73
74]]
75]
76
77[heading Header]
78`#include <boost/geometry/strategies/transform/map_transformer.hpp>`
79
80[endsect]
81
82