98 lines
48 KiB
HTML
98 lines
48 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: OffsetSegmentString.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
|
|
 <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 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>
|
|
<li><a href="globals.html"><span>File 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">OffsetSegmentString.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="OffsetSegmentString_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> <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) 2011 Sandro Santilli <strk@kbt.io></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Copyright (C) 2007 Refractions Research Inc.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * See the COPYING file for more information.</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"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * Last port: operation/buffer/OffsetSegmentString.java r378 (JTS-1.12)</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> <span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef GEOS_OP_BUFFER_OFFSETSEGMENTSTRING_H</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define GEOS_OP_BUFFER_OFFSETSEGMENTSTRING_H</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="Coordinate_8h.html">geos/geom/Coordinate.h</a>></span> <span class="comment">// for inlines</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="CoordinateSequence_8h.html">geos/geom/CoordinateSequence.h</a>></span> <span class="comment">// for inlines</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="CoordinateArraySequence_8h.html">geos/geom/CoordinateArraySequence.h</a>></span> <span class="comment">// for composition</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="PrecisionModel_8h.html">geos/geom/PrecisionModel.h</a>></span> <span class="comment">// for inlines</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <cassert></span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">namespace </span>operation { <span class="comment">// geos.operation</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">namespace </span>buffer { <span class="comment">// geos.operation.buffer</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html"> 43</a></span> <span class="keyword">class </span><a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html">OffsetSegmentString</a> {</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> <span class="keyword">private</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"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa5df13e72072aab4065c7649226df591"> 47</a></span>  <a class="code" href="classgeos_1_1geom_1_1CoordinateArraySequence.html">geom::CoordinateArraySequence</a>* <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa5df13e72072aab4065c7649226df591">ptList</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a54e2301acb8d079ca0444045d6cd1538"> 49</a></span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a>* <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a54e2301acb8d079ca0444045d6cd1538">precisionModel</a>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aaf8c97f1153f9c69633e91c1f5c5a36a"> 57</a></span>  <span class="keywordtype">double</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aaf8c97f1153f9c69633e91c1f5c5a36a">minimumVertexDistance</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">bool</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aee70d7214f78bc33b0f90573200b1a4b"> 67</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aee70d7214f78bc33b0f90573200b1a4b">isRedundant</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>& pt)<span class="keyword"> const</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">if</span>(ptList-><a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html#a0069f2bc78df952cd5495ae7c005fae9">size</a>() < 1) {</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>& lastPt = ptList-><a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html#a931a4baa65571e31e720c8d8d9390e31">back</a>();</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordtype">double</span> ptDist = pt.<a class="code" href="classgeos_1_1geom_1_1Coordinate.html#a9a30687133579e261178d099a238ef19">distance</a>(lastPt);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">if</span>(ptDist < minimumVertexDistance) {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  }</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#abfaeb201f9054a96aff4c970d3cbca76">OffsetSegmentString</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html">OffsetSegmentString</a>&) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html">OffsetSegmentString</a>& <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a1d44147f8aacfed0bab357d847b3ee76">operator=</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html">OffsetSegmentString</a>&) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">friend</span> std::ostream& <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a31d1781c226e131396b14efc66afb650">operator<< </a>(std::ostream& os, <span class="keyword">const</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html">OffsetSegmentString</a>& node);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#abfaeb201f9054a96aff4c970d3cbca76"> 87</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#abfaeb201f9054a96aff4c970d3cbca76">OffsetSegmentString</a>()</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  :</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  ptList(new geom::CoordinateArraySequence()),</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  precisionModel(nullptr),</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  minimumVertexDistance(0.0)</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a8f251e7f6ff4e070707613e3ce4ddd0e"> 95</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a8f251e7f6ff4e070707613e3ce4ddd0e">~OffsetSegmentString</a>()</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  {</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">delete</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa5df13e72072aab4065c7649226df591">ptList</a>;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  }</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">void</span></div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa9afb8620896239193299e45a88ae36a"> 101</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa9afb8620896239193299e45a88ae36a">reset</a>()</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">if</span>(ptList) {</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  ptList-><a class="code" href="classgeos_1_1geom_1_1CoordinateArraySequence.html#a578a02d24d641630430a61e64f33811b">clear</a>();</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  }</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">else</span> {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  ptList = <span class="keyword">new</span> <a class="code" href="classgeos_1_1geom_1_1CoordinateArraySequence.html">geom::CoordinateArraySequence</a>();</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  }</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  precisionModel = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  minimumVertexDistance = 0.0;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  }</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">void</span></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aaa2d07ee07e1af2921f2d75218e93065"> 115</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aaa2d07ee07e1af2921f2d75218e93065">setPrecisionModel</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a>* nPrecisionModel)</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  precisionModel = nPrecisionModel;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">void</span></div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a739b026ec53633a6452aab6e4e79c29c"> 121</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a739b026ec53633a6452aab6e4e79c29c">setMinimumVertexDistance</a>(<span class="keywordtype">double</span> nMinVertexDistance)</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  {</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  minimumVertexDistance = nMinVertexDistance;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordtype">void</span></div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#af0396534e5b1b319b1a910c352981f16"> 127</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#af0396534e5b1b319b1a910c352981f16">addPt</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>& pt)</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  assert(precisionModel);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> bufPt = pt;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  precisionModel-><a class="code" href="classgeos_1_1geom_1_1PrecisionModel.html#ac93fddf641db2575293d8987b75053af">makePrecise</a>(bufPt);</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="comment">// don't add duplicate (or near-duplicate) points</span></div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">if</span>(<a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aee70d7214f78bc33b0f90573200b1a4b">isRedundant</a>(bufPt)) {</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="comment">// we ask to allow repeated as we checked this ourself</span></div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="comment">// (JTS uses a vector for ptList, not a CoordinateSequence,</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="comment">// we should do the same)</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  ptList-><a class="code" href="classgeos_1_1geom_1_1CoordinateArraySequence.html#ae1409aea562c360eace0034ead757454">add</a>(bufPt, <span class="keyword">true</span>);</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  }</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordtype">void</span></div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#afc40a58541b14f096b4b5ff8762bdbc5"> 144</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#afc40a58541b14f096b4b5ff8762bdbc5">addPts</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>& pts, <span class="keywordtype">bool</span> isForward)</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">if</span>(isForward) {</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> i = 0, n = pts.<a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html#a0069f2bc78df952cd5495ae7c005fae9">size</a>(); i < n; ++i) {</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#af0396534e5b1b319b1a910c352981f16">addPt</a>(pts[i]);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  }</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">else</span> {</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> i = pts.<a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html#a0069f2bc78df952cd5495ae7c005fae9">size</a>(); i > 0; --i) {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#af0396534e5b1b319b1a910c352981f16">addPt</a>(pts[i - 1]);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  }</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  }</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  }</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordtype">void</span></div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a3eb4cd763f903d467179ce7ac56847e6"> 162</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a3eb4cd763f903d467179ce7ac56847e6">closeRing</a>()</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  {</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">if</span>(ptList-><a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html#a0069f2bc78df952cd5495ae7c005fae9">size</a>() < 1) {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>& startPt = ptList-><a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html#a70939ed2369aefcef44c6c8c6e5fbce1">front</a>();</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>& lastPt = ptList-><a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html#a931a4baa65571e31e720c8d8d9390e31">back</a>();</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">if</span>(startPt.<a class="code" href="classgeos_1_1geom_1_1Coordinate.html#afb42140c4c88c2d91d9ec231b6d08b21">equals</a>(lastPt)) {</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  }</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="comment">// we ask to allow repeated as we checked this ourself</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  ptList-><a class="code" href="classgeos_1_1geom_1_1CoordinateArraySequence.html#ae1409aea562c360eace0034ead757454">add</a>(startPt, <span class="keyword">true</span>);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  }</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>*</div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a77f602bc651ce2b4dae564bde33c9cf3"> 185</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a77f602bc651ce2b4dae564bde33c9cf3">getCoordinates</a>()</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  {</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a3eb4cd763f903d467179ce7ac56847e6">closeRing</a>();</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>* ret = <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa5df13e72072aab4065c7649226df591">ptList</a>;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  ptList = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  }</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">inline</span> <span class="keywordtype">size_t</span></div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a0df9668c7ab2ad42d1d91c8a21e7061f"> 194</a></span>  <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a0df9668c7ab2ad42d1d91c8a21e7061f">size</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordflow">return</span> ptList ? ptList-><a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html#a0069f2bc78df952cd5495ae7c005fae9">size</a>() : 0 ;</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> </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="l00201"></a><span class="lineno"> 201</span> <span class="keyword">inline</span> std::ostream&</div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="namespacegeos_1_1operation_1_1buffer.html#a6a0f3fc5196625dfc0745b8cc17257ea"> 202</a></span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a31d1781c226e131396b14efc66afb650">operator<< </a>(std::ostream& os,</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html">OffsetSegmentString</a>& lst)</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> {</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">if</span>(lst.<a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa5df13e72072aab4065c7649226df591">ptList</a>) {</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  os << *(lst.<a class="code" href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa5df13e72072aab4065c7649226df591">ptList</a>);</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  }</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordflow">else</span> {</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  os << <span class="stringliteral">"empty (consumed?)"</span>;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  }</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">return</span> os;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span> }</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> } <span class="comment">// namespace geos.operation.buffer</span></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> } <span class="comment">// namespace geos.operation</span></div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> } <span class="comment">// namespace geos</span></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> </div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="preprocessor">#endif // ndef GEOS_OP_BUFFER_OFFSETSEGMENTSTRING_H</span></div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div><div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a1d44147f8aacfed0bab357d847b3ee76"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a1d44147f8aacfed0bab357d847b3ee76">geos::operation::buffer::OffsetSegmentString::operator=</a></div><div class="ttdeci">OffsetSegmentString & operator=(const OffsetSegmentString &)=delete</div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a54e2301acb8d079ca0444045d6cd1538"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a54e2301acb8d079ca0444045d6cd1538">geos::operation::buffer::OffsetSegmentString::precisionModel</a></div><div class="ttdeci">const geom::PrecisionModel * precisionModel</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00049">OffsetSegmentString.h:49</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_aee70d7214f78bc33b0f90573200b1a4b"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aee70d7214f78bc33b0f90573200b1a4b">geos::operation::buffer::OffsetSegmentString::isRedundant</a></div><div class="ttdeci">bool isRedundant(const geom::Coordinate &pt) const </div><div class="ttdoc">Tests whether the given point is redundant relative to the previous point in the list (up to toleranc...</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00067">OffsetSegmentString.h:67</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateArraySequence_html"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateArraySequence.html">geos::geom::CoordinateArraySequence</a></div><div class="ttdoc">The default implementation of CoordinateSequence. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateArraySequence_8h_source.html#l00037">CoordinateArraySequence.h:37</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a0df9668c7ab2ad42d1d91c8a21e7061f"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a0df9668c7ab2ad42d1d91c8a21e7061f">geos::operation::buffer::OffsetSegmentString::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00194">OffsetSegmentString.h:194</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html">geos::geom::Coordinate</a></div><div class="ttdoc">Coordinate is the lightweight class used to store coordinates. </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00060">Coordinate.h:60</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html">geos::operation::buffer::OffsetSegmentString</a></div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00043">OffsetSegmentString.h:43</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_aa9afb8620896239193299e45a88ae36a"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa9afb8620896239193299e45a88ae36a">geos::operation::buffer::OffsetSegmentString::reset</a></div><div class="ttdeci">void reset()</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00101">OffsetSegmentString.h:101</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_aaf8c97f1153f9c69633e91c1f5c5a36a"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aaf8c97f1153f9c69633e91c1f5c5a36a">geos::operation::buffer::OffsetSegmentString::minimumVertexDistance</a></div><div class="ttdeci">double minimumVertexDistance</div><div class="ttdoc">The distance below which two adjacent points on the curve are considered to be coincident. </div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00057">OffsetSegmentString.h:57</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateSequence_html_a931a4baa65571e31e720c8d8d9390e31"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html#a931a4baa65571e31e720c8d8d9390e31">geos::geom::CoordinateSequence::back</a></div><div class="ttdeci">const Coordinate & back() const </div><div class="ttdoc">Return last Coordinate in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00088">CoordinateSequence.h:88</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1PrecisionModel_html"><div class="ttname"><a href="classgeos_1_1geom_1_1PrecisionModel.html">geos::geom::PrecisionModel</a></div><div class="ttdoc">Specifies the precision model of the Coordinate in a Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="PrecisionModel_8h_source.html#l00087">PrecisionModel.h:87</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateSequence_html_a0069f2bc78df952cd5495ae7c005fae9"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html#a0069f2bc78df952cd5495ae7c005fae9">geos::geom::CoordinateSequence::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00120">CoordinateSequence.h:120</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a3eb4cd763f903d467179ce7ac56847e6"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a3eb4cd763f903d467179ce7ac56847e6">geos::operation::buffer::OffsetSegmentString::closeRing</a></div><div class="ttdeci">void closeRing()</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00162">OffsetSegmentString.h:162</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_abfaeb201f9054a96aff4c970d3cbca76"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#abfaeb201f9054a96aff4c970d3cbca76">geos::operation::buffer::OffsetSegmentString::OffsetSegmentString</a></div><div class="ttdeci">OffsetSegmentString()</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00087">OffsetSegmentString.h:87</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a739b026ec53633a6452aab6e4e79c29c"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a739b026ec53633a6452aab6e4e79c29c">geos::operation::buffer::OffsetSegmentString::setMinimumVertexDistance</a></div><div class="ttdeci">void setMinimumVertexDistance(double nMinVertexDistance)</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00121">OffsetSegmentString.h:121</a></div></div>
|
|
<div class="ttc" id="CoordinateSequence_8h_html"><div class="ttname"><a href="CoordinateSequence_8h.html">CoordinateSequence.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a77f602bc651ce2b4dae564bde33c9cf3"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a77f602bc651ce2b4dae564bde33c9cf3">geos::operation::buffer::OffsetSegmentString::getCoordinates</a></div><div class="ttdeci">geom::CoordinateSequence * getCoordinates()</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00185">OffsetSegmentString.h:185</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateArraySequence_html_ae1409aea562c360eace0034ead757454"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateArraySequence.html#ae1409aea562c360eace0034ead757454">geos::geom::CoordinateArraySequence::add</a></div><div class="ttdeci">void add(const Coordinate &c)</div><div class="ttdoc">Add a Coordinate to the list. </div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_afc40a58541b14f096b4b5ff8762bdbc5"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#afc40a58541b14f096b4b5ff8762bdbc5">geos::operation::buffer::OffsetSegmentString::addPts</a></div><div class="ttdeci">void addPts(const geom::CoordinateSequence &pts, bool isForward)</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00144">OffsetSegmentString.h:144</a></div></div>
|
|
<div class="ttc" id="CoordinateArraySequence_8h_html"><div class="ttname"><a href="CoordinateArraySequence_8h.html">CoordinateArraySequence.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html_afb42140c4c88c2d91d9ec231b6d08b21"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#afb42140c4c88c2d91d9ec231b6d08b21">geos::geom::Coordinate::equals</a></div><div class="ttdeci">bool equals(const Coordinate &other) const </div><div class="ttdoc">2D only </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_1OffsetSegmentString_html_aaa2d07ee07e1af2921f2d75218e93065"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aaa2d07ee07e1af2921f2d75218e93065">geos::operation::buffer::OffsetSegmentString::setPrecisionModel</a></div><div class="ttdeci">void setPrecisionModel(const geom::PrecisionModel *nPrecisionModel)</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00115">OffsetSegmentString.h:115</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1PrecisionModel_html_ac93fddf641db2575293d8987b75053af"><div class="ttname"><a href="classgeos_1_1geom_1_1PrecisionModel.html#ac93fddf641db2575293d8987b75053af">geos::geom::PrecisionModel::makePrecise</a></div><div class="ttdeci">double makePrecise(double val) const </div><div class="ttdoc">Rounds a numeric value to the PrecisionModel grid. </div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html_a9a30687133579e261178d099a238ef19"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#a9a30687133579e261178d099a238ef19">geos::geom::Coordinate::distance</a></div><div class="ttdeci">double distance(const Coordinate &p) const </div></div>
|
|
<div class="ttc" id="PrecisionModel_8h_html"><div class="ttname"><a href="PrecisionModel_8h.html">PrecisionModel.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_af0396534e5b1b319b1a910c352981f16"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#af0396534e5b1b319b1a910c352981f16">geos::operation::buffer::OffsetSegmentString::addPt</a></div><div class="ttdeci">void addPt(const geom::Coordinate &pt)</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00127">OffsetSegmentString.h:127</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateSequence_html"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html">geos::geom::CoordinateSequence</a></div><div class="ttdoc">The internal representation of a list of coordinates inside a Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00058">CoordinateSequence.h:58</a></div></div>
|
|
<div class="ttc" id="Coordinate_8h_html"><div class="ttname"><a href="Coordinate_8h.html">Coordinate.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateArraySequence_html_a578a02d24d641630430a61e64f33811b"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateArraySequence.html#a578a02d24d641630430a61e64f33811b">geos::geom::CoordinateArraySequence::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">Reset this CoordinateArraySequence to the empty state. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateArraySequence_8h_source.html#l00086">CoordinateArraySequence.h:86</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a8f251e7f6ff4e070707613e3ce4ddd0e"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a8f251e7f6ff4e070707613e3ce4ddd0e">geos::operation::buffer::OffsetSegmentString::~OffsetSegmentString</a></div><div class="ttdeci">~OffsetSegmentString()</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00095">OffsetSegmentString.h:95</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a31d1781c226e131396b14efc66afb650"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a31d1781c226e131396b14efc66afb650">geos::operation::buffer::OffsetSegmentString::operator<<</a></div><div class="ttdeci">friend std::ostream & operator<<(std::ostream &os, const OffsetSegmentString &node)</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00202">OffsetSegmentString.h:202</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_aa5df13e72072aab4065c7649226df591"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa5df13e72072aab4065c7649226df591">geos::operation::buffer::OffsetSegmentString::ptList</a></div><div class="ttdeci">geom::CoordinateArraySequence * ptList</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00047">OffsetSegmentString.h:47</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateSequence_html_a70939ed2369aefcef44c6c8c6e5fbce1"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html#a70939ed2369aefcef44c6c8c6e5fbce1">geos::geom::CoordinateSequence::front</a></div><div class="ttdeci">const Coordinate & front() const </div><div class="ttdoc">Return first Coordinate in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00095">CoordinateSequence.h:95</a></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.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|