<!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"/> <title>GEOS: geos::index::strtree::ItemBoundable Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespacegeos.html">geos</a> </li> <li><a class="el" href="namespacegeos_1_1index.html">index</a> </li> <li><a class="el" href="namespacegeos_1_1index_1_1strtree.html">strtree</a> </li> <li><a class="el" href="classgeos_1_1index_1_1strtree_1_1ItemBoundable.html">geos::index::strtree::ItemBoundable</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>geos::index::strtree::ItemBoundable Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::index::strtree::ItemBoundable" --><!-- doxytag: inherits="geos::index::strtree::Boundable" --> <p><a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html" title="A spatial object in an AbstractSTRtree.">Boundable</a> wrapper for a non-Boundable spatial object. Used internally by <a class="el" href="classgeos_1_1index_1_1strtree_1_1AbstractSTRtree.html" title="Base class for STRtree and SIRtree.">AbstractSTRtree</a>. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="ItemBoundable_8h_source.html">ItemBoundable.h</a>></code></p> <div class="dynheader"> Inheritance diagram for geos::index::strtree::ItemBoundable:</div> <div class="dyncontent"> <div class="center"> <img src="classgeos_1_1index_1_1strtree_1_1ItemBoundable.png" usemap="#geos::index::strtree::ItemBoundable_map" alt=""/> <map id="geos::index::strtree::ItemBoundable_map" name="geos::index::strtree::ItemBoundable_map"> <area href="classgeos_1_1index_1_1strtree_1_1Boundable.html" alt="geos::index::strtree::Boundable" shape="rect" coords="0,0,205,24"/> </map> </div> <p><a href="classgeos_1_1index_1_1strtree_1_1ItemBoundable-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7be7ddbd47ede6b8d543175d5b0d679"></a><!-- doxytag: member="geos::index::strtree::ItemBoundable::ItemBoundable" ref="ad7be7ddbd47ede6b8d543175d5b0d679" args="(const void *newBounds, void *newItem)" --> </td><td class="memItemRight" valign="bottom"><b>ItemBoundable</b> (const void *newBounds, void *newItem)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1strtree_1_1ItemBoundable.html#a2c97cae64821192284f238e46f545b0c">getBounds</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb6c15d9b50e76371dd414beac1f9d04"></a><!-- doxytag: member="geos::index::strtree::ItemBoundable::getItem" ref="aeb6c15d9b50e76371dd414beac1f9d04" args="() const " --> void * </td><td class="memItemRight" valign="bottom"><b>getItem</b> () const </td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html" title="A spatial object in an AbstractSTRtree.">Boundable</a> wrapper for a non-Boundable spatial object. Used internally by <a class="el" href="classgeos_1_1index_1_1strtree_1_1AbstractSTRtree.html" title="Base class for STRtree and SIRtree.">AbstractSTRtree</a>. </p> <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000006">Todo:</a></b></dt><dd>TODO: It's unclear who takes ownership of passed newBounds and newItem objects. </dd></dl> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a2c97cae64821192284f238e46f545b0c"></a><!-- doxytag: member="geos::index::strtree::ItemBoundable::getBounds" ref="a2c97cae64821192284f238e46f545b0c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const void* geos::index::strtree::ItemBoundable::getBounds </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a representation of space that encloses this <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html" title="A spatial object in an AbstractSTRtree.">Boundable</a>, preferably not much bigger than this Boundable's boundary yet fast to test for intersection with the bounds of other Boundables.</p> <p>The class of object returned depends on the subclass of <a class="el" href="classgeos_1_1index_1_1strtree_1_1AbstractSTRtree.html" title="Base class for STRtree and SIRtree.">AbstractSTRtree</a>.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>an Envelope (for STRtrees), an <a class="el" href="classgeos_1_1index_1_1strtree_1_1Interval.html" title="A contiguous portion of 1D-space. Used internally by SIRtree.">Interval</a> (for SIRtrees), or other object (for other subclasses of <a class="el" href="classgeos_1_1index_1_1strtree_1_1AbstractSTRtree.html" title="Base class for STRtree and SIRtree.">AbstractSTRtree</a>)</dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classgeos_1_1index_1_1strtree_1_1AbstractSTRtree_1_1IntersectsOp.html" title="A test for intersection between two bounds, necessary because subclasses of AbstractSTRtree have diff...">AbstractSTRtree::IntersectsOp</a> </dd></dl> <p>Implements <a class="el" href="classgeos_1_1index_1_1strtree_1_1Boundable.html#abc2553f6281be88e0266a7bf02c566d0">geos::index::strtree::Boundable</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ItemBoundable_8h_source.html">ItemBoundable.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>