<!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::relate::EdgeEndBundle 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_1operation.html">operation</a> </li> <li><a class="el" href="namespacegeos_1_1operation_1_1relate.html">relate</a> </li> <li><a class="el" href="classgeos_1_1operation_1_1relate_1_1EdgeEndBundle.html">geos::operation::relate::EdgeEndBundle</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> | <a href="#pro-attribs">Protected Attributes</a> </div> <div class="headertitle"> <h1>geos::operation::relate::EdgeEndBundle Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::operation::relate::EdgeEndBundle" --><!-- doxytag: inherits="geos::geomgraph::EdgeEnd" --> <p>A collection of <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html" title="Models the end of an edge incident on a node.">geomgraph::EdgeEnd</a> objects which originate at the same point and have the same direction. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="EdgeEndBundle_8h_source.html">EdgeEndBundle.h</a>></code></p> <div class="dynheader"> Inheritance diagram for geos::operation::relate::EdgeEndBundle:</div> <div class="dyncontent"> <div class="center"> <img src="classgeos_1_1operation_1_1relate_1_1EdgeEndBundle.png" usemap="#geos::operation::relate::EdgeEndBundle_map" alt=""/> <map id="geos::operation::relate::EdgeEndBundle_map" name="geos::operation::relate::EdgeEndBundle_map"> <area href="classgeos_1_1geomgraph_1_1EdgeEnd.html" alt="geos::geomgraph::EdgeEnd" shape="rect" coords="0,0,232,24"/> </map> </div> <p><a href="classgeos_1_1operation_1_1relate_1_1EdgeEndBundle-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="a6364758f58d7080852756c8360f9ecde"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::EdgeEndBundle" ref="a6364758f58d7080852756c8360f9ecde" args="(geomgraph::EdgeEnd *e)" --> </td><td class="memItemRight" valign="bottom"><b>EdgeEndBundle</b> (<a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">geomgraph::EdgeEnd</a> *e)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7374e1ea1cbe0a994dfd6ce9686fc47"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::getLabel" ref="ad7374e1ea1cbe0a994dfd6ce9686fc47" args="()" --> <a class="el" href="classgeos_1_1geomgraph_1_1Label.html">geomgraph::Label</a> * </td><td class="memItemRight" valign="bottom"><b>getLabel</b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e49a7dfc520497979566f5080b081c8"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::getEdgeEnds" ref="a0e49a7dfc520497979566f5080b081c8" args="()" --> std::vector<br class="typebreak"/> < <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">geomgraph::EdgeEnd</a> * > * </td><td class="memItemRight" valign="bottom"><b>getEdgeEnds</b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0105ae0f05be7c0bca5e9e093ac86311"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::insert" ref="a0105ae0f05be7c0bca5e9e093ac86311" args="(geomgraph::EdgeEnd *e)" --> void </td><td class="memItemRight" valign="bottom"><b>insert</b> (<a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">geomgraph::EdgeEnd</a> *e)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab13140b9acdf25834250ce5c7a282901"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::computeLabel" ref="ab13140b9acdf25834250ce5c7a282901" args="(const algorithm::BoundaryNodeRule &bnr)" --> void </td><td class="memItemRight" valign="bottom"><b>computeLabel</b> (const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">algorithm::BoundaryNodeRule</a> &bnr)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b7603281e226f0b4348df91db7e7103"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::updateIM" ref="a0b7603281e226f0b4348df91db7e7103" args="(geom::IntersectionMatrix *im)" --> void </td><td class="memItemRight" valign="bottom"><b>updateIM</b> (<a class="el" href="classgeos_1_1geom_1_1IntersectionMatrix.html">geom::IntersectionMatrix</a> *im)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a139eceafcb3dc40615454f02adb085e5"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::print" ref="a139eceafcb3dc40615454f02adb085e5" args="()" --> std::string </td><td class="memItemRight" valign="bottom"><b>print</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_1operation_1_1relate_1_1EdgeEndBundle.html#aeb46f349275f7c270b7d8b1abda1efa8">computeLabelOn</a> (int geomIndex, const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">algorithm::BoundaryNodeRule</a> &boundaryNodeRule)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa87d6fbd44250a021815ab89f2467e42"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::computeLabelSides" ref="aa87d6fbd44250a021815ab89f2467e42" args="(int geomIndex)" --> void </td><td class="memItemRight" valign="bottom"><b>computeLabelSides</b> (int geomIndex)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24e5dd8370b47d4058ecb7ced66e8a9f"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::computeLabelSide" ref="a24e5dd8370b47d4058ecb7ced66e8a9f" args="(int geomIndex, int side)" --> void </td><td class="memItemRight" valign="bottom"><b>computeLabelSide</b> (int geomIndex, int side)</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="af18bd6c72679bda4c90794bf71817d64"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::edgeEnds" ref="af18bd6c72679bda4c90794bf71817d64" args="" --> std::vector<br class="typebreak"/> < <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">geomgraph::EdgeEnd</a> * > * </td><td class="memItemRight" valign="bottom"><b>edgeEnds</b></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A collection of <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html" title="Models the end of an edge incident on a node.">geomgraph::EdgeEnd</a> objects which originate at the same point and have the same direction. </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aeb46f349275f7c270b7d8b1abda1efa8"></a><!-- doxytag: member="geos::operation::relate::EdgeEndBundle::computeLabelOn" ref="aeb46f349275f7c270b7d8b1abda1efa8" args="(int geomIndex, const algorithm::BoundaryNodeRule &boundaryNodeRule)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void geos::operation::relate::EdgeEndBundle::computeLabelOn </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>geomIndex</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">algorithm::BoundaryNodeRule</a> & </td> <td class="paramname"> <em>boundaryNodeRule</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Compute the overall ON location for the list of EdgeStubs.</p> <p>(This is essentially equivalent to computing the self-overlay of a single Geometry)</p> <p>edgeStubs can be either on the boundary (eg Polygon edge) OR in the interior (e.g. segment of a LineString) of their parent Geometry.</p> <p>In addition, GeometryCollections use a <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">algorithm::BoundaryNodeRule</a> to determine whether a segment is on the boundary or not.</p> <p>Finally, in GeometryCollections it can occur that an edge is both on the boundary and in the interior (e.g. a LineString segment lying on top of a Polygon edge.) In this case the Boundary is given precendence.</p> <p>These observations result in the following rules for computing the ON location:</p> <ul> <li>if there are an odd number of Bdy edges, the attribute is Bdy</li> <li>if there are an even number >= 2 of Bdy edges, the attribute is Int</li> <li>if there are any Int edges, the attribute is Int</li> <li>otherwise, the attribute is NULL. </li> </ul> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="EdgeEndBundle_8h_source.html">EdgeEndBundle.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>