• 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_1line__interpolate_1_1geographic.xml]
16[section:strategy_line_interpolate_geographic strategy::line_interpolate::geographic]
17
18'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>line_interpolate</primary></indexterm><indexterm><primary>geographic</primary></indexterm>'''
19Interpolate point on a geographic segment.
20
21[heading Synopsis]
22``template<typename FormulaPolicy, typename Spheroid, typename CalculationType>
23class strategy::line_interpolate::geographic
24{
25  // ...
26};
27``
28
29[heading Template parameter(s)]
30[table
31[[Parameter] [Default] [Description]]
32[[typename FormulaPolicy] [strategy::andoyer] [The geodesic formulas used internally. ]]
33[[typename Spheroid] [srs::spheroid<double>] [The spheroid model. ]]
34[[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]]
35]
36
37[heading Constructor(s)]
38[table
39[[Function] [Description] [Parameters] ]
40[[``geographic()``
41
42] [] [
43
44]]
45[[``geographic(Spheroid const & spheroid)``
46
47] [] [[* Spheroid const &]: ['spheroid]:
48
49
50
51]]
52]
53
54[heading Member Function(s)]
55[table
56[[Function] [Description] [Parameters]  [Returns]]
57[[``distance_pp_strategy::type get_distance_pp_strategy()``
58
59] [] [
60
61][
62
63]
64]
65[[``template<typename Point, typename Fraction, typename Distance>
66void apply(Point const & p0, Point const & p1, Fraction const & fraction,
67           Point & p, Distance const & distance)``
68
69] [] [[* Point const &]: ['p0]:
70
71[* Point const &]: ['p1]:
72
73[* Fraction const &]: ['fraction]:
74
75[* Point &]: ['p]:
76
77[* Distance const &]: ['distance]:
78
79
80
81][
82
83]
84]
85]
86
87[heading Header]
88`#include <boost/geometry/strategies/geographic/line_interpolate.hpp>`
89
90[heading See also]
91* [link geometry.reference.algorithms.line_interpolate.line_interpolate_4_with_strategy line_interpolate (with strategy)]
92* [link geometry.reference.srs.srs_spheroid srs::spheroid]
93
94[endsect]
95
96