• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/============================================================================
2  Boost.Geometry (aka GGL, Generic Geometry Library)
3
4  Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
5  Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
6  Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
7
8  Use, modification and distribution is subject to the Boost Software License,
9  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
10  http://www.boost.org/LICENSE_1_0.txt)
11=============================================================================/]
12
13
14[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
15[/ Generated from doxy/doxygen_output/xml/structboost_1_1geometry_1_1cs_1_1spherical.xml]
16[section:cs_spherical cs::spherical]
17
18'''<indexterm><primary>cs</primary></indexterm><indexterm><primary>spherical</primary></indexterm>'''
19Spherical (polar) coordinate system, in degree or in radian.
20
21[heading Description]
22Defines the spherical coordinate system where points are defined in two angles and an optional radius usually known as r, theta, phi
23
24[heading Synopsis]
25``template<typename DegreeOrRadian>
26struct cs::spherical
27      : public core_detail::define_angular_units< DegreeOrRadian >
28{
29  // ...
30};
31``
32
33[heading Template parameter(s)]
34[table
35[[Parameter] [Description]]
36[[typename DegreeOrRadian] []]
37]
38
39[heading Header]
40Either
41
42`#include <boost/geometry.hpp>`
43
44
45Or
46
47`#include <boost/geometry/core/cs.hpp>`
48
49[endsect]
50
51