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
This is an older version of Boost and was released in 2022. The current version is 1.89.0.
Strategy for rotate transformation in Cartesian coordinate system.
Rotate rotates a geometry by a specified angle about a fixed point (e.g. origin).
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 > { // ... };
|
Parameter |
Description |
|---|---|
|
typename DegreeOrRadian |
degree/or/radian, type of rotation angle specification |
|
typename CalculationType |
|
|
std::size_t Dimension1 |
|
|
std::size_t Dimension2 |
|
Function |
Description |
Parameters |
|---|---|---|
|
rotate_transformer(CalculationType const & angle)
|
CalculationType const &: angle: |
#include <boost/geometry/strategies/transform/matrix_transformers.hpp>