1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>strategy::densify::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_densify_cartesian.html" title="strategy::densify::cartesian"> 10<link rel="next" href="strategy_densify_spherical.html" title="strategy::densify::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_densify_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_densify_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_densify_geographic"></a><a class="link" href="strategy_densify_geographic.html" title="strategy::densify::geographic">strategy::densify::geographic</a> 28</h4></div></div></div> 29<p> 30 <a class="indexterm" name="idm45635669488944"></a><a class="indexterm" name="idm45635669488256"></a><a class="indexterm" name="idm45635669487568"></a> 31Densification of geographic segment. 32 </p> 33<h6> 34<a name="geometry.reference.strategies.strategy_densify_geographic.h0"></a> 35 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_geographic.synopsis"></a></span><a class="link" href="strategy_densify_geographic.html#geometry.reference.strategies.strategy_densify_geographic.synopsis">Synopsis</a> 36 </h6> 37<p> 38</p> 39<pre class="programlisting"><span class="keyword">template</span><span class="special"><</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">></span> 40<span class="keyword">class</span> <span class="identifier">strategy</span><span class="special">::</span><span class="identifier">densify</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_densify_geographic.h1"></a> 49 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_geographic.template_parameter_s_"></a></span><a class="link" href="strategy_densify_geographic.html#geometry.reference.strategies.strategy_densify_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<double> 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_densify_geographic.h2"></a> 133 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_geographic.constructor_s_"></a></span><a class="link" href="strategy_densify_geographic.html#geometry.reference.strategies.strategy_densify_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">&</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 &</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_densify_geographic.h3"></a> 192 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_geographic.member_function_s_"></a></span><a class="link" href="strategy_densify_geographic.html#geometry.reference.strategies.strategy_densify_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><tr> 225<td> 226 <p> 227</p> 228<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Point</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">AssignPolicy</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span> 229<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">&</span> <span class="identifier">p0</span><span class="special">,</span> <span class="identifier">Point</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">p1</span><span class="special">,</span> <span class="identifier">AssignPolicy</span> <span class="special">&</span> <span class="identifier">policy</span><span class="special">,</span> 230 <span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">length_threshold</span><span class="special">)</span></pre> 231<p> 232 </p> 233 </td> 234<td> 235 </td> 236<td> 237 <p> 238 <span class="bold"><strong>Point const &</strong></span>: <span class="emphasis"><em>p0</em></span>: 239 </p> 240 <p> 241 <span class="bold"><strong>Point const &</strong></span>: <span class="emphasis"><em>p1</em></span>: 242 </p> 243 <p> 244 <span class="bold"><strong>AssignPolicy &</strong></span>: <span class="emphasis"><em>policy</em></span>: 245 </p> 246 <p> 247 <span class="bold"><strong>T const &</strong></span>: <span class="emphasis"><em>length_threshold</em></span>: 248 </p> 249 </td> 250<td> 251 </td> 252</tr></tbody> 253</table></div> 254<h6> 255<a name="geometry.reference.strategies.strategy_densify_geographic.h4"></a> 256 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_geographic.header"></a></span><a class="link" href="strategy_densify_geographic.html#geometry.reference.strategies.strategy_densify_geographic.header">Header</a> 257 </h6> 258<p> 259 <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</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">densify</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code> 260 </p> 261<h6> 262<a name="geometry.reference.strategies.strategy_densify_geographic.h5"></a> 263 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_geographic.see_also"></a></span><a class="link" href="strategy_densify_geographic.html#geometry.reference.strategies.strategy_densify_geographic.see_also">See 264 also</a> 265 </h6> 266<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 267<li class="listitem"> 268 <a class="link" href="../algorithms/densify/densify_4_with_strategy.html" title="densify (with strategy)">densify 269 (with strategy)</a> 270 </li> 271<li class="listitem"> 272 <a class="link" href="../srs/srs_spheroid.html" title="srs::spheroid">srs::spheroid</a> 273 </li> 274</ul></div> 275</div> 276<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 277<td align="left"></td> 278<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam 279 Wulkiewicz, Oracle and/or its affiliates<p> 280 Distributed under the Boost Software License, Version 1.0. (See accompanying 281 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>) 282 </p> 283</div></td> 284</tr></table> 285<hr> 286<div class="spirit-nav"> 287<a accesskey="p" href="strategy_densify_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_densify_spherical.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 288</div> 289</body> 290</html> 291