Spherical (polar) coordinate system, in degree or in radian.
More...
#include <cs.hpp>
|
typedef DegreeOrRadian | units |
|
template<typename DegreeOrRadian>
struct boost::geometry::cs::spherical< DegreeOrRadian >
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.
- See also
- http://en.wikipedia.org/wiki/Spherical_coordinates
template<typename DegreeOrRadian >
The documentation for this struct was generated from the following file:
- boost_1_57_0/boost/geometry/core/cs.hpp