geos_390_docs/SimpleSTRnode_8h_source.html

88 lines
32 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: SimpleSTRnode.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">SimpleSTRnode.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="SimpleSTRnode_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;cassert&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="export_8h.html">geos/export.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="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="ItemBoundable_8h.html">geos/index/strtree/ItemBoundable.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;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#pragma warning(push)</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class
<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_1strtree_1_1SimpleSTRnode_html_afdd9b99465ab3237190627fcd4b0e7e2"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#afdd9b99465ab3237190627fcd4b0e7e2">geos::index::strtree::SimpleSTRnode::isComposite</a></div><div class="ttdeci">bool isComposite() const </div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00120">SimpleSTRnode.h:120</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_1index_1_1strtree_1_1SimpleSTRnode_html_a5c3a5205cce41ab9c944b2c99b8943c6"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#a5c3a5205cce41ab9c944b2c99b8943c6">geos::index::strtree::SimpleSTRnode::SimpleSTRnode</a></div><div class="ttdeci">SimpleSTRnode(std::size_t newLevel, const geom::Envelope *p_env, void *p_item, size_t capacity=10)</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00051">SimpleSTRnode.h:51</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_a6b36d4cb5f0fcc216cef4e3d85203515"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#a6b36d4cb5f0fcc216cef4e3d85203515">geos::index::strtree::SimpleSTRnode::isLeaf</a></div><div class="ttdeci">bool isLeaf() const override</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00115">SimpleSTRnode.h:115</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html_aa17dd24d05e8491e4900f3beff63f724"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#aa17dd24d05e8491e4900f3beff63f724">geos::index::strtree::SimpleSTRnode::area</a></div><div class="ttdeci">double area() const </div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00125">SimpleSTRnode.h:125</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_1SimpleSTRnode_html_aa5a0e655d79ff418930736923880c6ee"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#aa5a0e655d79ff418930736923880c6ee">geos::index::strtree::SimpleSTRnode::getLevel</a></div><div class="ttdeci">std::size_t getLevel() const </div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00101">SimpleSTRnode.h:101</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html_a26ed82c45ea8df6d1e84d81bb7db6ab8"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#a26ed82c45ea8df6d1e84d81bb7db6ab8">geos::index::strtree::SimpleSTRnode::item</a></div><div class="ttdeci">void * item</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00042">SimpleSTRnode.h:42</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_aa5c4848efadb6212bd589714b359aeaa"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#aa5c4848efadb6212bd589714b359aeaa">geos::geom::Envelope::getArea</a></div><div class="ttdeci">double getArea() const </div><div class="ttdoc">Gets the area of this envelope. </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00212">Envelope.h:212</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html_aef57a8b78bde5985a218a65cc8f51ce0"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#aef57a8b78bde5985a218a65cc8f51ce0">geos::index::strtree::SimpleSTRnode::getBounds</a></div><div class="ttdeci">const void * getBounds() const override</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00093">SimpleSTRnode.h:93</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html_abed71556b689f742a275cc1230ce3051"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#abed71556b689f742a275cc1230ce3051">geos::index::strtree::SimpleSTRnode::bounds</a></div><div class="ttdeci">geom::Envelope bounds</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00043">SimpleSTRnode.h:43</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1ItemBoundable_html"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1ItemBoundable.html">geos::index::strtree::ItemBoundable</a></div><div class="ttdoc">Boundable wrapper for a non-Boundable spatial object. Used internally by AbstractSTRtree. </div><div class="ttdef"><b>Definition:</b> <a href="ItemBoundable_8h_source.html#l00032">ItemBoundable.h:32</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html_a96560c8abd8555de83fd89865dd24e4c"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#a96560c8abd8555de83fd89865dd24e4c">geos::index::strtree::SimpleSTRnode::getChildNodes</a></div><div class="ttdeci">const std::vector&lt; SimpleSTRnode * &gt; &amp; getChildNodes() const </div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00074">SimpleSTRnode.h:74</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html_ac64855fbc981c4c80bc9c4accfeac3c2"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#ac64855fbc981c4c80bc9c4accfeac3c2">geos::index::strtree::SimpleSTRnode::level</a></div><div class="ttdeci">std::size_t level</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00044">SimpleSTRnode.h:44</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_1strtree_1_1SimpleSTRnode_html_abd76eeab01615846eb9e67c24f21f650"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#abd76eeab01615846eb9e67c24f21f650">geos::index::strtree::SimpleSTRnode::getItem</a></div><div class="ttdeci">void * getItem() const </div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00079">SimpleSTRnode.h:79</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html_ad282c2e10315cee1e9c892bf5091751f"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#ad282c2e10315cee1e9c892bf5091751f">geos::index::strtree::SimpleSTRnode::size</a></div><div class="ttdeci">std::size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00105">SimpleSTRnode.h:105</a></div></div>
<div class="ttc" id="ItemBoundable_8h_html"><div class="ttname"><a href="ItemBoundable_8h.html">ItemBoundable.h</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html_accb5ed3c1386d3f16fa3648bb02d4982"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#accb5ed3c1386d3f16fa3648bb02d4982">geos::index::strtree::SimpleSTRnode::childNodes</a></div><div class="ttdeci">std::vector&lt; SimpleSTRnode * &gt; childNodes</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00041">SimpleSTRnode.h:41</a></div></div>
<div class="ttc" id="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode_html_a85f7bc19d152060a718947cb169c8ffc"><div class="ttname"><a href="classgeos_1_1index_1_1strtree_1_1SimpleSTRnode.html#a85f7bc19d152060a718947cb169c8ffc">geos::index::strtree::SimpleSTRnode::SimpleSTRnode</a></div><div class="ttdeci">SimpleSTRnode(std::size_t newLevel)</div><div class="ttdef"><b>Definition:</b> <a href="SimpleSTRnode_8h_source.html#l00064">SimpleSTRnode.h:64</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>