Strategy for rotate transformation in Cartesian coordinate system.
More...
#include <matrix_transformers.hpp>
template<typename DegreeOrRadian, typename CalculationType, std::size_t Dimension1, std::size_t Dimension2>
class boost::geometry::strategy::transform::rotate_transformer< DegreeOrRadian, CalculationType, Dimension1, Dimension2 >
Strategy for rotate transformation in Cartesian coordinate system.
Rotate rotates a geometry of specified angle about a fixed point (e.g. origin).
- See also
- http://en.wikipedia.org/wiki/Rotation_%28mathematics%29
- Template Parameters
-
DegreeOrRadian | degree/or/radian, type of rotation angle specification |
- Note
- A single angle is needed to specify a rotation in 2D. Not yet in 3D, the 3D version requires special things to allow for rotation around X, Y, Z or arbitrary axis.
- Todo:
- The 3D version will not compile.
template<typename DegreeOrRadian , typename CalculationType , std::size_t Dimension1, std::size_t Dimension2>
The documentation for this class was generated from the following file: