Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5035839f674c88dea1f7928a86fbdc64 > files > 781

geos-devel-3.2.1-3.fc14.x86_64.rpm

<!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::PreparedGeometry 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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;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_1PreparedGeometry.html">geos::geom::prep::PreparedGeometry</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::geom::prep::PreparedGeometry Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::geom::prep::PreparedGeometry" -->
<p>An interface for classes which prepare <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>s in order to optimize the performance of repeated calls to specific geometric operations.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PreparedGeometry_8h_source.html">PreparedGeometry.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::geom::prep::PreparedGeometry:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.png" usemap="#geos::geom::prep::PreparedGeometry_map" alt=""/>
  <map id="geos::geom::prep::PreparedGeometry_map" name="geos::geom::prep::PreparedGeometry_map">
<area href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html" alt="geos::geom::prep::BasicPreparedGeometry" shape="rect" coords="261,56,512,80"/>
<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_1PreparedGeometry-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">virtual const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#ab5e467731267877794c461e91609a035">getGeometry</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a18be2527cd5f01479f658ad27d7b89e9">contains</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a371c2321555ca375fd6726f8a44fdf20">containsProperly</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> properly contains a given geometry.  <a href="#a371c2321555ca375fd6726f8a44fdf20"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a24c940cef46fcc8c067c628335cd727d">coveredBy</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a8c64d1365d88a6b56074b7cfdcca6557">covers</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a64d1274f40934ead8f9e29211e67a75a">crosses</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a53a9bed0039bded4b7d291f999f90db2">disjoint</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a05f062f6af7ad3f600069500aaacde93">intersects</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a2b9ebc778a38d3007439f40b7f3df2ac">overlaps</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a927bb37d80b3fe6820be5d73d6315525">touches</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedGeometry.html#a7a2db04339bde105d820253995ffd428">within</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) const =0</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>An interface for classes which prepare <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>s in order to optimize the performance of repeated calls to specific geometric operations. </p>
<p>A given implementation may provide optimized implementations for only some of the specified methods, and delegate the remaining methods to the original <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> operations. An implementation may also only optimize certain situations, and delegate others. See the implementing classes for documentation about which methods and situations they optimize. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a18be2527cd5f01479f658ad27d7b89e9"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::contains" ref="a18be2527cd5f01479f658ad27d7b89e9" args="(const geom::Geometry *geom) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::geom::prep::PreparedGeometry::contains </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> contains a given geometry.</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>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> contains the given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>Geometry::contains(Geometry) </dd></dl>

<p>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a809cb32151948686ea04471bd5d85ba1">geos::geom::prep::BasicPreparedGeometry</a>, and <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="a371c2321555ca375fd6726f8a44fdf20"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::containsProperly" ref="a371c2321555ca375fd6726f8a44fdf20" args="(const geom::Geometry *geom) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::geom::prep::PreparedGeometry::containsProperly </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> properly contains a given geometry. </p>
<p>The <code>containsProperly</code> predicate has the following equivalent definitions:</p>
<ul>
<li>Every point of the other geometry is a point of this geometry's interior.</li>
<li>The DE-9IM Intersection Matrix for the two geometries matches <code>[T**FF*FF*]</code></li>
</ul>
<p>In other words, if the test geometry has any interaction with the boundary of the target geometry the result of <code>containsProperly</code> is <code>false</code>. This is different semantics to the <a class="el" href="classgeos_1_1geom_1_1Geometry.html#a5a1244c6b1d1e9ab823a282692d06cb9">Geometry::contains</a> predicate, * in which test geometries can intersect the target's boundary and still be contained.</p>
<p>The advantage of using this predicate is that it can be computed efficiently, since it avoids the need to compute the full topological relationship of the input boundaries in cases where they intersect.</p>
<p>An example use case is computing the intersections of a set of geometries with a large polygonal geometry. Since <code>intersection</code> is a fairly slow operation, it can be more efficient to use <code>containsProperly</code> to filter out test geometries which lie wholly inside the area. In these cases the intersection is known <em>a priori</em> to be exactly the original test geometry.</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>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> properly contains the given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classgeos_1_1geom_1_1Geometry.html#a5a1244c6b1d1e9ab823a282692d06cb9" title="Returns true if other.within(this) returns true.">Geometry::contains</a> </dd></dl>

<p>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#ad42af07e00a7ef4979e57e1a32e12c5c">geos::geom::prep::BasicPreparedGeometry</a>, and <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="a24c940cef46fcc8c067c628335cd727d"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::coveredBy" ref="a24c940cef46fcc8c067c628335cd727d" args="(const geom::Geometry *geom) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::geom::prep::PreparedGeometry::coveredBy </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> is covered by a given geometry.</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>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> is covered by the given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>Geometry::coveredBy(Geometry) </dd></dl>

<p>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a83644d2f685e9239d3585eca80bea3e2">geos::geom::prep::BasicPreparedGeometry</a>.</p>

</div>
</div>
<a class="anchor" id="a8c64d1365d88a6b56074b7cfdcca6557"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::covers" ref="a8c64d1365d88a6b56074b7cfdcca6557" args="(const geom::Geometry *geom) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::geom::prep::PreparedGeometry::covers </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> covers a given geometry.</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>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> covers the given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>Geometry::covers(Geometry) </dd></dl>

<p>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a1173ef7e579c6b5d5c6930c0f70268ce">geos::geom::prep::BasicPreparedGeometry</a>, and <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="a64d1274f40934ead8f9e29211e67a75a"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::crosses" ref="a64d1274f40934ead8f9e29211e67a75a" args="(const geom::Geometry *geom) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::geom::prep::PreparedGeometry::crosses </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> crosses a given geometry.</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>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> crosses the given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>Geometry::crosses(Geometry) </dd></dl>

<p>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a54aa68ed3e8c8193dabb157be5d6612d">geos::geom::prep::BasicPreparedGeometry</a>.</p>

</div>
</div>
<a class="anchor" id="a53a9bed0039bded4b7d291f999f90db2"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::disjoint" ref="a53a9bed0039bded4b7d291f999f90db2" args="(const geom::Geometry *geom) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::geom::prep::PreparedGeometry::disjoint </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> is disjoint from a given geometry.</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>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> is disjoint from the given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>Geometry::disjoint(Geometry) </dd></dl>

<p>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a8454c5c282d8db0b6f39f612abc0eed6">geos::geom::prep::BasicPreparedGeometry</a>.</p>

</div>
</div>
<a class="anchor" id="ab5e467731267877794c461e91609a035"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::getGeometry" ref="ab5e467731267877794c461e91609a035" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; geos::geom::prep::PreparedGeometry::getGeometry </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure 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>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a8fd4dbbe61ea2943bd2385ebcc805690">geos::geom::prep::BasicPreparedGeometry</a>.</p>

</div>
</div>
<a class="anchor" id="a05f062f6af7ad3f600069500aaacde93"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::intersects" ref="a05f062f6af7ad3f600069500aaacde93" args="(const geom::Geometry *geom) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::geom::prep::PreparedGeometry::intersects </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> intersects a given geometry.</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>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> intersects the given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>Geometry::intersects(Geometry) </dd></dl>

<p>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#ae4a8d742463b6732008eeac30b797619">geos::geom::prep::BasicPreparedGeometry</a>, <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="a2b9ebc778a38d3007439f40b7f3df2ac"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::overlaps" ref="a2b9ebc778a38d3007439f40b7f3df2ac" args="(const geom::Geometry *geom) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::geom::prep::PreparedGeometry::overlaps </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> overlaps a given geometry.</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>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> overlaps the given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>Geometry::overlaps(Geometry) </dd></dl>

<p>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#abe37252fcb0563cd02479be10b4ef481">geos::geom::prep::BasicPreparedGeometry</a>.</p>

</div>
</div>
<a class="anchor" id="a927bb37d80b3fe6820be5d73d6315525"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::touches" ref="a927bb37d80b3fe6820be5d73d6315525" args="(const geom::Geometry *geom) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::geom::prep::PreparedGeometry::touches </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> touches a given geometry.</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>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> touches the given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>Geometry::touches(Geometry) </dd></dl>

<p>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a93e3b35c2777fd003725e601086f8ad9">geos::geom::prep::BasicPreparedGeometry</a>.</p>

</div>
</div>
<a class="anchor" id="a7a2db04339bde105d820253995ffd428"></a><!-- doxytag: member="geos::geom::prep::PreparedGeometry::within" ref="a7a2db04339bde105d820253995ffd428" args="(const geom::Geometry *geom) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::geom::prep::PreparedGeometry::within </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tests whether the base <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> is within a given geometry.</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>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> is within the given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>Geometry::within(Geometry) </dd></dl>

<p>Implemented in <a class="el" href="classgeos_1_1geom_1_1prep_1_1BasicPreparedGeometry.html#a789ab803d95f006e85f3d6c397769501">geos::geom::prep::BasicPreparedGeometry</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PreparedGeometry_8h_source.html">PreparedGeometry.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>