Sophie

Sophie

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

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::operation::overlay::PolygonBuilder 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_1operation.html">operation</a>      </li>
      <li><a class="el" href="namespacegeos_1_1operation_1_1overlay.html">overlay</a>      </li>
      <li><a class="el" href="classgeos_1_1operation_1_1overlay_1_1PolygonBuilder.html">geos::operation::overlay::PolygonBuilder</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::operation::overlay::PolygonBuilder Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::operation::overlay::PolygonBuilder" -->
<p>Forms Polygon out of a graph of <a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html" title="A directed EdgeEnd.">geomgraph::DirectedEdge</a>.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PolygonBuilder_8h_source.html">PolygonBuilder.h</a>&gt;</code></p>

<p><a href="classgeos_1_1operation_1_1overlay_1_1PolygonBuilder-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="afb95d6a4b92ce3cc8a82d4b92e909c30"></a><!-- doxytag: member="geos::operation::overlay::PolygonBuilder::PolygonBuilder" ref="afb95d6a4b92ce3cc8a82d4b92e909c30" args="(const geom::GeometryFactory *newGeometryFactory)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>PolygonBuilder</b> (const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> *newGeometryFactory)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlay_1_1PolygonBuilder.html#aff7ead5417ef41d9f4118ff085ee5368">add</a> (<a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html">geomgraph::PlanarGraph</a> *graph)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlay_1_1PolygonBuilder.html#af0c1139651607a3bfe021080003b2186">add</a> (const std::vector&lt; <a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">geomgraph::DirectedEdge</a> * &gt; *dirEdges, const std::vector&lt; geomgraph::Node * &gt; *nodes)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a524207f05f62993f493771367298c1ac"></a><!-- doxytag: member="geos::operation::overlay::PolygonBuilder::getPolygons" ref="a524207f05f62993f493771367298c1ac" args="()" -->
std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><b>getPolygons</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab667efd3b54c853d45320fc9c82fef56"></a><!-- doxytag: member="geos::operation::overlay::PolygonBuilder::containsPoint" ref="ab667efd3b54c853d45320fc9c82fef56" args="(const geom::Coordinate &amp;p)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlay_1_1PolygonBuilder.html#ab667efd3b54c853d45320fc9c82fef56">containsPoint</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks the current set of shells (with their associated holes) to see if any of them contain the point. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Forms Polygon out of a graph of <a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html" title="A directed EdgeEnd.">geomgraph::DirectedEdge</a>. </p>
<p>The edges to use are marked as being in the result Area. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aff7ead5417ef41d9f4118ff085ee5368"></a><!-- doxytag: member="geos::operation::overlay::PolygonBuilder::add" ref="aff7ead5417ef41d9f4118ff085ee5368" args="(geomgraph::PlanarGraph *graph)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::operation::overlay::PolygonBuilder::add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html">geomgraph::PlanarGraph</a> *&nbsp;</td>
          <td class="paramname"> <em>graph</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a complete graph. The graph is assumed to contain one or more polygons, possibly with holes. </p>

</div>
</div>
<a class="anchor" id="af0c1139651607a3bfe021080003b2186"></a><!-- doxytag: member="geos::operation::overlay::PolygonBuilder::add" ref="af0c1139651607a3bfe021080003b2186" args="(const std::vector&lt; geomgraph::DirectedEdge * &gt; *dirEdges, const std::vector&lt; geomgraph::Node * &gt; *nodes)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::operation::overlay::PolygonBuilder::add </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">geomgraph::DirectedEdge</a> * &gt; *&nbsp;</td>
          <td class="paramname"> <em>dirEdges</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; geomgraph::Node * &gt; *&nbsp;</td>
          <td class="paramname"> <em>nodes</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a set of edges and nodes, which form a graph. The graph is assumed to contain one or more polygons, possibly with holes. </p>

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