...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Strategy of rotate transformation in Cartesian system.
Rotate rotates a geometry of specified angle about a fixed point (e.g. origin).
template<typename P1, typename P2, typename DegreeOrRadian> class strategy::transform::rotate_transformer { // ... };
Parameter |
Description |
---|---|
typename P1 |
first point type |
typename P2 |
second point type |
typename DegreeOrRadian |
degree/or/radian, type of rotation angle specification |
Function |
Description |
Parameters |
---|---|---|
rotate_transformer(angle_type const & angle)
|
angle_type const &: angle: |
#include <boost/geometry/strategies/transform/matrix_transformers.hpp>