Sophie

Sophie

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

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::PreparedPolygonPredicate 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_1PreparedPolygonPredicate.html">geos::geom::prep::PreparedPolygonPredicate</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<h1>geos::geom::prep::PreparedPolygonPredicate Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::geom::prep::PreparedPolygonPredicate" -->
<p>A base class for predicate operations on <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html">PreparedPolygon</a>s.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PreparedPolygonPredicate_8h_source.html">PreparedPolygonPredicate.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::geom::prep::PreparedPolygonPredicate:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.png" usemap="#geos::geom::prep::PreparedPolygonPredicate_map" alt=""/>
  <map id="geos::geom::prep::PreparedPolygonPredicate_map" name="geos::geom::prep::PreparedPolygonPredicate_map">
<area href="classgeos_1_1geom_1_1prep_1_1AbstractPreparedPolygonContains.html" alt="geos::geom::prep::AbstractPreparedPolygonContains" shape="rect" coords="160,56,470,80"/>
<area href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonContainsProperly.html" alt="geos::geom::prep::PreparedPolygonContainsProperly" shape="rect" coords="480,56,790,80"/>
<area href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonIntersects.html" alt="geos::geom::prep::PreparedPolygonIntersects" shape="rect" coords="800,56,1110,80"/>
<area href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonContains.html" alt="geos::geom::prep::PreparedPolygonContains" shape="rect" coords="0,112,310,136"/>
<area href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonCovers.html" alt="geos::geom::prep::PreparedPolygonCovers" shape="rect" coords="320,112,630,136"/>
</map>
</div>

<p><a href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#a97b86b3a120a6d7799e3c35bad7e3a9c">PreparedPolygonPredicate</a> (const <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html">PreparedPolygon</a> *const prepPoly)</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">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#a1ef52f788d22a7e8b41d2bb88e32c34b">isAllTestComponentsInTarget</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *testGeom) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tests whether all components of the test <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> are contained in the target geometry.  <a href="#a1ef52f788d22a7e8b41d2bb88e32c34b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#a7becc3cfe82252a97109c08ec060d6b0">isAllTestComponentsInTargetInterior</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *testGeom) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tests whether all components of the test <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> are contained in the interior of the target geometry.  <a href="#a7becc3cfe82252a97109c08ec060d6b0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#a3da12d4d133b3968f585838ac295ed09">isAnyTestComponentInTarget</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *testGeom) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tests whether any component of the test <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> intersects the area of the target geometry.  <a href="#a3da12d4d133b3968f585838ac295ed09"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#aeababb3d0a044f7f43b4a3f01aeb295a">isAnyTestComponentInTargetInterior</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *testGeom) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tests whether any component of the test <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> intersects the interior of the target geometry.  <a href="#aeababb3d0a044f7f43b4a3f01aeb295a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#aa9b54696e21fa2730742e7742ae55bdc">isAnyTargetComponentInAreaTest</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *testGeom, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html#a1735d833ea7d033b82c317f883948525">geom::Coordinate::ConstVect</a> *targetRepPts) const </td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a09aca64d98f9dcb5b4ee0b0b696f6165"></a><!-- doxytag: member="geos::geom::prep::PreparedPolygonPredicate::prepPoly" ref="a09aca64d98f9dcb5b4ee0b0b696f6165" args="" -->
const <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html">PreparedPolygon</a> *const&nbsp;</td><td class="memItemRight" valign="bottom"><b>prepPoly</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A base class for predicate operations on <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html">PreparedPolygon</a>s. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>mbdavis </dd></dl>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a97b86b3a120a6d7799e3c35bad7e3a9c"></a><!-- doxytag: member="geos::geom::prep::PreparedPolygonPredicate::PreparedPolygonPredicate" ref="a97b86b3a120a6d7799e3c35bad7e3a9c" args="(const PreparedPolygon *const prepPoly)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">geos::geom::prep::PreparedPolygonPredicate::PreparedPolygonPredicate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html">PreparedPolygon</a> *const &nbsp;</td>
          <td class="paramname"> <em>prepPoly</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates an instance of this operation.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>prepPoly</em>&nbsp;</td><td>the <a class="el" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html" title="A prepared version of Polygon or MultiPolygon geometries.">PreparedPolygon</a> to evaluate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a1ef52f788d22a7e8b41d2bb88e32c34b"></a><!-- doxytag: member="geos::geom::prep::PreparedPolygonPredicate::isAllTestComponentsInTarget" ref="a1ef52f788d22a7e8b41d2bb88e32c34b" args="(const geom::Geometry *testGeom) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool geos::geom::prep::PreparedPolygonPredicate::isAllTestComponentsInTarget </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>testGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tests whether all components of the test <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> are contained in the target geometry. </p>
<p>Handles both linear and point components.</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>a geometry to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if all components of the argument are contained in the target geometry </dd></dl>

</div>
</div>
<a class="anchor" id="a7becc3cfe82252a97109c08ec060d6b0"></a><!-- doxytag: member="geos::geom::prep::PreparedPolygonPredicate::isAllTestComponentsInTargetInterior" ref="a7becc3cfe82252a97109c08ec060d6b0" args="(const geom::Geometry *testGeom) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool geos::geom::prep::PreparedPolygonPredicate::isAllTestComponentsInTargetInterior </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>testGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tests whether all components of the test <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> are contained in the interior of the target geometry. </p>
<p>Handles both linear and point components.</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>a geometry to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if all componenta of the argument are contained in the target geometry interior </dd></dl>

</div>
</div>
<a class="anchor" id="aa9b54696e21fa2730742e7742ae55bdc"></a><!-- doxytag: member="geos::geom::prep::PreparedPolygonPredicate::isAnyTargetComponentInAreaTest" ref="aa9b54696e21fa2730742e7742ae55bdc" args="(const geom::Geometry *testGeom, const geom::Coordinate::ConstVect *targetRepPts) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool geos::geom::prep::PreparedPolygonPredicate::isAnyTargetComponentInAreaTest </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>testGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html#a1735d833ea7d033b82c317f883948525">geom::Coordinate::ConstVect</a> *&nbsp;</td>
          <td class="paramname"> <em>targetRepPts</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tests whether any component of the target geometry intersects the test geometry (which must be an areal 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 test geometry </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>repPts</em>&nbsp;</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="a3da12d4d133b3968f585838ac295ed09"></a><!-- doxytag: member="geos::geom::prep::PreparedPolygonPredicate::isAnyTestComponentInTarget" ref="a3da12d4d133b3968f585838ac295ed09" args="(const geom::Geometry *testGeom) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool geos::geom::prep::PreparedPolygonPredicate::isAnyTestComponentInTarget </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>testGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tests whether any component of the test <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> intersects the area of the target geometry. </p>
<p>Handles test geometries with both linear and point components.</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>a geometry to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if any component of the argument intersects the prepared geometry </dd></dl>

</div>
</div>
<a class="anchor" id="aeababb3d0a044f7f43b4a3f01aeb295a"></a><!-- doxytag: member="geos::geom::prep::PreparedPolygonPredicate::isAnyTestComponentInTargetInterior" ref="aeababb3d0a044f7f43b4a3f01aeb295a" args="(const geom::Geometry *testGeom) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool geos::geom::prep::PreparedPolygonPredicate::isAnyTestComponentInTargetInterior </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>testGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tests whether any component of the test <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> intersects the interior of the target geometry. </p>
<p>Handles test geometries with both linear and point components.</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>a geometry to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if any component of the argument intersects the prepared area geometry interior </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PreparedPolygonPredicate_8h_source.html">PreparedPolygonPredicate.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>