Sophie

Sophie

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

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::MaximalEdgeRing 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_1MaximalEdgeRing.html">geos::operation::overlay::MaximalEdgeRing</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::MaximalEdgeRing Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::operation::overlay::MaximalEdgeRing" --><!-- doxytag: inherits="geos::geomgraph::EdgeRing" -->
<p>A ring of <a class="el" href="">edges</a> which may contain nodes of degree &gt; 2.  
<a href="#_details">More...</a></p>

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

<p>Inherits geos::geomgraph::EdgeRing.</p>

<p><a href="classgeos_1_1operation_1_1overlay_1_1MaximalEdgeRing-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="acb8e7851699d1ef86ab4a2e44699e441"></a><!-- doxytag: member="geos::operation::overlay::MaximalEdgeRing::MaximalEdgeRing" ref="acb8e7851699d1ef86ab4a2e44699e441" args="(geomgraph::DirectedEdge *start, const geom::GeometryFactory *geometryFactory)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>MaximalEdgeRing</b> (<a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">geomgraph::DirectedEdge</a> *start, const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> *geometryFactory)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6cbbd9ad37c0b306bdef7c7fad67e0a"></a><!-- doxytag: member="geos::operation::overlay::MaximalEdgeRing::getNext" ref="ab6cbbd9ad37c0b306bdef7c7fad67e0a" args="(geomgraph::DirectedEdge *de)" -->
<a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">geomgraph::DirectedEdge</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>getNext</b> (<a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">geomgraph::DirectedEdge</a> *de)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3933ba4a44f6089f3b12080f60252b31"></a><!-- doxytag: member="geos::operation::overlay::MaximalEdgeRing::setEdgeRing" ref="a3933ba4a44f6089f3b12080f60252b31" args="(geomgraph::DirectedEdge *de, geomgraph::EdgeRing *er)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setEdgeRing</b> (<a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">geomgraph::DirectedEdge</a> *de, geomgraph::EdgeRing *er)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classgeos_1_1operation_1_1overlay_1_1MinimalEdgeRing.html">MinimalEdgeRing</a> * &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlay_1_1MaximalEdgeRing.html#aabc9d5b8faf5650078b1b8e1ed0a3421">buildMinimalRings</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function returns a newly allocated vector of pointers to newly allocated <a class="el" href="classgeos_1_1operation_1_1overlay_1_1MinimalEdgeRing.html" title="A ring of Edges with the property that no node has degree greater than 2.">MinimalEdgeRing</a> objects.  <a href="#aabc9d5b8faf5650078b1b8e1ed0a3421"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7fd72864bada5baccd4b4da631515258"></a><!-- doxytag: member="geos::operation::overlay::MaximalEdgeRing::buildMinimalRings" ref="a7fd72864bada5baccd4b4da631515258" args="(std::vector&lt; MinimalEdgeRing * &gt; &amp;minEdgeRings)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlay_1_1MaximalEdgeRing.html#a7fd72864bada5baccd4b4da631515258">buildMinimalRings</a> (std::vector&lt; <a class="el" href="classgeos_1_1operation_1_1overlay_1_1MinimalEdgeRing.html">MinimalEdgeRing</a> * &gt; &amp;minEdgeRings)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function pushes pointers to newly allocated <a class="el" href="classgeos_1_1operation_1_1overlay_1_1MinimalEdgeRing.html" title="A ring of Edges with the property that no node has degree greater than 2.">MinimalEdgeRing</a> objects to the provided vector. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa30c33b4c4c2572e6dccbf9cb0002b08"></a><!-- doxytag: member="geos::operation::overlay::MaximalEdgeRing::buildMinimalRings" ref="aa30c33b4c4c2572e6dccbf9cb0002b08" args="(std::vector&lt; EdgeRing * &gt; &amp;minEdgeRings)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>buildMinimalRings</b> (std::vector&lt; EdgeRing * &gt; &amp;minEdgeRings)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7513d8e3882bde386e700fecfe3c055a"></a><!-- doxytag: member="geos::operation::overlay::MaximalEdgeRing::linkDirectedEdgesForMinimalEdgeRings" ref="a7513d8e3882bde386e700fecfe3c055a" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlay_1_1MaximalEdgeRing.html#a7513d8e3882bde386e700fecfe3c055a">linkDirectedEdgesForMinimalEdgeRings</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">For all nodes in this EdgeRing, link the DirectedEdges at the node to form minimalEdgeRings. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A ring of <a class="el" href="">edges</a> which may contain nodes of degree &gt; 2. </p>
<p>A <a class="el" href="classgeos_1_1operation_1_1overlay_1_1MaximalEdgeRing.html" title="A ring of edges which may contain nodes of degree &gt; 2.">MaximalEdgeRing</a> may represent two different spatial entities:</p>
<ul>
<li>a single polygon possibly containing inversions (if the ring is oriented CW)</li>
<li>a single hole possibly containing exversions (if the ring is oriented CCW)</li>
</ul>
<p>If the <a class="el" href="classgeos_1_1operation_1_1overlay_1_1MaximalEdgeRing.html" title="A ring of edges which may contain nodes of degree &gt; 2.">MaximalEdgeRing</a> represents a polygon, the interior of the polygon is strongly connected.</p>
<p>These are the form of rings used to define polygons under some spatial data models. However, under the OGC SFS model, <a class="el" href="">MinimalEdgeRings</a> are required. A <a class="el" href="classgeos_1_1operation_1_1overlay_1_1MaximalEdgeRing.html" title="A ring of edges which may contain nodes of degree &gt; 2.">MaximalEdgeRing</a> can be converted to a list of MinimalEdgeRings using the <a class="el" href="classgeos_1_1operation_1_1overlay_1_1MaximalEdgeRing.html#aabc9d5b8faf5650078b1b8e1ed0a3421">buildMinimalRings()</a> method.</p>
<dl class="see"><dt><b>See also:</b></dt><dd>com.vividsolutions.jts.operation.overlay.MinimalEdgeRing </dd></dl>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aabc9d5b8faf5650078b1b8e1ed0a3421"></a><!-- doxytag: member="geos::operation::overlay::MaximalEdgeRing::buildMinimalRings" ref="aabc9d5b8faf5650078b1b8e1ed0a3421" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classgeos_1_1operation_1_1overlay_1_1MinimalEdgeRing.html">MinimalEdgeRing</a>*&gt;* geos::operation::overlay::MaximalEdgeRing::buildMinimalRings </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function returns a newly allocated vector of pointers to newly allocated <a class="el" href="classgeos_1_1operation_1_1overlay_1_1MinimalEdgeRing.html" title="A ring of Edges with the property that no node has degree greater than 2.">MinimalEdgeRing</a> objects. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000019">Deprecated:</a></b></dt><dd>pass the vector yourself instead </dd></dl>

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