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

PrevUpHomeNext

cs::spherical

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

Description

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

Synopsis

template<typename DegreeOrRadian>
struct cs::spherical
      : public core_detail::define_angular_units< DegreeOrRadian >
{
  // ...
};

Template parameter(s)

Parameter

Description

typename DegreeOrRadian

Header

Either

#include <boost/geometry.hpp>

Or

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


PrevUpHomeNext