1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>strategy::densify::cartesian</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_convex_hull_graham_andrew.html" title="strategy::convex_hull::graham_andrew"> 10<link rel="next" href="strategy_densify_geographic.html" title="strategy::densify::geographic"> 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_convex_hull_graham_andrew.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_geographic.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_cartesian"></a><a class="link" href="strategy_densify_cartesian.html" title="strategy::densify::cartesian">strategy::densify::cartesian</a> 28</h4></div></div></div> 29<p> 30 <a class="indexterm" name="idm45635669572320"></a><a class="indexterm" name="idm45635669571632"></a><a class="indexterm" name="idm45635669570944"></a> 31Densification of cartesian segment. 32 </p> 33<h6> 34<a name="geometry.reference.strategies.strategy_densify_cartesian.h0"></a> 35 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_cartesian.synopsis"></a></span><a class="link" href="strategy_densify_cartesian.html#geometry.reference.strategies.strategy_densify_cartesian.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">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">cartesian</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_cartesian.h1"></a> 49 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_cartesian.template_parameter_s_"></a></span><a class="link" href="strategy_densify_cartesian.html#geometry.reference.strategies.strategy_densify_cartesian.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><tr> 76<td> 77 <p> 78 typename CalculationType 79 </p> 80 </td> 81<td> 82 <p> 83 void 84 </p> 85 </td> 86<td> 87 <p> 88 numeric type for calculation (e.g. high precision); if <span class="bold"><strong>void</strong></span> then it is extracted automatically 89 from the coordinate type and (if necessary) promoted to floating 90 point 91 </p> 92 </td> 93</tr></tbody> 94</table></div> 95<h6> 96<a name="geometry.reference.strategies.strategy_densify_cartesian.h2"></a> 97 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_cartesian.member_function_s_"></a></span><a class="link" href="strategy_densify_cartesian.html#geometry.reference.strategies.strategy_densify_cartesian.member_function_s_">Member 98 Function(s)</a> 99 </h6> 100<div class="informaltable"><table class="table"> 101<colgroup> 102<col> 103<col> 104<col> 105<col> 106</colgroup> 107<thead><tr> 108<th> 109 <p> 110 Function 111 </p> 112 </th> 113<th> 114 <p> 115 Description 116 </p> 117 </th> 118<th> 119 <p> 120 Parameters 121 </p> 122 </th> 123<th> 124 <p> 125 Returns 126 </p> 127 </th> 128</tr></thead> 129<tbody><tr> 130<td> 131 <p> 132</p> 133<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> 134<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> 135 <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> 136<p> 137 </p> 138 </td> 139<td> 140 </td> 141<td> 142 <p> 143 <span class="bold"><strong>Point const &</strong></span>: <span class="emphasis"><em>p0</em></span>: 144 </p> 145 <p> 146 <span class="bold"><strong>Point const &</strong></span>: <span class="emphasis"><em>p1</em></span>: 147 </p> 148 <p> 149 <span class="bold"><strong>AssignPolicy &</strong></span>: <span class="emphasis"><em>policy</em></span>: 150 </p> 151 <p> 152 <span class="bold"><strong>T const &</strong></span>: <span class="emphasis"><em>length_threshold</em></span>: 153 </p> 154 </td> 155<td> 156 </td> 157</tr></tbody> 158</table></div> 159<h6> 160<a name="geometry.reference.strategies.strategy_densify_cartesian.h3"></a> 161 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_cartesian.header"></a></span><a class="link" href="strategy_densify_cartesian.html#geometry.reference.strategies.strategy_densify_cartesian.header">Header</a> 162 </h6> 163<p> 164 <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">cartesian</span><span class="special">/</span><span class="identifier">densify</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code> 165 </p> 166<h6> 167<a name="geometry.reference.strategies.strategy_densify_cartesian.h4"></a> 168 <span class="phrase"><a name="geometry.reference.strategies.strategy_densify_cartesian.see_also"></a></span><a class="link" href="strategy_densify_cartesian.html#geometry.reference.strategies.strategy_densify_cartesian.see_also">See 169 also</a> 170 </h6> 171<p> 172 <a class="link" href="../algorithms/densify/densify_4_with_strategy.html" title="densify (with strategy)">densify 173 (with strategy)</a> 174 </p> 175</div> 176<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 177<td align="left"></td> 178<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam 179 Wulkiewicz, Oracle and/or its affiliates<p> 180 Distributed under the Boost Software License, Version 1.0. (See accompanying 181 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>) 182 </p> 183</div></td> 184</tr></table> 185<hr> 186<div class="spirit-nav"> 187<a accesskey="p" href="strategy_convex_hull_graham_andrew.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_geographic.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 188</div> 189</body> 190</html> 191