EVOLUTION-MANAGER
Edit File: BufferParameters_8h_source.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.5"/> <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 style="padding-left: 0.5em;"> <div id="projectname">GEOS  <span id="projectnumber">3.5.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_78009f08da3e03d86b70776dcc463e92.html">include</a></li><li class="navelem"><a class="el" href="dir_40c9e98f0599f998dfc16f8b0ec4bf37.html">geos</a></li><li class="navelem"><a class="el" href="dir_67f3340353d8558b9d1caebb1f793818.html">operation</a></li><li class="navelem"><a class="el" href="dir_dbeca3d7f2f98289e5bb7625154f5cda.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"> <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/**********************************************************************</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * GEOS - Geometry Engine Open Source</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * http://geos.osgeo.org</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Copyright (C) 2009 Sandro Santilli <strk@keybit.net></span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <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> <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> <span class="comment"> * by the Free Software Foundation. </span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * See the COPYING file for more information.</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> **********************************************************************</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <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> <span class="comment"> *</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> **********************************************************************/</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"></span><span class="preprocessor">#define GEOS_OP_BUFFER_BUFFERPARAMETERS_H</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <geos/export.h></span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">//#include <vector></span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">//#include <geos/algorithm/LineIntersector.h> // for composition</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">//#include <geos/geom/Coordinate.h> // for composition</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">//#include <geos/geom/LineSegment.h> // for composition</span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#ifdef _MSC_VER</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor"></span><span class="preprocessor">#pragma warning(push)</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor"></span><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> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// Forward declarations</span></div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">namespace </span>geos {</div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">namespace </span>geom {</div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">class </span>CoordinateSequence;</div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">class </span>PrecisionModel;</div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">namespace </span>operation {</div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">namespace </span>buffer {</div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">class </span>OffsetCurveVertexList;</div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> }</div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">namespace </span>geos {</div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <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> <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> </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> <span class="keyword">class </span>GEOS_DLL <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> {</div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div> <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950"> 63</a></span>  <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="l00064"></a><span class="lineno"> 64</span> </div> <div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950a2115b456f33264168ae298f31cd10e84"> 66</a></span>  CAP_ROUND=1,</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> <div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950aedd88ac809cfcc7b2cc5e0300d6056a0"> 69</a></span>  CAP_FLAT=2,</div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div> <div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a4712bec3a5a2bb5c28ab43b3fe327950a1915b38145310e6c86cb0dc5231dd545"> 72</a></span>  CAP_SQUARE=3</div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  };</div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div> <div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7"> 76</a></span>  <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="l00077"></a><span class="lineno"> 77</span> </div> <div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7a9ded695910037ff23c849ddc68e73023"> 79</a></span>  JOIN_ROUND=1,</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div> <div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7a4f2854d8ec73a4843a22a51b8a2ecc09"> 82</a></span>  JOIN_MITRE=2,</div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div> <div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ae40a3908d24a3ac91212b35f8464b9c7ac2a1117219d301712e949c2257f7b3d1"> 85</a></span>  JOIN_BEVEL=3</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  };</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="comment">//</span></div> <div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ab0a64ab1030d5dc576449dbf9ecde9e8"> 96</a></span> <span class="comment"></span> <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="l00097"></a><span class="lineno"> 97</span> </div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="comment">//</span></div> <div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a5c2777985fa44e98de4d37b49956bad7"> 102</a></span> <span class="comment"></span> <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="l00103"></a><span class="lineno"> 103</span> </div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html">BufferParameters</a>();</div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">//</span></div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="comment"></span> <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="l00112"></a><span class="lineno"> 112</span> </div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">//</span></div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment"></span> <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="l00121"></a><span class="lineno"> 121</span> </div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="comment">//</span></div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="comment"></span> <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="l00132"></a><span class="lineno"> 132</span>  <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="l00133"></a><span class="lineno"> 133</span> </div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="comment">//</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> <span class="comment"></span> <span class="keywordtype">int</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#aab767f98e62c4d1a5c85137d378e2837">getQuadrantSegments</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> quadrantSegments; }</div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="comment">// </span></div> <div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment"></span> <span class="keywordtype">void</span> setQuadrantSegments(<span class="keywordtype">int</span> quadSegs);</div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="comment">//</span></div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="comment"></span> <span class="keyword">static</span> <span class="keywordtype">double</span> bufferDistanceError(<span class="keywordtype">int</span> quadSegs);</div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="comment">//</span></div> <div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#ad5876a1313f20facf9bc652d9a32b2e3"> 185</a></span> <span class="comment"></span> <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#ad5876a1313f20facf9bc652d9a32b2e3">getEndCapStyle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> endCapStyle; }</div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="comment">//</span></div> <div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a1b884eaa4f6bb49cb7547f6cbf2035f7"> 196</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <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="l00197"></a><span class="lineno"> 197</span>  {</div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  endCapStyle = style;</div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  }</div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="comment">//</span></div> <div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a57d08288074f88337e300537912c91b4"> 205</a></span> <span class="comment"></span> <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#a57d08288074f88337e300537912c91b4">getJoinStyle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> joinStyle; }</div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="comment">//</span></div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="comment"></span> <span class="comment">//</span></div> <div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a9b8fb6b023de5b70e658c81dc7a78f8e"> 216</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <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="l00217"></a><span class="lineno"> 217</span>  {</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  joinStyle = style;</div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  }</div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="comment">//</span></div> <div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#acbb8b435cb2d4ed8e66e3fa7a9c377e9"> 225</a></span> <span class="comment"></span> <span class="keywordtype">double</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#acbb8b435cb2d4ed8e66e3fa7a9c377e9">getMitreLimit</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mitreLimit; }</div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  </div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="comment">//</span></div> <div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a1c30adfb1d8385b59b58073ec6213410"> 240</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <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="l00241"></a><span class="lineno"> 241</span>  {</div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  mitreLimit = limit;</div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  }</div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span> </div> <div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#adc2afac5dacc613a39a72542bdb8bf21"> 262</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#adc2afac5dacc613a39a72542bdb8bf21">setSingleSided</a>(<span class="keywordtype">bool</span> isSingleSided)</div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  {</div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  _isSingleSided = isSingleSided;</div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  }</div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div> <div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#a0e7cf00e4b1bb3b6a4bd5e2a3709d535"> 272</a></span>  <span class="keywordtype">bool</span> <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="l00273"></a><span class="lineno"> 273</span>  <span class="keywordflow">return</span> _isSingleSided;</div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  }</div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span> </div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span> </div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordtype">int</span> quadrantSegments;</div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  EndCapStyle endCapStyle;</div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span> </div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  JoinStyle joinStyle;</div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keywordtype">double</span> mitreLimit;</div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordtype">bool</span> _isSingleSided;</div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span> };</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span> } <span class="comment">// namespace geos::operation::buffer</span></div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span> } <span class="comment">// namespace geos::operation</span></div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span> } <span class="comment">// namespace geos</span></div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="preprocessor">#ifdef _MSC_VER</span></div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="preprocessor"></span><span class="preprocessor">#pragma warning(pop)</span></div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="preprocessor">#endif // ndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H</span></div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="preprocessor"></span></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> BufferParameters.h:63</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="ttdoc">Gets the end cap style. </div><div class="ttdef"><b>Definition:</b> BufferParameters.h:185</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="ttdoc">Gets the join style. </div><div class="ttdef"><b>Definition:</b> BufferParameters.h:205</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> BufferParameters.h:216</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="ttdoc">Specifies the end cap style of the generated buffer. </div><div class="ttdef"><b>Definition:</b> BufferParameters.h:196</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="ttdoc">Sets the limit on the mitre ratio used for very sharp corners. </div><div class="ttdef"><b>Definition:</b> BufferParameters.h:240</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="ttdoc">Gets the mitre ratio limit. </div><div class="ttdef"><b>Definition:</b> BufferParameters.h:225</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> BufferParameters.h:57</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="ttdoc">The default mitre limit. </div><div class="ttdef"><b>Definition:</b> BufferParameters.h:102</div></div> <div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1BufferParameters_html_adc2afac5dacc613a39a72542bdb8bf21"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html#adc2afac5dacc613a39a72542bdb8bf21">geos::operation::buffer::BufferParameters::setSingleSided</a></div><div class="ttdeci">void setSingleSided(bool isSingleSided)</div><div class="ttdef"><b>Definition:</b> BufferParameters.h:262</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> BufferParameters.h:272</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="ttdoc">Gets the number of quadrant segments which will be used. </div><div class="ttdef"><b>Definition:</b> BufferParameters.h:138</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> BufferParameters.h:76</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>