geos_390_docs/SimpleSTRtree_8h_source.html

89 lines
39 KiB
HTML
Raw Permalink Normal View History

2020-12-23 18:34:09 -08:00
<!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: SimpleSTRtree.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_03a38dff07b10298d54d94416a9986ca.html">strtree</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">SimpleSTRtree.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="SimpleSTRtree_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) 2020 Paul Ramsey</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;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</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="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="SpatialIndex_8h.html">geos/index/SpatialIndex.h</a>&gt;</span> <span class="comment">// for inheritance</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Envelope_8h.html">geos/geom/Envelope.h</a>&gt;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="SimpleSTRnode_8h.html">geos/index/strtree/SimpleSTRnode.h</a>&gt;</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;vector&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</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;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#pragma warning(push)</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree_html_a82affc7544a7e0750a93897d9d54e66e"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html#a82affc7544a7e0750a93897d9d54e66e">geos::index::strtree::SimpleSTRtree::built</a></div><div class="ttdeci">bool built</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00074">SimpleSTRtree.h:74</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="export_8h_html"><div class="ttname"><a href="export_8h.html">export.h</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html_a5cbe8f5d6139728874f9672f00252cfe"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#a5cbe8f5d6139728874f9672f00252cfe">geos::index::strtree::SimpleSTRnode::getNumLeafNodes</a></div><div class="ttdeci">std::size_t getNumLeafNodes() const </div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree_html"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html">geos::index::strtree::SimpleSTRtree</a></div><div class="ttdoc">A query-only R-tree created using the Sort-Tile-Recursive (STR) algorithm. For two-dimensional spatia...</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00065">SimpleSTRtree.h:65</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree_html_ad5d8d2a7ac993b65c5c1b20d46de07da"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html#ad5d8d2a7ac993b65c5c1b20d46de07da">geos::index::strtree::SimpleSTRtree::nodesQue</a></div><div class="ttdeci">std::deque&lt; SimpleSTRnode &gt; nodesQue</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00071">SimpleSTRtree.h:71</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html">geos::index::strtree::SimpleSTRnode</a></div><div class="ttdoc">A node of the STR tree. </div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00037">SimpleSTRnode.h:37</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree_html_acde08a65abf0217c28cebb4790e40de9"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html#acde08a65abf0217c28cebb4790e40de9">geos::index::strtree::SimpleSTRtree::getNodeCapacity</a></div><div class="ttdeci">std::size_t getNodeCapacity() const </div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00126">SimpleSTRtree.h:126</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Geometry_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Geometry.html">geos::geom::Geometry</a></div><div class="ttdoc">Basic implementation of Geometry, constructed and destructed by GeometryFactory. </div><div class="ttdef"><b>Definition:</b> <a href="Geometry_8h_source.html#l00188">Geometry.h:188</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1SpatialIndex_html"><div class="ttname"><a href="classgeos_1_1index_1_1SpatialIndex.html">geos::index::SpatialIndex</a></div><div class="ttdoc">Abstract class defines basic insertion and query operations supported by classes implementing spatial...</div><div class="ttdef"><b>Definition:</b> <a href="SpatialIndex_8h_source.html#l00047">SpatialIndex.h:47</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1ItemDistance_html"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1ItemDistance.html">geos::index::strtree::ItemDistance</a></div><div class="ttdoc">A function method which computes the distance between two ItemBoundables in an STRtree. Used for Nearest Neighbour searches. </div><div class="ttdef"><b>Definition:</b> <a href="ItemDistance_8h_source.html#l00034">ItemDistance.h:34</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree_html_a399ab7a3fb5f70cbb04e33ec1c1ad219"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html#a399ab7a3fb5f70cbb04e33ec1c1ad219">geos::index::strtree::SimpleSTRtree::nodes</a></div><div class="ttdeci">std::vector&lt; SimpleSTRnode * &gt; nodes</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00072">SimpleSTRtree.h:72</a></div></div>
<div class="ttc" id="namespacegeos_1_1geom_html_a2031e0143940407ca589d3216cf0eb06"><div class="ttname"><a href="namespacegeos_1_1geom.html#a2031e0143940407ca589d3216cf0eb06">geos::geom::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const Coordinate &amp;c)</div><div class="ttdoc">Output function. </div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree_html_a3ee90ba6106bdd32ae6b1a5190e13211"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html#a3ee90ba6106bdd32ae6b1a5190e13211">geos::index::strtree::SimpleSTRtree::root</a></div><div class="ttdeci">SimpleSTRnode * root</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00114">SimpleSTRtree.h:114</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1ItemVisitor_html"><div class="ttname"><a href="classgeos_1_1index_1_1ItemVisitor.html">geos::index::ItemVisitor</a></div><div class="ttdoc">A visitor for items in an index. </div><div class="ttdef"><b>Definition:</b> <a href="ItemVisitor_8h_source.html#l00029">ItemVisitor.h:29</a></div></div>
<div class="ttc" id="SpatialIndex_8h_html"><div class="ttname"><a href="SpatialIndex_8h.html">SpatialIndex.h</a></div></div>
<div class="ttc" id="namespacegeos_html"><div class="ttname"><a href="namespacegeos.html">geos</a></div><div class="ttdoc">Basic namespace for all GEOS functionalities. </div><div class="ttdef"><b>Definition:</b> <a href="IndexedNestedRingTester_8h_source.html#l00026">IndexedNestedRingTester.h:26</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree_html_a97280c129b343681e6dce67f514f926b"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html#a97280c129b343681e6dce67f514f926b">geos::index::strtree::SimpleSTRtree::getBuilt</a></div><div class="ttdeci">bool getBuilt() const </div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00139">SimpleSTRtree.h:139</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_1strtree_1_1SimpleSTRtree_html_a5886726f3492ca1a4faf9cbcb0b17c8e"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html#a5886726f3492ca1a4faf9cbcb0b17c8e">geos::index::strtree::SimpleSTRtree::getNumLeafNodes</a></div><div class="ttdeci">std::size_t getNumLeafNodes() const </div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00130">SimpleSTRtree.h:130</a></div></div>
<div class="ttc" id="SimpleSTRnode_8h_html"><div class="ttname"><a href="SimpleSTRnode_8h.html">SimpleSTRnode.h</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree_html_a2eb1b89f166844c7a5785f3fecc07fa9"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html#a2eb1b89f166844c7a5785f3fecc07fa9">geos::index::strtree::SimpleSTRtree::SimpleSTRtree</a></div><div class="ttdeci">SimpleSTRtree(std::size_t capacity=10)</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00120">SimpleSTRtree.h:120</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree_html_a6f1fbe00217a22d2a65f6111813ebd19"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html#a6f1fbe00217a22d2a65f6111813ebd19">geos::index::strtree::SimpleSTRtree::nodeCapacity</a></div><div class="ttdeci">std::size_t nodeCapacity</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00073">SimpleSTRtree.h:73</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree_html_afc3bb14df05f9caf9b5c528f0745107f"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRtree.html#afc3bb14df05f9caf9b5c528f0745107f">geos::index::strtree::SimpleSTRtree::getRoot</a></div><div class="ttdeci">SimpleSTRnode * getRoot()</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRtree_8h_source.html#l00143">SimpleSTRtree.h:143</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>