• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>strategy::line_interpolate::geographic</title>
5<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../index.html" title="Chapter 1. Geometry">
8<link rel="up" href="../strategies.html" title="Strategies">
9<link rel="prev" href="strategy_line_interpolate_cartesian.html" title="strategy::line_interpolate::cartesian">
10<link rel="next" href="strategy_line_interpolate_spherical.html" title="strategy::line_interpolate::spherical">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="strategy_line_interpolate_cartesian.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../strategies.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="strategy_line_interpolate_spherical.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h4 class="title">
27<a name="geometry.reference.strategies.strategy_line_interpolate_geographic"></a><a class="link" href="strategy_line_interpolate_geographic.html" title="strategy::line_interpolate::geographic">strategy::line_interpolate::geographic</a>
28</h4></div></div></div>
29<p>
30          <a class="indexterm" name="idm45635668425584"></a><a class="indexterm" name="idm45635668424896"></a><a class="indexterm" name="idm45635668424208"></a>
31Interpolate point on a geographic segment.
32        </p>
33<h6>
34<a name="geometry.reference.strategies.strategy_line_interpolate_geographic.h0"></a>
35          <span class="phrase"><a name="geometry.reference.strategies.strategy_line_interpolate_geographic.synopsis"></a></span><a class="link" href="strategy_line_interpolate_geographic.html#geometry.reference.strategies.strategy_line_interpolate_geographic.synopsis">Synopsis</a>
36        </h6>
37<p>
38</p>
39<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">FormulaPolicy</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Spheroid</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">CalculationType</span><span class="special">&gt;</span>
40<span class="keyword">class</span> <span class="identifier">strategy</span><span class="special">::</span><span class="identifier">line_interpolate</span><span class="special">::</span><span class="identifier">geographic</span>
41<span class="special">{</span>
42  <span class="comment">// ...</span>
43<span class="special">};</span>
44</pre>
45<p>
46        </p>
47<h6>
48<a name="geometry.reference.strategies.strategy_line_interpolate_geographic.h1"></a>
49          <span class="phrase"><a name="geometry.reference.strategies.strategy_line_interpolate_geographic.template_parameter_s_"></a></span><a class="link" href="strategy_line_interpolate_geographic.html#geometry.reference.strategies.strategy_line_interpolate_geographic.template_parameter_s_">Template
50          parameter(s)</a>
51        </h6>
52<div class="informaltable"><table class="table">
53<colgroup>
54<col>
55<col>
56<col>
57</colgroup>
58<thead><tr>
59<th>
60                  <p>
61                    Parameter
62                  </p>
63                </th>
64<th>
65                  <p>
66                    Default
67                  </p>
68                </th>
69<th>
70                  <p>
71                    Description
72                  </p>
73                </th>
74</tr></thead>
75<tbody>
76<tr>
77<td>
78                  <p>
79                    typename FormulaPolicy
80                  </p>
81                </td>
82<td>
83                  <p>
84                    strategy::andoyer
85                  </p>
86                </td>
87<td>
88                  <p>
89                    The geodesic formulas used internally.
90                  </p>
91                </td>
92</tr>
93<tr>
94<td>
95                  <p>
96                    typename Spheroid
97                  </p>
98                </td>
99<td>
100                  <p>
101                    srs::spheroid&lt;double&gt;
102                  </p>
103                </td>
104<td>
105                  <p>
106                    The spheroid model.
107                  </p>
108                </td>
109</tr>
110<tr>
111<td>
112                  <p>
113                    typename CalculationType
114                  </p>
115                </td>
116<td>
117                  <p>
118                    void
119                  </p>
120                </td>
121<td>
122                  <p>
123                    numeric type for calculation (e.g. high precision); if <span class="bold"><strong>void</strong></span> then it is extracted automatically
124                    from the coordinate type and (if necessary) promoted to floating
125                    point
126                  </p>
127                </td>
128</tr>
129</tbody>
130</table></div>
131<h6>
132<a name="geometry.reference.strategies.strategy_line_interpolate_geographic.h2"></a>
133          <span class="phrase"><a name="geometry.reference.strategies.strategy_line_interpolate_geographic.constructor_s_"></a></span><a class="link" href="strategy_line_interpolate_geographic.html#geometry.reference.strategies.strategy_line_interpolate_geographic.constructor_s_">Constructor(s)</a>
134        </h6>
135<div class="informaltable"><table class="table">
136<colgroup>
137<col>
138<col>
139<col>
140</colgroup>
141<thead><tr>
142<th>
143                  <p>
144                    Function
145                  </p>
146                </th>
147<th>
148                  <p>
149                    Description
150                  </p>
151                </th>
152<th>
153                  <p>
154                    Parameters
155                  </p>
156                </th>
157</tr></thead>
158<tbody>
159<tr>
160<td>
161                  <p>
162</p>
163<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">geographic</span><span class="special">()</span></pre>
164<p>
165                  </p>
166                </td>
167<td>
168                </td>
169<td>
170                </td>
171</tr>
172<tr>
173<td>
174                  <p>
175</p>
176<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">geographic</span><span class="special">(</span><span class="identifier">Spheroid</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">spheroid</span><span class="special">)</span></pre>
177<p>
178                  </p>
179                </td>
180<td>
181                </td>
182<td>
183                  <p>
184                    <span class="bold"><strong>Spheroid const &amp;</strong></span>: <span class="emphasis"><em>spheroid</em></span>:
185                  </p>
186                </td>
187</tr>
188</tbody>
189</table></div>
190<h6>
191<a name="geometry.reference.strategies.strategy_line_interpolate_geographic.h3"></a>
192          <span class="phrase"><a name="geometry.reference.strategies.strategy_line_interpolate_geographic.member_function_s_"></a></span><a class="link" href="strategy_line_interpolate_geographic.html#geometry.reference.strategies.strategy_line_interpolate_geographic.member_function_s_">Member
193          Function(s)</a>
194        </h6>
195<div class="informaltable"><table class="table">
196<colgroup>
197<col>
198<col>
199<col>
200<col>
201</colgroup>
202<thead><tr>
203<th>
204                  <p>
205                    Function
206                  </p>
207                </th>
208<th>
209                  <p>
210                    Description
211                  </p>
212                </th>
213<th>
214                  <p>
215                    Parameters
216                  </p>
217                </th>
218<th>
219                  <p>
220                    Returns
221                  </p>
222                </th>
223</tr></thead>
224<tbody>
225<tr>
226<td>
227                  <p>
228</p>
229<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">distance_pp_strategy</span><span class="special">::</span><span class="identifier">type</span> <span class="identifier">get_distance_pp_strategy</span><span class="special">()</span></pre>
230<p>
231                  </p>
232                </td>
233<td>
234                </td>
235<td>
236                </td>
237<td>
238                </td>
239</tr>
240<tr>
241<td>
242                  <p>
243</p>
244<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Point</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Fraction</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Distance</span><span class="special">&gt;</span>
245<span class="keyword">void</span> <span class="identifier">apply</span><span class="special">(</span><span class="identifier">Point</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">p0</span><span class="special">,</span> <span class="identifier">Point</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">p1</span><span class="special">,</span> <span class="identifier">Fraction</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">fraction</span><span class="special">,</span>
246           <span class="identifier">Point</span> <span class="special">&amp;</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">Distance</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">distance</span><span class="special">)</span></pre>
247<p>
248                  </p>
249                </td>
250<td>
251                </td>
252<td>
253                  <p>
254                    <span class="bold"><strong>Point const &amp;</strong></span>: <span class="emphasis"><em>p0</em></span>:
255                  </p>
256                  <p>
257                    <span class="bold"><strong>Point const &amp;</strong></span>: <span class="emphasis"><em>p1</em></span>:
258                  </p>
259                  <p>
260                    <span class="bold"><strong>Fraction const &amp;</strong></span>: <span class="emphasis"><em>fraction</em></span>:
261                  </p>
262                  <p>
263                    <span class="bold"><strong>Point &amp;</strong></span>: <span class="emphasis"><em>p</em></span>:
264                  </p>
265                  <p>
266                    <span class="bold"><strong>Distance const &amp;</strong></span>: <span class="emphasis"><em>distance</em></span>:
267                  </p>
268                </td>
269<td>
270                </td>
271</tr>
272</tbody>
273</table></div>
274<h6>
275<a name="geometry.reference.strategies.strategy_line_interpolate_geographic.h4"></a>
276          <span class="phrase"><a name="geometry.reference.strategies.strategy_line_interpolate_geographic.header"></a></span><a class="link" href="strategy_line_interpolate_geographic.html#geometry.reference.strategies.strategy_line_interpolate_geographic.header">Header</a>
277        </h6>
278<p>
279          <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">strategies</span><span class="special">/</span><span class="identifier">geographic</span><span class="special">/</span><span class="identifier">line_interpolate</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
280        </p>
281<h6>
282<a name="geometry.reference.strategies.strategy_line_interpolate_geographic.h5"></a>
283          <span class="phrase"><a name="geometry.reference.strategies.strategy_line_interpolate_geographic.see_also"></a></span><a class="link" href="strategy_line_interpolate_geographic.html#geometry.reference.strategies.strategy_line_interpolate_geographic.see_also">See
284          also</a>
285        </h6>
286<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
287<li class="listitem">
288              <a class="link" href="../algorithms/line_interpolate/line_interpolate_4_with_strategy.html" title="line_interpolate (with strategy)">line_interpolate
289              (with strategy)</a>
290            </li>
291<li class="listitem">
292              <a class="link" href="../srs/srs_spheroid.html" title="srs::spheroid">srs::spheroid</a>
293            </li>
294</ul></div>
295</div>
296<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
297<td align="left"></td>
298<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
299      Wulkiewicz, Oracle and/or its affiliates<p>
300        Distributed under the Boost Software License, Version 1.0. (See accompanying
301        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
302      </p>
303</div></td>
304</tr></table>
305<hr>
306<div class="spirit-nav">
307<a accesskey="p" href="strategy_line_interpolate_cartesian.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../strategies.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="strategy_line_interpolate_spherical.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
308</div>
309</body>
310</html>
311