geos_390_docs/BufferParameters_8h_source....

85 lines
39 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>GEOS: BufferParameters.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">GEOS
&#160;<span id="projectnumber">3.9.1dev</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0bc14b2fb119a11b6a0f32f4d350db61.html">geos</a></li><li class="navelem"><a class="el" href="dir_cc91dd2a378845bf7e3e6edb554afff8.html">operation</a></li><li class="navelem"><a class="el" href="dir_2f5cc8550fac9323e9b033a7d7316722.html">buffer</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">BufferParameters.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="BufferParameters_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * GEOS - Geometry Engine Open Source</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * http://geos.osgeo.org</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (C) 2009 Sandro Santilli &lt;strk@kbt.io&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> **********************************************************************</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * Last port: operation/buffer/BufferParameters.java r378 (JTS-1.12)</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#ifndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define GEOS_OP_BUFFER_BUFFERPARAMETERS_H</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="export_8h.html">geos/export.h</a>&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment">//#include &lt;vector&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment">//#include &lt;geos/algorithm/LineIntersector.h&gt; // for composition</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment">//#include &lt;geos/geom/Coordinate.h&gt; // for composition</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment">//#include &lt;geos/geom/LineSegment.h&gt; // for composition</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#pragma warning(push)</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="comment">// Forward declarations</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">namespace </span>geom {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">class </span>CoordinateSequence;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">class </span>PrecisionModel;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;}</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">namespace </span>operation {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">namespace </span>buffer {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">class </span>OffsetCurveVertexList;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;}</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;}</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;}</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keyword">namespace </span>operation { <span class="comment">// geos.operation</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keyword">namespace </span>buffer { <span class="comment">// geos.operation.buffer</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html"> 57</a></span>&#160;<span class="keyword">class </span><a class="code" href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html">BufferParameters</a> {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950"> 62</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950">EndCapStyle</a> {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950a2115b456f33264168ae298f31cd10e84"> 65</a></span>&#160; CAP_ROUND = 1,</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950aedd88ac809cfcc7b2cc5e0300d6056a0"> 68</a></span>&#160; CAP_FLAT = 2,</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950a1915b38145310e6c86cb0dc5231dd545"> 71</a></span>&#160; CAP_SQUARE = 3</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; };</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7"> 75</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7">JoinStyle</a> {</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7a9ded695910037ff23c849ddc68e73023"> 78</a></span>&#160; JOIN_ROUND = 1,</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7a4f2854d8ec73a4843a22a51b8a2ecc09"> 81</a></span>&#160; JOIN_MITRE = 2,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7ac2a1117219d301712e949c2257f7b3d1"> 84</a></span>&#160; JOIN_BEVEL = 3</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; };</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ab0a64ab1030d5dc576449dbf9ecde9e8"> 95</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> DEFAULT_QUADRANT_SEGMENTS = 8;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a5c2777985fa44e98de4d37b49956bad7"> 101</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a5c2777985fa44e98de4d37b49956bad7">DEFAULT_MITRE_LIMIT</a>; <span class="comment">// 5.0 (in .cpp file)</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html">BufferParameters</a>();</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html">BufferParameters</a>(<span class="keywordtype">int</span> quadrantSegments);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html">BufferParameters</a>(<span class="keywordtype">int</span> quadrantSegments, <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950">EndCapStyle</a> endCapStyle);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html">BufferParameters</a>(<span class="keywordtype">int</span> quadrantSegments, <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950">EndCapStyle</a> endCapStyle,</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7">JoinStyle</a> joinStyle, <span class="keywordtype">double</span> mitreLimit);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordtype">int</span></div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#aab767f98e62c4d1a5c85137d378e2837"> 138</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#aab767f98e62c4d1a5c85137d378e2837">getQuadrantSegments</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordflow">return</span> quadrantSegments;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; }</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordtype">void</span> setQuadrantSegments(<span class="keywordtype">int</span> quadSegs);</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">static</span> <span class="keywordtype">double</span> bufferDistanceError(<span class="keywordtype">int</span> quadSegs);</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950">EndCapStyle</a></div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ad5876a1313f20facf9bc652d9a32b2e3"> 187</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ad5876a1313f20facf9bc652d9a32b2e3">getEndCapStyle</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keywordflow">return</span> endCapStyle;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; }</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <span class="keywordtype">void</span></div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a1b884eaa4f6bb49cb7547f6cbf2035f7"> 202</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a1b884eaa4f6bb49cb7547f6cbf2035f7">setEndCapStyle</a>(<a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950">EndCapStyle</a> style)</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; {</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; endCapStyle = style;</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; }</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7">JoinStyle</a></div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a57d08288074f88337e300537912c91b4"> 212</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a57d08288074f88337e300537912c91b4">getJoinStyle</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keywordflow">return</span> joinStyle;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; }</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keywordtype">void</span></div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a9b8fb6b023de5b70e658c81dc7a78f8e"> 227</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a9b8fb6b023de5b70e658c81dc7a78f8e">setJoinStyle</a>(<a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7">JoinStyle</a> style)</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; {</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; joinStyle = style;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; }</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <span class="keywordtype">double</span></div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#acbb8b435cb2d4ed8e66e3fa7a9c377e9"> 237</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#acbb8b435cb2d4ed8e66e3fa7a9c377e9">getMitreLimit</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="keywordflow">return</span> mitreLimit;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; }</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <span class="keywordtype">void</span></div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a1c30adfb1d8385b59b58073ec6213410"> 256</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a1c30adfb1d8385b59b58073ec6213410">setMitreLimit</a>(<span class="keywordtype">double</span> limit)</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; {</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; mitreLimit = limit;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; }</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160;</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordtype">void</span></div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae2a7d92145547fb6e2852c41c5353700"> 279</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae2a7d92145547fb6e2852c41c5353700">setSingleSided</a>(<span class="keywordtype">bool</span> p_isSingleSided)</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; {</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; _isSingleSided = p_isSingleSided;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; }</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <span class="keywordtype">bool</span></div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a0e7cf00e4b1bb3b6a4bd5e2a3709d535"> 290</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a0e7cf00e4b1bb3b6a4bd5e2a3709d535">isSingleSided</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="keywordflow">return</span> _isSingleSided;</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; }</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;</div><div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ac46bc8d9ac2364226a11268fcdd1224f"> 299</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ac46bc8d9ac2364226a11268fcdd1224f">quadrantSegments</a>;</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae5a906a6cdb63784d2f7f7453b2052f7"> 302</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950">EndCapStyle</a> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae5a906a6cdb63784d2f7f7453b2052f7">endCapStyle</a>;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;</div><div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a6812973372f9efb911bcfd76b3997c0a"> 305</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7">JoinStyle</a> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a6812973372f9efb911bcfd76b3997c0a">joinStyle</a>;</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a0ee5ab7164407bfa06efce132d371ec0"> 308</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a0ee5ab7164407bfa06efce132d371ec0">mitreLimit</a>;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a38fe50ad39425198e3c97128a2b615c4"> 310</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a38fe50ad39425198e3c97128a2b615c4">_isSingleSided</a>;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;};</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;} <span class="comment">// namespace geos::operation::buffer</span></div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;} <span class="comment">// namespace geos::operation</span></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160;} <span class="comment">// namespace geos</span></div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;<span class="preprocessor">#pragma warning(pop)</span></div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;<span class="preprocessor">#endif // ndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H</span></div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;</div><div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_a4712bec3a5a2bb5c28ab43b3fe327950"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950">geos::operation::buffer::BufferParameters::EndCapStyle</a></div><div class="ttdeci">EndCapStyle</div><div class="ttdoc">End cap styles. </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00062">BufferParameters.h:62</a></div></div>
<div class="ttc" id="export_8h_html_ae36df939090171f6e9a28a8cb6254fea"><div class="ttname"><a href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a></div><div class="ttdeci">#define GEOS_DLL</div><div class="ttdef"><b>Definition:</b> <a href="export_8h_source.html#l00028">export.h:28</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_ae2a7d92145547fb6e2852c41c5353700"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae2a7d92145547fb6e2852c41c5353700">geos::operation::buffer::BufferParameters::setSingleSided</a></div><div class="ttdeci">void setSingleSided(bool p_isSingleSided)</div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00279">BufferParameters.h:279</a></div></div>
<div class="ttc" id="export_8h_html"><div class="ttname"><a href="export_8h.html">export.h</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_ad5876a1313f20facf9bc652d9a32b2e3"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ad5876a1313f20facf9bc652d9a32b2e3">geos::operation::buffer::BufferParameters::getEndCapStyle</a></div><div class="ttdeci">EndCapStyle getEndCapStyle() const </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00187">BufferParameters.h:187</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_a57d08288074f88337e300537912c91b4"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a57d08288074f88337e300537912c91b4">geos::operation::buffer::BufferParameters::getJoinStyle</a></div><div class="ttdeci">JoinStyle getJoinStyle() const </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00212">BufferParameters.h:212</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_a0ee5ab7164407bfa06efce132d371ec0"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a0ee5ab7164407bfa06efce132d371ec0">geos::operation::buffer::BufferParameters::mitreLimit</a></div><div class="ttdeci">double mitreLimit</div><div class="ttdoc">Defaults to DEFAULT_MITRE_LIMIT;. </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00308">BufferParameters.h:308</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_a9b8fb6b023de5b70e658c81dc7a78f8e"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a9b8fb6b023de5b70e658c81dc7a78f8e">geos::operation::buffer::BufferParameters::setJoinStyle</a></div><div class="ttdeci">void setJoinStyle(JoinStyle style)</div><div class="ttdoc">Sets the join style for outside (reflex) corners between line segments. </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00227">BufferParameters.h:227</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_ae5a906a6cdb63784d2f7f7453b2052f7"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae5a906a6cdb63784d2f7f7453b2052f7">geos::operation::buffer::BufferParameters::endCapStyle</a></div><div class="ttdeci">EndCapStyle endCapStyle</div><div class="ttdoc">Defaults to CAP_ROUND;. </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00302">BufferParameters.h:302</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_a1b884eaa4f6bb49cb7547f6cbf2035f7"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a1b884eaa4f6bb49cb7547f6cbf2035f7">geos::operation::buffer::BufferParameters::setEndCapStyle</a></div><div class="ttdeci">void setEndCapStyle(EndCapStyle style)</div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00202">BufferParameters.h:202</a></div></div>
<div class="ttc" id="namespacegeos_html"><div class="ttname"><a href="namespacegeos.html">geos</a></div><div class="ttdoc">Basic namespace for all GEOS functionalities. </div><div class="ttdef"><b>Definition:</b> <a href="IndexedNestedRingTester_8h_source.html#l00026">IndexedNestedRingTester.h:26</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_a1c30adfb1d8385b59b58073ec6213410"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a1c30adfb1d8385b59b58073ec6213410">geos::operation::buffer::BufferParameters::setMitreLimit</a></div><div class="ttdeci">void setMitreLimit(double limit)</div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00256">BufferParameters.h:256</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_acbb8b435cb2d4ed8e66e3fa7a9c377e9"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#acbb8b435cb2d4ed8e66e3fa7a9c377e9">geos::operation::buffer::BufferParameters::getMitreLimit</a></div><div class="ttdeci">double getMitreLimit() const </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00237">BufferParameters.h:237</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html">geos::operation::buffer::BufferParameters</a></div><div class="ttdoc">Contains the parameters which describe how a buffer should be constructed. </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00057">BufferParameters.h:57</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_a5c2777985fa44e98de4d37b49956bad7"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a5c2777985fa44e98de4d37b49956bad7">geos::operation::buffer::BufferParameters::DEFAULT_MITRE_LIMIT</a></div><div class="ttdeci">static const double DEFAULT_MITRE_LIMIT</div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00101">BufferParameters.h:101</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_a6812973372f9efb911bcfd76b3997c0a"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a6812973372f9efb911bcfd76b3997c0a">geos::operation::buffer::BufferParameters::joinStyle</a></div><div class="ttdeci">JoinStyle joinStyle</div><div class="ttdoc">Defaults to JOIN_ROUND;. </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00305">BufferParameters.h:305</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_a0e7cf00e4b1bb3b6a4bd5e2a3709d535"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a0e7cf00e4b1bb3b6a4bd5e2a3709d535">geos::operation::buffer::BufferParameters::isSingleSided</a></div><div class="ttdeci">bool isSingleSided() const </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00290">BufferParameters.h:290</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_aab767f98e62c4d1a5c85137d378e2837"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#aab767f98e62c4d1a5c85137d378e2837">geos::operation::buffer::BufferParameters::getQuadrantSegments</a></div><div class="ttdeci">int getQuadrantSegments() const </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00138">BufferParameters.h:138</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_ae40a3908d24a3ac91212b35f8464b9c7"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7">geos::operation::buffer::BufferParameters::JoinStyle</a></div><div class="ttdeci">JoinStyle</div><div class="ttdoc">Join styles. </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00075">BufferParameters.h:75</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_a38fe50ad39425198e3c97128a2b615c4"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a38fe50ad39425198e3c97128a2b615c4">geos::operation::buffer::BufferParameters::_isSingleSided</a></div><div class="ttdeci">bool _isSingleSided</div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00310">BufferParameters.h:310</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_ac46bc8d9ac2364226a11268fcdd1224f"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ac46bc8d9ac2364226a11268fcdd1224f">geos::operation::buffer::BufferParameters::quadrantSegments</a></div><div class="ttdeci">int quadrantSegments</div><div class="ttdoc">Defaults to DEFAULT_QUADRANT_SEGMENTS;. </div><div class="ttdef"><b>Definition:</b> <a href="BufferParameters_8h_source.html#l00299">BufferParameters.h:299</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>