geos_390_docs/classgeos_1_1index_1_1strtr...

506 lines
28 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: geos::index::strtree::BoundablePair Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacegeos.html">geos</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1index.html">index</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1index_1_1strtree.html">strtree</a></li><li class="navelem"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html">BoundablePair</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classgeos_1_1index_1_1strtree_1_1BoundablePair-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::index::strtree::BoundablePair Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A pair of <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundables</a>, whose leaf items support a distance metric between them.
<a href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="BoundablePair_8h_source.html">BoundablePair.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for geos::index::strtree::BoundablePair:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1index_1_1strtree_1_1BoundablePair__coll__graph.svg" width="324" height="179"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgeos_1_1index_1_1strtree_1_1BoundablePair_1_1BoundablePairQueueCompare.html">BoundablePairQueueCompare</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ab4ca9259ac441d339dc5a471680ece40"><td class="memItemLeft" align="right" valign="top">typedef std::priority_queue&lt; <a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html">BoundablePair</a> *, std::vector&lt; <a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html">BoundablePair</a> * &gt;, <a class="el" href="structgeos_1_1index_1_1strtree_1_1BoundablePair_1_1BoundablePairQueueCompare.html">BoundablePairQueueCompare</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#ab4ca9259ac441d339dc5a471680ece40">BoundablePairQueue</a></td></tr>
<tr class="separator:ab4ca9259ac441d339dc5a471680ece40"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa438ea457c0b566cc3df64cc33b6772c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#aa438ea457c0b566cc3df64cc33b6772c">BoundablePair</a> (const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *<a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#a861372acdfe602863f377264a0d22903">boundable1</a>, const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *<a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#abab578252473fd9b9dcb6cccaa14f9fc">boundable2</a>, <a class="el" href="classgeos_1_1index_1_1strtree_1_1ItemDistance.html">ItemDistance</a> *<a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#acf530e14b2c0fac3507fec8412a5bd74">itemDistance</a>)</td></tr>
<tr class="separator:aa438ea457c0b566cc3df64cc33b6772c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a432aa0d5c48581c5b207ba053b0e4a8c"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#a432aa0d5c48581c5b207ba053b0e4a8c">getBoundable</a> (int i) const </td></tr>
<tr class="separator:a432aa0d5c48581c5b207ba053b0e4a8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d3a2059c8942d0dd8966e0eef29d762"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#a1d3a2059c8942d0dd8966e0eef29d762">distance</a> () const </td></tr>
<tr class="memdesc:a1d3a2059c8942d0dd8966e0eef29d762"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the distance between the <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a>s in this pair. The boundables are either composites or leaves. <a href="#a1d3a2059c8942d0dd8966e0eef29d762">More...</a><br /></td></tr>
<tr class="separator:a1d3a2059c8942d0dd8966e0eef29d762"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5fdfd61162358bc12c0ec26aaa0c7a1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#ab5fdfd61162358bc12c0ec26aaa0c7a1">getDistance</a> () const </td></tr>
<tr class="memdesc:ab5fdfd61162358bc12c0ec26aaa0c7a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the minimum possible distance between the Boundables in this pair. <a href="#ab5fdfd61162358bc12c0ec26aaa0c7a1">More...</a><br /></td></tr>
<tr class="separator:ab5fdfd61162358bc12c0ec26aaa0c7a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c5283d805575ae73b2d80550d2ad391"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#a3c5283d805575ae73b2d80550d2ad391">isLeaves</a> () const </td></tr>
<tr class="separator:a3c5283d805575ae73b2d80550d2ad391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac75c765ea727fc0020ad780a488c9560"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#ac75c765ea727fc0020ad780a488c9560">maximumDistance</a> ()</td></tr>
<tr class="memdesc:ac75c765ea727fc0020ad780a488c9560"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the maximum distance between any two items in the pair of nodes. <a href="#ac75c765ea727fc0020ad780a488c9560">More...</a><br /></td></tr>
<tr class="separator:ac75c765ea727fc0020ad780a488c9560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa555277eb86c0964a9a6be7c6d73da1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#afa555277eb86c0964a9a6be7c6d73da1">expandToQueue</a> (<a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#ab4ca9259ac441d339dc5a471680ece40">BoundablePairQueue</a> &amp;, double minDistance)</td></tr>
<tr class="separator:afa555277eb86c0964a9a6be7c6d73da1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63f287964bf766ac1353e66940213e4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#a63f287964bf766ac1353e66940213e4f">expand</a> (const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *bndComposite, const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *bndOther, bool isFlipped, <a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#ab4ca9259ac441d339dc5a471680ece40">BoundablePairQueue</a> &amp;priQ, double minDistance)</td></tr>
<tr class="separator:a63f287964bf766ac1353e66940213e4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a76330e34c84c28a2491114246dfa0ce2"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#a76330e34c84c28a2491114246dfa0ce2">isComposite</a> (const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *item)</td></tr>
<tr class="separator:a76330e34c84c28a2491114246dfa0ce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa84f2942c0c8a4d85e16fa32b67047b4"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#aa84f2942c0c8a4d85e16fa32b67047b4">area</a> (const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *b)</td></tr>
<tr class="separator:aa84f2942c0c8a4d85e16fa32b67047b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a861372acdfe602863f377264a0d22903"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#a861372acdfe602863f377264a0d22903">boundable1</a></td></tr>
<tr class="separator:a861372acdfe602863f377264a0d22903"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abab578252473fd9b9dcb6cccaa14f9fc"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#abab578252473fd9b9dcb6cccaa14f9fc">boundable2</a></td></tr>
<tr class="separator:abab578252473fd9b9dcb6cccaa14f9fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf530e14b2c0fac3507fec8412a5bd74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1index_1_1strtree_1_1ItemDistance.html">ItemDistance</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#acf530e14b2c0fac3507fec8412a5bd74">itemDistance</a></td></tr>
<tr class="separator:acf530e14b2c0fac3507fec8412a5bd74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae873fc115a7759b47abaaa8cc79fb521"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#ae873fc115a7759b47abaaa8cc79fb521">mDistance</a></td></tr>
<tr class="separator:ae873fc115a7759b47abaaa8cc79fb521"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A pair of <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundables</a>, whose leaf items support a distance metric between them. </p>
<p>Used to compute the distance between the members, and to expand a member relative to the other in order to produce new branches of the Branch-and-Bound evaluation tree. Provides an ordering based on the distance between the members, which allows building a priority queue by minimum distance.</p>
<dl class="section author"><dt>Author</dt><dd>Martin Davis </dd></dl>
<p>Definition at line <a class="el" href="BoundablePair_8h_source.html#l00044">44</a> of file <a class="el" href="BoundablePair_8h_source.html">BoundablePair.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="ab4ca9259ac441d339dc5a471680ece40"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef std::priority_queue&lt;<a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html">BoundablePair</a>*, std::vector&lt;<a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html">BoundablePair</a>*&gt;, <a class="el" href="structgeos_1_1index_1_1strtree_1_1BoundablePair_1_1BoundablePairQueueCompare.html">BoundablePairQueueCompare</a>&gt; <a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#ab4ca9259ac441d339dc5a471680ece40">geos::index::strtree::BoundablePair::BoundablePairQueue</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="BoundablePair_8h_source.html#l00060">60</a> of file <a class="el" href="BoundablePair_8h_source.html">BoundablePair.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa438ea457c0b566cc3df64cc33b6772c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">geos::index::strtree::BoundablePair::BoundablePair </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *&#160;</td>
<td class="paramname"><em>boundable1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *&#160;</td>
<td class="paramname"><em>boundable2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1strtree_1_1ItemDistance.html">ItemDistance</a> *&#160;</td>
<td class="paramname"><em>itemDistance</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa84f2942c0c8a4d85e16fa32b67047b4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static double geos::index::strtree::BoundablePair::area </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *&#160;</td>
<td class="paramname"><em>b</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a1d3a2059c8942d0dd8966e0eef29d762"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double geos::index::strtree::BoundablePair::distance </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes the distance between the <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a>s in this pair. The boundables are either composites or leaves. </p>
<p>If either is composite, the distance is computed as the minimum distance between the bounds. If both are leaves, the distance is computed by <a class="el" href="classgeos_1_1index_1_1strtree_1_1ItemDistance.html#a0c7b20a6215eb6101e30faee2c5f5262" title="Computes the distance between two items. ">ItemDistance::distance(const ItemBoundable* item1, const ItemBoundable* item2)</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>the distance between the items </dd></dl>
</div>
</div>
<a class="anchor" id="a63f287964bf766ac1353e66940213e4f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void geos::index::strtree::BoundablePair::expand </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *&#160;</td>
<td class="paramname"><em>bndComposite</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *&#160;</td>
<td class="paramname"><em>bndOther</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>isFlipped</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#ab4ca9259ac441d339dc5a471680ece40">BoundablePairQueue</a> &amp;&#160;</td>
<td class="paramname"><em>priQ</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>minDistance</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="afa555277eb86c0964a9a6be7c6d73da1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void geos::index::strtree::BoundablePair::expandToQueue </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1strtree_1_1BoundablePair.html#ab4ca9259ac441d339dc5a471680ece40">BoundablePairQueue</a> &amp;&#160;</td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>minDistance</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a432aa0d5c48581c5b207ba053b0e4a8c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a>* geos::index::strtree::BoundablePair::getBoundable </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets one of the member <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a>s in the pair (indexed by [0, 1]).</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">i</td><td>the index of the member to return (0 or 1) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the chosen member </dd></dl>
</div>
</div>
<a class="anchor" id="ab5fdfd61162358bc12c0ec26aaa0c7a1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double geos::index::strtree::BoundablePair::getDistance </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the minimum possible distance between the Boundables in this pair. </p>
<p>If the members are both items, this will be the exact distance between them. Otherwise, this distance will be a lower bound on the distances between the items in the members.</p>
<dl class="section return"><dt>Returns</dt><dd>the exact or lower bound distance for this pair </dd></dl>
<p>Referenced by <a class="el" href="BoundablePair_8h_source.html#l00054">geos::index::strtree::BoundablePair::BoundablePairQueueCompare::operator()()</a>.</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1index_1_1strtree_1_1BoundablePair_ab5fdfd61162358bc12c0ec26aaa0c7a1_icgraph.svg" width="496" height="71"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</p>
</div>
</div>
<a class="anchor" id="a76330e34c84c28a2491114246dfa0ce2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool geos::index::strtree::BoundablePair::isComposite </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a> *&#160;</td>
<td class="paramname"><em>item</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3c5283d805575ae73b2d80550d2ad391"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool geos::index::strtree::BoundablePair::isLeaves </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Tests if both elements of the pair are leaf nodes</p>
<dl class="section return"><dt>Returns</dt><dd>true if both pair elements are leaf nodes </dd></dl>
</div>
</div>
<a class="anchor" id="ac75c765ea727fc0020ad780a488c9560"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double geos::index::strtree::BoundablePair::maximumDistance </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes the maximum distance between any two items in the pair of nodes. </p>
<dl class="section return"><dt>Returns</dt><dd>the maximum distance between items in the pair </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a861372acdfe602863f377264a0d22903"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a>* geos::index::strtree::BoundablePair::boundable1</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="BoundablePair_8h_source.html#l00046">46</a> of file <a class="el" href="BoundablePair_8h_source.html">BoundablePair.h</a>.</p>
</div>
</div>
<a class="anchor" id="abab578252473fd9b9dcb6cccaa14f9fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html">Boundable</a>* geos::index::strtree::BoundablePair::boundable2</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="BoundablePair_8h_source.html#l00047">47</a> of file <a class="el" href="BoundablePair_8h_source.html">BoundablePair.h</a>.</p>
</div>
</div>
<a class="anchor" id="acf530e14b2c0fac3507fec8412a5bd74"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classgeos_1_1index_1_1strtree_1_1ItemDistance.html">ItemDistance</a>* geos::index::strtree::BoundablePair::itemDistance</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="BoundablePair_8h_source.html#l00048">48</a> of file <a class="el" href="BoundablePair_8h_source.html">BoundablePair.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae873fc115a7759b47abaaa8cc79fb521"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double geos::index::strtree::BoundablePair::mDistance</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="BoundablePair_8h_source.html#l00049">49</a> of file <a class="el" href="BoundablePair_8h_source.html">BoundablePair.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="BoundablePair_8h_source.html">BoundablePair.h</a></li>
</ul>
</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>