• 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/classboost_1_1geometry_1_1strategy_1_1densify_1_1spherical.xml]
16[section:strategy_densify_spherical strategy::densify::spherical]
17
18'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>densify</primary></indexterm><indexterm><primary>spherical</primary></indexterm>'''
19Densification of spherical segment.
20
21[heading Synopsis]
22``template<typename RadiusTypeOrSphere, typename CalculationType>
23class strategy::densify::spherical
24{
25  // ...
26};
27``
28
29[heading Template parameter(s)]
30[table
31[[Parameter] [Default] [Description]]
32[[typename RadiusTypeOrSphere] [double] [numeric type for radius (of sphere, earth) or sphere model ]]
33[[typename CalculationType] [void] [numeric type for calculation (e.g. high precision); if [*void] then it is extracted automatically from the coordinate type and (if necessary) promoted to floating point]]
34]
35
36[heading Constructor(s)]
37[table
38[[Function] [Description] [Parameters] ]
39[[``spherical()``
40
41] [] [
42
43]]
44[[``template<typename RadiusOrSphere>
45spherical(RadiusOrSphere const & radius_or_sphere)``
46
47] [] [[* RadiusOrSphere const &]: ['radius_or_sphere]:
48
49
50
51]]
52]
53
54[heading Member Function(s)]
55[table
56[[Function] [Description] [Parameters]  [Returns]]
57[[``template<typename Point, typename AssignPolicy, typename T>
58void apply(Point const & p0, Point const & p1, AssignPolicy & policy,
59           T const & length_threshold)``
60
61] [] [[* Point const &]: ['p0]:
62
63[* Point const &]: ['p1]:
64
65[* AssignPolicy &]: ['policy]:
66
67[* T const &]: ['length_threshold]:
68
69
70
71][
72
73]
74]
75]
76
77[heading Header]
78`#include <boost/geometry/strategies/spherical/densify.hpp>`
79
80[heading See also]
81[link geometry.reference.algorithms.densify.densify_4_with_strategy densify (with strategy)]
82
83[endsect]
84
85