...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
get coordinate value of a point, result is in Radian
Result is in Radian, even if source coordinate system is in Degrees
template<std::size_t Dimension, typename Geometry> fp_coordinate_type<Geometry>::type get_as_radian(Geometry const & geometry)
Type |
Concept |
Name |
Description |
---|---|---|---|
Dimension |
dimension |
- |
Must be specified |
Geometry const & |
geometry |
geometry |
geometry to get coordinate value from |
coordinate value
Either
#include <boost/geometry.hpp>
Or
#include <boost/geometry/core/radian_access.hpp>