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

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
{
  // ...
};

Template parameter(s)

Parameter

Description

typename DegreeOrRadian

Header

Either

#include <boost/geometry.hpp>

Or

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


PrevUpHomeNext