boost::geometry::cs::spherical
cs.hpp
typename DegreeOrRadian
core_detail::coordinate_system_units< DegreeOrRadian >::units typedef core_detail::coordinate_system_units< DegreeOrRadian >::units boost::geometry::cs::spherical< DegreeOrRadian >::units units

Spherical (polar) coordinate system, in degree or in radian.

Defines the spherical coordinate system where points are defined in two angles and an optional radius usually known as r, theta, phi

# Coordinates:

- coordinate 0: 0 <= phi < 2pi is the angle between the positive x-axis and the line from the origin to the P projected onto the xy-plane.

- coordinate 1: 0 <= theta <= pi is the angle between the positive z-axis and the line formed between the origin and P.

- coordinate 2 (if specified): r >= 0 is the distance from the origin to a given point P.

http://en.wikipedia.org/wiki/Spherical_coordinates

- boost::geometry::cs::spherical
  units