geos_390_docs/index_2chain_2MonotoneChain...

87 lines
36 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: MonotoneChain.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_c01eee2f0195f7c921c8a1b68ed5e74c.html">index</a></li><li class="navelem"><a class="el" href="dir_2f09fdf3fd97b0c048cf6b2d3a345c3f.html">chain</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">index/chain/MonotoneChain.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="index_2chain_2MonotoneChain_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) 2001-2002 Vivid Solutions Inc.</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: index/chain/MonotoneChain.java rev. 1.15 (JTS-1.10)</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_IDX_CHAIN_MONOTONECHAIN_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define GEOS_IDX_CHAIN_MONOTONECHAIN_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;<span class="preprocessor">#include &lt;<a class="code" href="Envelope_8h.html">geos/geom/Envelope.h</a>&gt;</span> <span class="comment">// for inline</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span> <span class="comment">// for unique_ptr</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment">// Forward declarations</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span>geom {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">class </span>LineSegment;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">class </span>CoordinateSequence;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;}</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">namespace </span>index {</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespacegeos_1_1index_1_1chain.html"> 34</a></span>&#160;<span class="keyword">namespace </span>chain {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">class </span><a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChainSelectAction.html">MonotoneChainSelectAction</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">class </span><a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">MonotoneChainOverlapAction</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;}</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;}</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;}</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><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">namespace </span>index { <span class="comment">// geos::index</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">namespace </span>chain { <span class="comment">// geos::index::chain</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html"> 84</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_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> {</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>&amp; pts,</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; std::size_t start, std::size_t end, <span class="keywordtype">void</span>* context);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; ~<a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a>&amp; getEnvelope();</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a>&amp; getEnvelope(<span class="keywordtype">double</span> expansionDistance);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordtype">size_t</span></div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a8f9b66d5416b9c17274a1212262ae8b9"> 107</a></span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a8f9b66d5416b9c17274a1212262ae8b9">getStartIndex</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">return</span> start;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; }</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordtype">size_t</span></div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ad2f9c7ca87dfda7c55341ec920d0eecf"> 113</a></span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ad2f9c7ca87dfda7c55341ec920d0eecf">getEndIndex</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordflow">return</span> end;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; }</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keywordtype">void</span> getLineSegment(std::size_t index, <a class="code" href="classgeos_1_1geom_1_1LineSegment.html">geom::LineSegment</a>&amp; ls) <span class="keyword">const</span>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; std::unique_ptr&lt;geom::CoordinateSequence&gt; getCoordinates() <span class="keyword">const</span>;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordtype">void</span> select(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a>&amp; searchEnv,</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChainSelectAction.html">MonotoneChainSelectAction</a>&amp; mcs);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordtype">void</span> computeOverlaps(<a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>* mc,</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">MonotoneChainOverlapAction</a>* mco);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <span class="keywordtype">void</span> computeOverlaps(<a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>* mc, <span class="keywordtype">double</span> overlapTolerance,</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">MonotoneChainOverlapAction</a>* mco);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keywordtype">void</span></div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a88677ce5251bd5922b8a4b46b1ee1136"> 145</a></span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a88677ce5251bd5922b8a4b46b1ee1136">setId</a>(<span class="keywordtype">int</span> nId)</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; {</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordtype">id</span> = nId;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keyword">inline</span> <span class="keywordtype">int</span></div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a4d302f81cdf85882273f924e648da59c"> 151</a></span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a4d302f81cdf85882273f924e648da59c">getId</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordflow">return</span> id;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; }</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">void</span>*</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#af6b31fc51b9b3516235732e011f99652"> 157</a></span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#af6b31fc51b9b3516235732e011f99652">getContext</a>()</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; {</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordflow">return</span> context;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; }</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordtype">void</span> computeSelect(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a>&amp; searchEnv,</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordtype">size_t</span> start0,</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordtype">size_t</span> end0,</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChainSelectAction.html">MonotoneChainSelectAction</a>&amp; mcs);</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keywordtype">void</span> computeOverlaps(std::size_t start0, std::size_t end0, <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>&amp; mc,</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; std::size_t start1, std::size_t end1,</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordtype">double</span> overlapTolerance,</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">MonotoneChainOverlapAction</a>&amp; mco);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordtype">bool</span> overlaps(<span class="keywordtype">size_t</span> start0, <span class="keywordtype">size_t</span> end0,</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>&amp; mc, <span class="keywordtype">size_t</span> start1, <span class="keywordtype">size_t</span> end1,</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordtype">double</span> overlapTolerance) <span class="keyword">const</span>;</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordtype">bool</span> overlaps(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; p1, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; p2,</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; q1, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; q2,</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordtype">double</span> overlapTolerance) <span class="keyword">const</span>;</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a4d629323d44bfe95b637fecf1f2e9af1"> 183</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>&amp; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a4d629323d44bfe95b637fecf1f2e9af1">pts</a>;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a26807c3cf0a8f11beea8425504458cb2"> 186</a></span>&#160; <span class="keywordtype">void</span>* <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a26807c3cf0a8f11beea8425504458cb2">context</a>;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a5ca2f4f60c589a454e7d2ce1076e980e"> 189</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a5ca2f4f60c589a454e7d2ce1076e980e">start</a>;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#aad34958a5bf5d468f0c8686131d905a7"> 192</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#aad34958a5bf5d468f0c8686131d905a7">end</a>;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ad0194bb1c05a7af7c361c8915d1862d7"> 195</a></span>&#160; <a class="code" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ad0194bb1c05a7af7c361c8915d1862d7">env</a>;</div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a25b77ce3692b439b2fe564def9425146"> 196</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a25b77ce3692b439b2fe564def9425146">envIsSet</a>;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ac93933d39ce50c51dd2989871cdc50f2"> 199</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ac93933d39ce50c51dd2989871cdc50f2">id</a>;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="comment">// Declare type as noncopyable</span></div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>&amp; other) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>&amp; rhs) = <span class="keyword">delete</span>;</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="l00207"></a><span class="lineno"> 207</span>&#160;} <span class="comment">// namespace geos::index::chain</span></div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;} <span class="comment">// namespace geos::index</span></div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;} <span class="comment">// namespace geos</span></div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;<span class="preprocessor">#endif // GEOS_IDX_CHAIN_MONOTONECHAIN_H</span></div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;</div><div class="ttc" id="classgeos_1_1geom_1_1LineSegment_html"><div class="ttname"><a href="classgeos_1_1geom_1_1LineSegment.html">geos::geom::LineSegment</a></div><div class="ttdef"><b>Definition:</b> <a href="LineSegment_8h_source.html#l00059">LineSegment.h:59</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html">geos::geom::Envelope</a></div><div class="ttdoc">An Envelope defines a rectangulare region of the 2D coordinate plane. </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00058">Envelope.h:58</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_a8f9b66d5416b9c17274a1212262ae8b9"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a8f9b66d5416b9c17274a1212262ae8b9">geos::index::chain::MonotoneChain::getStartIndex</a></div><div class="ttdeci">size_t getStartIndex() const </div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00107">index/chain/MonotoneChain.h:107</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_aad34958a5bf5d468f0c8686131d905a7"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#aad34958a5bf5d468f0c8686131d905a7">geos::index::chain::MonotoneChain::end</a></div><div class="ttdeci">size_t end</div><div class="ttdoc">Index of chain end vertex into the CoordinateSequence, 0 based. </div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00192">index/chain/MonotoneChain.h:192</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_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="export_8h_html"><div class="ttname"><a href="export_8h.html">export.h</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_af6b31fc51b9b3516235732e011f99652"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#af6b31fc51b9b3516235732e011f99652">geos::index::chain::MonotoneChain::getContext</a></div><div class="ttdeci">void * getContext()</div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00157">index/chain/MonotoneChain.h:157</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_a26807c3cf0a8f11beea8425504458cb2"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a26807c3cf0a8f11beea8425504458cb2">geos::index::chain::MonotoneChain::context</a></div><div class="ttdeci">void * context</div><div class="ttdoc">user-defined information </div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00186">index/chain/MonotoneChain.h:186</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction_html"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">geos::index::chain::MonotoneChainOverlapAction</a></div><div class="ttdoc">The action for the internal iterator for performing overlap queries on a MonotoneChain. </div><div class="ttdef"><b>Definition:</b> <a href="MonotoneChainOverlapAction_8h_source.html#l00043">MonotoneChainOverlapAction.h:43</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_a4d302f81cdf85882273f924e648da59c"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a4d302f81cdf85882273f924e648da59c">geos::index::chain::MonotoneChain::getId</a></div><div class="ttdeci">int getId() const </div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00151">index/chain/MonotoneChain.h:151</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_a5ca2f4f60c589a454e7d2ce1076e980e"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a5ca2f4f60c589a454e7d2ce1076e980e">geos::index::chain::MonotoneChain::start</a></div><div class="ttdeci">size_t start</div><div class="ttdoc">Index of chain start vertex into the CoordinateSequence, 0 based. </div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00189">index/chain/MonotoneChain.h:189</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChainSelectAction_html"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChainSelectAction.html">geos::index::chain::MonotoneChainSelectAction</a></div><div class="ttdef"><b>Definition:</b> <a href="MonotoneChainSelectAction_8h_source.html#l00045">MonotoneChainSelectAction.h:45</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_a25b77ce3692b439b2fe564def9425146"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a25b77ce3692b439b2fe564def9425146">geos::index::chain::MonotoneChain::envIsSet</a></div><div class="ttdeci">bool envIsSet</div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00196">index/chain/MonotoneChain.h:196</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_a88677ce5251bd5922b8a4b46b1ee1136"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a88677ce5251bd5922b8a4b46b1ee1136">geos::index::chain::MonotoneChain::setId</a></div><div class="ttdeci">void setId(int nId)</div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00145">index/chain/MonotoneChain.h:145</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="Envelope_8h_html"><div class="ttname"><a href="Envelope_8h.html">Envelope.h</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">geos::index::chain::MonotoneChain</a></div><div class="ttdoc">Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...</div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00084">index/chain/MonotoneChain.h:84</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="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_ad0194bb1c05a7af7c361c8915d1862d7"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ad0194bb1c05a7af7c361c8915d1862d7">geos::index::chain::MonotoneChain::env</a></div><div class="ttdeci">geom::Envelope env</div><div class="ttdoc">Owned by this class. </div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00195">index/chain/MonotoneChain.h:195</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_a4d629323d44bfe95b637fecf1f2e9af1"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a4d629323d44bfe95b637fecf1f2e9af1">geos::index::chain::MonotoneChain::pts</a></div><div class="ttdeci">const geom::CoordinateSequence &amp; pts</div><div class="ttdoc">Externally owned. </div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00183">index/chain/MonotoneChain.h:183</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_ad2f9c7ca87dfda7c55341ec920d0eecf"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ad2f9c7ca87dfda7c55341ec920d0eecf">geos::index::chain::MonotoneChain::getEndIndex</a></div><div class="ttdeci">size_t getEndIndex() const </div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00113">index/chain/MonotoneChain.h:113</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1chain_1_1MonotoneChain_html_ac93933d39ce50c51dd2989871cdc50f2"><div class="ttname"><a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ac93933d39ce50c51dd2989871cdc50f2">geos::index::chain::MonotoneChain::id</a></div><div class="ttdeci">int id</div><div class="ttdoc">useful for optimizing chain comparisons </div><div class="ttdef"><b>Definition:</b> <a href="index_2chain_2MonotoneChain_8h_source.html#l00199">index/chain/MonotoneChain.h:199</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>