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

PrevUpHomeNext

strategy::transform::rotate_transformer

Strategy for rotate transformation in Cartesian coordinate system.

Description

Rotate rotates a geometry of specified angle about a fixed point (e.g. origin).

Synopsis

template<typename DegreeOrRadian, typename CalculationType, std::size_t Dimension1, std::size_t Dimension2>
class strategy::transform::rotate_transformer
      : public detail::rad_rotate_transformer< CalculationType, Dimension1, Dimension2 >
{
  // ...
};

Template parameter(s)

Parameter

Description

typename DegreeOrRadian

degree/or/radian, type of rotation angle specification

typename CalculationType

std::size_t Dimension1

std::size_t Dimension2

Constructor(s)

Function

Description

Parameters

rotate_transformer(CalculationType const & angle)

CalculationType const &: angle:

Header

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


PrevUpHomeNext