geos_390_docs/KdTree_8h_source.html

91 lines
36 KiB
HTML
Raw 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: KdTree.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_f269aa13b9968baf1e08657a5d472c3c.html">kdtree</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">KdTree.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="KdTree_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 &lt;pramsey@cleverelephant.ca&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</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="Envelope_8h.html">geos/geom/Envelope.h</a>&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="KdNodeVisitor_8h.html">geos/index/kdtree/KdNodeVisitor.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="KdNode_8h.html">geos/index/kdtree/KdNode.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;memory&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;deque&gt;</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="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_html_a470a7525a3aad237b49ccc540d0dce0b"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree.html#a470a7525a3aad237b49ccc540d0dce0b">geos::index::kdtree::KdTree::isEmpty</a></div><div class="ttdeci">bool isEmpty()</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00154">KdTree.h:154</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_html_a813c96abffdc67bf8453ae6e0910ef93"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree.html#a813c96abffdc67bf8453ae6e0910ef93">geos::index::kdtree::KdTree::KdTree</a></div><div class="ttdeci">KdTree()</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00142">KdTree.h:142</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_1kdtree_1_1KdTree_1_1AccumulatingVisitor_html_a881c36cfac5619a38dcdb74d97794c1d"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1AccumulatingVisitor.html#a881c36cfac5619a38dcdb74d97794c1d">geos::index::kdtree::KdTree::AccumulatingVisitor::visit</a></div><div class="ttdeci">void visit(KdNode *node) override</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00107">KdTree.h:107</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_1kdtree_1_1KdTree_1_1AccumulatingVisitor_html"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1AccumulatingVisitor.html">geos::index::kdtree::KdTree::AccumulatingVisitor</a></div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00103">KdTree.h:103</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1BestMatchVisitor_html"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1BestMatchVisitor.html">geos::index::kdtree::KdTree::BestMatchVisitor</a></div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00081">KdTree.h:81</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_html_a74c3824891f96fff181cf9ee193107cc"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree.html#a74c3824891f96fff181cf9ee193107cc">geos::index::kdtree::KdTree::root</a></div><div class="ttdeci">KdNode * root</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00060">KdTree.h:60</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_html_a27ffc5ac88de8971ef674fe6baea46ba"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree.html#a27ffc5ac88de8971ef674fe6baea46ba">geos::index::kdtree::KdTree::nodeQue</a></div><div class="ttdeci">std::deque&lt; KdNode &gt; nodeQue</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00059">KdTree.h:59</a></div></div>
<div class="ttc" id="KdNodeVisitor_8h_html"><div class="ttname"><a href="KdNodeVisitor_8h.html">KdNodeVisitor.h</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_html_a561b234a719b39132d32b6c64a49d578"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree.html#a561b234a719b39132d32b6c64a49d578">geos::index::kdtree::KdTree::KdTree</a></div><div class="ttdeci">KdTree(double p_tolerance)</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00148">KdTree.h:148</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_html_a3f2dfb9927b2e47ee00d2d43275fbcc4"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree.html#a3f2dfb9927b2e47ee00d2d43275fbcc4">geos::index::kdtree::KdTree::tolerance</a></div><div class="ttdeci">double tolerance</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00062">KdTree.h:62</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_html"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree.html">geos::index::kdtree::KdTree</a></div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00055">KdTree.h:55</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_html_a8f2ebb32e0a7f13b57a2dba5d261da95"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree.html#a8f2ebb32e0a7f13b57a2dba5d261da95">geos::index::kdtree::KdTree::numberOfNodes</a></div><div class="ttdeci">size_t numberOfNodes</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00061">KdTree.h:61</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1AccumulatingVisitor_html_a5293d76ff8655434ca060b69dd99d4bc"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1AccumulatingVisitor.html#a5293d76ff8655434ca060b69dd99d4bc">geos::index::kdtree::KdTree::AccumulatingVisitor::nodeList</a></div><div class="ttdeci">std::vector&lt; KdNode * &gt; &amp; nodeList</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00111">KdTree.h:111</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_1kdtree_1_1KdTree_1_1BestMatchVisitor_html_ab9112cfadbfa567aaa169c3fcca2c5f7"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1BestMatchVisitor.html#ab9112cfadbfa567aaa169c3fcca2c5f7">geos::index::kdtree::KdTree::BestMatchVisitor::tolerance</a></div><div class="ttdeci">double tolerance</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00090">KdTree.h:90</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1BestMatchVisitor_html_abb99ab4101696d88fc63b7a27e89e242"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1BestMatchVisitor.html#abb99ab4101696d88fc63b7a27e89e242">geos::index::kdtree::KdTree::BestMatchVisitor::matchDist</a></div><div class="ttdeci">double matchDist</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00092">KdTree.h:92</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdNode_html"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdNode.html">geos::index::kdtree::KdNode</a></div><div class="ttdef"><b>Definition:</b> <a href="KdNode_8h_source.html#l00030">KdNode.h:30</a></div></div>
<div class="ttc" id="KdNode_8h_html"><div class="ttname"><a href="KdNode_8h.html">KdNode.h</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1BestMatchVisitor_html_a767967724bf90eb7526eca9d039888fd"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1BestMatchVisitor.html#a767967724bf90eb7526eca9d039888fd">geos::index::kdtree::KdTree::BestMatchVisitor::matchNode</a></div><div class="ttdeci">KdNode * matchNode</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00091">KdTree.h:91</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdNodeVisitor_html"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdNodeVisitor.html">geos::index::kdtree::KdNodeVisitor</a></div><div class="ttdef"><b>Definition:</b> <a href="KdNodeVisitor_8h_source.html#l00027">KdNodeVisitor.h:27</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1AccumulatingVisitor_html_aadd8852c6ff0e49268ed0fd54163aeee"><div class="ttname"><a href="classgeos_1_1index_1_1kdtree_1_1KdTree_1_1AccumulatingVisitor.html#aadd8852c6ff0e49268ed0fd54163aeee">geos::index::kdtree::KdTree::AccumulatingVisitor::AccumulatingVisitor</a></div><div class="ttdeci">AccumulatingVisitor(std::vector&lt; KdNode * &gt; &amp;p_nodeList)</div><div class="ttdef"><b>Definition:</b> <a href="KdTree_8h_source.html#l00105">KdTree.h:105</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>