| Home | Libraries | People | FAQ | More

#### strategy::transform::rotate_transformer

Strategy for rotate transformation in Cartesian coordinate system.

###### Description

Rotate rotates a geometry by a 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>`