Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

cs::spherical_equatorial

Spherical equatorial coordinate system, in degree or in radian.

Description

This one resembles the geographic coordinate system, and has latitude up from zero at the equator, to 90 at the pole (opposite to the spherical(polar) coordinate system). Used in astronomy and in GIS (but there is also the geographic)

Synopsis

template<typename DegreeOrRadian>
struct cs::spherical_equatorial
{
  // ...
};

Template parameter(s)

Parameter

Description

typename DegreeOrRadian

Header

Either

#include <boost/geometry.hpp>

Or

#include <boost/geometry/core/cs.hpp>


PrevUpHomeNext