1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>strategy::densify::spherical</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_geographic.html" title="strategy::densify::geographic"> 10<link rel="next" href="strategy_distance_pythagoras.html" title="strategy::distance::pythagoras"> 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_geographic.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_distance_pythagoras.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_spherical"></a><a class="link" href="strategy_densify_spherical.html" title="strategy::densify::spherical">strategy::densify::spherical</a> 28</h4></div></div></div> 29<p> 30 <a class="indexterm" name="idm45635669373616"></a><a class="indexterm" name="idm45635669372928"></a><a class="indexterm" name="idm45635669372240"></a> 31Densification of spherical segment. 32 </p> 33<h6> 34<a name="geometry.reference.strategies.strategy_densify_spherical.h0"></a> 35 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_spherical.synopsis"></a></span><a class="link" href="strategy_densify_spherical.html#geometry.reference.strategies.strategy_densify_spherical.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">RadiusTypeOrSphere</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">spherical</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_spherical.h1"></a> 49 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_spherical.template_parameter_s_"></a></span><a class="link" href="strategy_densify_spherical.html#geometry.reference.strategies.strategy_densify_spherical.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 RadiusTypeOrSphere 80 </p> 81 </td> 82<td> 83 <p> 84 double 85 </p> 86 </td> 87<td> 88 <p> 89 numeric type for radius (of sphere, earth) or sphere model 90 </p> 91 </td> 92</tr> 93<tr> 94<td> 95 <p> 96 typename CalculationType 97 </p> 98 </td> 99<td> 100 <p> 101 void 102 </p> 103 </td> 104<td> 105 <p> 106 numeric type for calculation (e.g. high precision); if <span class="bold"><strong>void</strong></span> then it is extracted automatically 107 from the coordinate type and (if necessary) promoted to floating 108 point 109 </p> 110 </td> 111</tr> 112</tbody> 113</table></div> 114<h6> 115<a name="geometry.reference.strategies.strategy_densify_spherical.h2"></a> 116 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_spherical.constructor_s_"></a></span><a class="link" href="strategy_densify_spherical.html#geometry.reference.strategies.strategy_densify_spherical.constructor_s_">Constructor(s)</a> 117 </h6> 118<div class="informaltable"><table class="table"> 119<colgroup> 120<col> 121<col> 122<col> 123</colgroup> 124<thead><tr> 125<th> 126 <p> 127 Function 128 </p> 129 </th> 130<th> 131 <p> 132 Description 133 </p> 134 </th> 135<th> 136 <p> 137 Parameters 138 </p> 139 </th> 140</tr></thead> 141<tbody> 142<tr> 143<td> 144 <p> 145</p> 146<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">spherical</span><span class="special">()</span></pre> 147<p> 148 </p> 149 </td> 150<td> 151 </td> 152<td> 153 </td> 154</tr> 155<tr> 156<td> 157 <p> 158</p> 159<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">RadiusOrSphere</span><span class="special">></span> 160<span class="identifier">spherical</span><span class="special">(</span><span class="identifier">RadiusOrSphere</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">radius_or_sphere</span><span class="special">)</span></pre> 161<p> 162 </p> 163 </td> 164<td> 165 </td> 166<td> 167 <p> 168 <span class="bold"><strong>RadiusOrSphere const &</strong></span>: 169 <span class="emphasis"><em>radius_or_sphere</em></span>: 170 </p> 171 </td> 172</tr> 173</tbody> 174</table></div> 175<h6> 176<a name="geometry.reference.strategies.strategy_densify_spherical.h3"></a> 177 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_spherical.member_function_s_"></a></span><a class="link" href="strategy_densify_spherical.html#geometry.reference.strategies.strategy_densify_spherical.member_function_s_">Member 178 Function(s)</a> 179 </h6> 180<div class="informaltable"><table class="table"> 181<colgroup> 182<col> 183<col> 184<col> 185<col> 186</colgroup> 187<thead><tr> 188<th> 189 <p> 190 Function 191 </p> 192 </th> 193<th> 194 <p> 195 Description 196 </p> 197 </th> 198<th> 199 <p> 200 Parameters 201 </p> 202 </th> 203<th> 204 <p> 205 Returns 206 </p> 207 </th> 208</tr></thead> 209<tbody><tr> 210<td> 211 <p> 212</p> 213<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> 214<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> 215 <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> 216<p> 217 </p> 218 </td> 219<td> 220 </td> 221<td> 222 <p> 223 <span class="bold"><strong>Point const &</strong></span>: <span class="emphasis"><em>p0</em></span>: 224 </p> 225 <p> 226 <span class="bold"><strong>Point const &</strong></span>: <span class="emphasis"><em>p1</em></span>: 227 </p> 228 <p> 229 <span class="bold"><strong>AssignPolicy &</strong></span>: <span class="emphasis"><em>policy</em></span>: 230 </p> 231 <p> 232 <span class="bold"><strong>T const &</strong></span>: <span class="emphasis"><em>length_threshold</em></span>: 233 </p> 234 </td> 235<td> 236 </td> 237</tr></tbody> 238</table></div> 239<h6> 240<a name="geometry.reference.strategies.strategy_densify_spherical.h4"></a> 241 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_spherical.header"></a></span><a class="link" href="strategy_densify_spherical.html#geometry.reference.strategies.strategy_densify_spherical.header">Header</a> 242 </h6> 243<p> 244 <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">spherical</span><span class="special">/</span><span class="identifier">densify</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code> 245 </p> 246<h6> 247<a name="geometry.reference.strategies.strategy_densify_spherical.h5"></a> 248 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_spherical.see_also"></a></span><a class="link" href="strategy_densify_spherical.html#geometry.reference.strategies.strategy_densify_spherical.see_also">See 249 also</a> 250 </h6> 251<p> 252 <a class="link" href="../algorithms/densify/densify_4_with_strategy.html" title="densify (with strategy)">densify 253 (with strategy)</a> 254 </p> 255</div> 256<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 257<td align="left"></td> 258<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam 259 Wulkiewicz, Oracle and/or its affiliates<p> 260 Distributed under the Boost Software License, Version 1.0. (See accompanying 261 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>) 262 </p> 263</div></td> 264</tr></table> 265<hr> 266<div class="spirit-nav"> 267<a accesskey="p" href="strategy_densify_geographic.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_distance_pythagoras.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 268</div> 269</body> 270</html> 271