...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Strategy for rotate transformation in Cartesian coordinate system.
Rotate rotates a geometry of 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>