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

Click here to view the latest version of this page.
PrevUpHomeNext

strategy::transform::scale_transformer

Strategy of scale transformation in Cartesian system.

Description

Scale scales a geometry up or down in all its dimensions.

Synopsis

template<typename P1, typename P2, std::size_t Dimension1, std::size_t Dimension2>
class strategy::transform::scale_transformer
{
  // ...
};

Template parameter(s)

Parameter

Default

Description

typename P1

first point type

typename P2

P1

second point type

std::size_t Dimension1

geometry::dimension<P1>::type::value

number of dimensions to transform to second point

std::size_t Dimension2

geometry::dimension<P2>::type::value

Header

#include <boost/geometry/strategies/transform/matrix_transformers.hpp>


PrevUpHomeNext