<!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::geom::prep::BasicPreparedGeometry 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_1geom.html">geom</a> </li> <li><b>prep</b> </li> <li><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html">geos::geom::prep::BasicPreparedGeometry</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> </div> <div class="headertitle"> <h1>geos::geom::prep::BasicPreparedGeometry Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::geom::prep::BasicPreparedGeometry" --><!-- doxytag: inherits="geos::geom::prep::PreparedGeometry" --> <p>A base class for <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html">PreparedGeometry</a> subclasses. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="BasicPreparedGeometry_8h_source.html">BasicPreparedGeometry.h</a>></code></p> <div class="dynheader"> Inheritance diagram for geos::geom::prep::BasicPreparedGeometry:</div> <div class="dyncontent"> <div class="center"> <img src="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.png" usemap="#geos::geom::prep::BasicPreparedGeometry_map" alt=""/> <map id="geos::geom::prep::BasicPreparedGeometry_map" name="geos::geom::prep::BasicPreparedGeometry_map"> <area href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html" alt="geos::geom::prep::PreparedGeometry" shape="rect" coords="261,0,512,24"/> <area href="classgeos_1_1geom_1_1prep_1_1PreparedLineString.html" alt="geos::geom::prep::PreparedLineString" shape="rect" coords="0,112,251,136"/> <area href="classgeos_1_1geom_1_1prep_1_1PreparedPoint.html" alt="geos::geom::prep::PreparedPoint" shape="rect" coords="261,112,512,136"/> <area href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html" alt="geos::geom::prep::PreparedPolygon" shape="rect" coords="522,112,773,136"/> </map> </div> <p><a href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry-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="a5765f9dfdf416e1e67c6558f87f5f5d3"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::BasicPreparedGeometry" ref="a5765f9dfdf416e1e67c6558f87f5f5d3" args="(const Geometry *geom)" --> </td><td class="memItemRight" valign="bottom"><b>BasicPreparedGeometry</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *geom)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a8fd4dbbe61ea2943bd2385ebcc805690">getGeometry</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html#a1735d833ea7d033b82c317f883948525">Coordinate::ConstVect</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#ae9cb77e8e72b4b974d598272008c843d">getRepresentativePoints</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a708e585bb6f0562d97af5f9e6de3d957">isAnyTargetComponentInTest</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *testGeom) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a809cb32151948686ea04471bd5d85ba1">contains</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#ad42af07e00a7ef4979e57e1a32e12c5c">containsProperly</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a83644d2f685e9239d3585eca80bea3e2">coveredBy</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a1173ef7e579c6b5d5c6930c0f70268ce">covers</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a54aa68ed3e8c8193dabb157be5d6612d">crosses</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a8454c5c282d8db0b6f39f612abc0eed6">disjoint</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#ae4a8d742463b6732008eeac30b797619">intersects</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#abe37252fcb0563cd02479be10b4ef481">overlaps</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a93e3b35c2777fd003725e601086f8ad9">touches</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a789ab803d95f006e85f3d6c397769501">within</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a01e9b112a04addee02b6884adc4c0f1e"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::toString" ref="a01e9b112a04addee02b6884adc4c0f1e" args="()" --> std::string </td><td class="memItemRight" valign="bottom"><b>toString</b> ()</td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#adfb6530cafb23dbbdb8548d734d398b0">setGeometry</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#aceb46c56f2a2ec45b9878e46035bacef">envelopesIntersect</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#aec089f9b0a00d8ee923be00495c2d3f3">envelopeCovers</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g) const </td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A base class for <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html">PreparedGeometry</a> subclasses. </p> <p>Contains default implementations for methods, which simply delegate to the equivalent <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> methods. This class may be used as a "no-op" class for <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> types which do not have a corresponding <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html">PreparedGeometry</a> implementation.</p> <dl class="author"><dt><b>Author:</b></dt><dd>Martin Davis </dd></dl> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a809cb32151948686ea04471bd5d85ba1"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::contains" ref="a809cb32151948686ea04471bd5d85ba1" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::contains </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation. </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a18be2527cd5f01479f658ad27d7b89e9">geos::geom::prep::PreparedGeometry</a>.</p> <p>Reimplemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html#aec0e57f7853cba19df03946d50acd484">geos::geom::prep::PreparedPolygon</a>.</p> </div> </div> <a class="anchor" id="ad42af07e00a7ef4979e57e1a32e12c5c"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::containsProperly" ref="ad42af07e00a7ef4979e57e1a32e12c5c" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::containsProperly </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation. </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a371c2321555ca375fd6726f8a44fdf20">geos::geom::prep::PreparedGeometry</a>.</p> <p>Reimplemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html#a76098f3f041d6cfef8ba07217dcef9ab">geos::geom::prep::PreparedPolygon</a>.</p> </div> </div> <a class="anchor" id="a83644d2f685e9239d3585eca80bea3e2"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::coveredBy" ref="a83644d2f685e9239d3585eca80bea3e2" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::coveredBy </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation. </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a24c940cef46fcc8c067c628335cd727d">geos::geom::prep::PreparedGeometry</a>.</p> </div> </div> <a class="anchor" id="a1173ef7e579c6b5d5c6930c0f70268ce"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::covers" ref="a1173ef7e579c6b5d5c6930c0f70268ce" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::covers </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation. </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a8c64d1365d88a6b56074b7cfdcca6557">geos::geom::prep::PreparedGeometry</a>.</p> <p>Reimplemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html#aef9e87c92c4d84abf55bd23a6f9b3ee5">geos::geom::prep::PreparedPolygon</a>.</p> </div> </div> <a class="anchor" id="a54aa68ed3e8c8193dabb157be5d6612d"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::crosses" ref="a54aa68ed3e8c8193dabb157be5d6612d" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::crosses </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation. </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a64d1274f40934ead8f9e29211e67a75a">geos::geom::prep::PreparedGeometry</a>.</p> </div> </div> <a class="anchor" id="a8454c5c282d8db0b6f39f612abc0eed6"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::disjoint" ref="a8454c5c282d8db0b6f39f612abc0eed6" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::disjoint </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Standard implementation for all geometries. Supports <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">GeometryCollection</a>s as input. </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a53a9bed0039bded4b7d291f999f90db2">geos::geom::prep::PreparedGeometry</a>.</p> </div> </div> <a class="anchor" id="aec089f9b0a00d8ee923be00495c2d3f3"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::envelopeCovers" ref="aec089f9b0a00d8ee923be00495c2d3f3" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::envelopeCovers </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determines whether the envelope of this geometry covers the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> g.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>g</em> </td><td>a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true if g is contained in this envelope </dd></dl> </div> </div> <a class="anchor" id="aceb46c56f2a2ec45b9878e46035bacef"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::envelopesIntersect" ref="aceb46c56f2a2ec45b9878e46035bacef" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::envelopesIntersect </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determines whether a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> g interacts with this geometry by testing the geometry envelopes.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>g</em> </td><td>a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true if the envelopes intersect </dd></dl> </div> </div> <a class="anchor" id="a8fd4dbbe61ea2943bd2385ebcc805690"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::getGeometry" ref="a8fd4dbbe61ea2943bd2385ebcc805690" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>& geos::geom::prep::BasicPreparedGeometry::getGeometry </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Gets the original <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> which has been prepared.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>the base geometry </dd></dl> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#ab5e467731267877794c461e91609a035">geos::geom::prep::PreparedGeometry</a>.</p> </div> </div> <a class="anchor" id="ae9cb77e8e72b4b974d598272008c843d"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::getRepresentativePoints" ref="ae9cb77e8e72b4b974d598272008c843d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html#a1735d833ea7d033b82c317f883948525">Coordinate::ConstVect</a>* geos::geom::prep::BasicPreparedGeometry::getRepresentativePoints </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Gets the list of representative points for this geometry. One vertex is included for every component of the geometry (i.e. including one for every ring of polygonal geometries)</p> <dl class="return"><dt><b>Returns:</b></dt><dd>a List of <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">Coordinate</a> </dd></dl> </div> </div> <a class="anchor" id="ae4a8d742463b6732008eeac30b797619"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::intersects" ref="ae4a8d742463b6732008eeac30b797619" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::intersects </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation. </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a05f062f6af7ad3f600069500aaacde93">geos::geom::prep::PreparedGeometry</a>.</p> <p>Reimplemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedLineString.html#a2f2f3e1885bd683763be46e675f2b254">geos::geom::prep::PreparedLineString</a>, and <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html#a468e4129be2b7cedea788db7c46b53c4">geos::geom::prep::PreparedPolygon</a>.</p> </div> </div> <a class="anchor" id="a708e585bb6f0562d97af5f9e6de3d957"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::isAnyTargetComponentInTest" ref="a708e585bb6f0562d97af5f9e6de3d957" args="(const geom::Geometry *testGeom) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::isAnyTargetComponentInTest </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>testGeom</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Tests whether any representative of the target geometry intersects the test geometry. This is useful in A/A, A/L, A/P, L/P, and P/P cases.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>geom</em> </td><td>the test geometry </td></tr> <tr><td valign="top"></td><td valign="top"><em>repPts</em> </td><td>the representative points of the target geometry </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true if any component intersects the areal test geometry </dd></dl> </div> </div> <a class="anchor" id="abe37252fcb0563cd02479be10b4ef481"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::overlaps" ref="abe37252fcb0563cd02479be10b4ef481" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::overlaps </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation. </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a2b9ebc778a38d3007439f40b7f3df2ac">geos::geom::prep::PreparedGeometry</a>.</p> </div> </div> <a class="anchor" id="adfb6530cafb23dbbdb8548d734d398b0"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::setGeometry" ref="adfb6530cafb23dbbdb8548d734d398b0" args="(const geom::Geometry *geom)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void geos::geom::prep::BasicPreparedGeometry::setGeometry </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>geom</em></td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the original <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> which will be prepared. </p> </div> </div> <a class="anchor" id="a93e3b35c2777fd003725e601086f8ad9"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::touches" ref="a93e3b35c2777fd003725e601086f8ad9" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::touches </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation. </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a927bb37d80b3fe6820be5d73d6315525">geos::geom::prep::PreparedGeometry</a>.</p> </div> </div> <a class="anchor" id="a789ab803d95f006e85f3d6c397769501"></a><!-- doxytag: member="geos::geom::prep::BasicPreparedGeometry::within" ref="a789ab803d95f006e85f3d6c397769501" args="(const geom::Geometry *g) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::geom::prep::BasicPreparedGeometry::within </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>g</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default implementation. </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a7a2db04339bde105d820253995ffd428">geos::geom::prep::PreparedGeometry</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="BasicPreparedGeometry_8h_source.html">BasicPreparedGeometry.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>