<!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::algorithm::BoundaryNodeRule 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_1algorithm.html">algorithm</a> </li> <li><a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">geos::algorithm::BoundaryNodeRule</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-attribs">Static Public Attributes</a> </div> <div class="headertitle"> <h1>geos::algorithm::BoundaryNodeRule Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::algorithm::BoundaryNodeRule" --> <p><code>#include <<a class="el" href="BoundaryNodeRule_8h_source.html">BoundaryNodeRule.h</a>></code></p> <p><a href="classgeos_1_1algorithm_1_1BoundaryNodeRule-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 bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#a52f63215c796176e1f0e304dff43ccc3">isInBoundary</a> (int boundaryCount) const =0</td></tr> <tr><td colspan="2"><h2><a name="pub-static-attribs"></a> Static Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#a15a9b07ed48a4c887f9f99c5f6d146bf">MOD2_BOUNDARY_RULE</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The Mod-2 Boundary Node Rule (which is the rule specified in the OGC SFS). <a href="#a15a9b07ed48a4c887f9f99c5f6d146bf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#af1e33cb370ab38117aea14db2a4a0c3a">ENDPOINT_BOUNDARY_RULE</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The Endpoint Boundary Node Rule. <a href="#af1e33cb370ab38117aea14db2a4a0c3a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#aed6570d7dfb75e2f7f0a89201708fa1c">MULTIVALENT_ENDPOINT_BOUNDARY_RULE</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The MultiValent Endpoint Boundary Node Rule. <a href="#aed6570d7dfb75e2f7f0a89201708fa1c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#a4acd56d0dca2b630d72c2ecae98dd7e1">MONOVALENT_ENDPOINT_BOUNDARY_RULE</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The Monovalent Endpoint Boundary Node Rule. <a href="#a4acd56d0dca2b630d72c2ecae98dd7e1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#a559e51209c522b461f2914d0b1999061">OGC_SFS_BOUNDARY_RULE</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The Boundary Node Rule specified by the OGC Simple Features Specification, which is the same as the Mod-2 rule. <a href="#a559e51209c522b461f2914d0b1999061"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>An interface for rules which determine whether node points which are in boundaries of <a class="el" href="">Lineal</a> geometry components are in the boundary of the parent geometry collection. The SFS specifies a single kind of boundary node rule, the <a class="el" href="">Mod2BoundaryNodeRule</a> rule. However, other kinds of Boundary Node Rules are appropriate in specific situations (for instance, linear network topology usually follows the <a class="el" href="">EndPointBoundaryNodeRule</a>.) Some JTS operations allow the <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a> to be specified, and respect this rule when computing the results of the operation.</p> <dl class="author"><dt><b>Author:</b></dt><dd>Martin Davis </dd></dl> <dl class="version"><dt><b>Version:</b></dt><dd>1.7</dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classgeos_1_1operation_1_1relate_1_1RelateOp.html" title="Implements the SFS relate() operation on two geom::Geometry objects.">operation::relate::RelateOp</a> </dd> <dd> <a class="el" href="classgeos_1_1operation_1_1IsSimpleOp.html" title="Tests whether a Geometry is simple.">operation::IsSimpleOp</a> </dd> <dd> <a class="el" href="classgeos_1_1algorithm_1_1PointLocator.html" title="Computes the topological relationship (Location) of a single point to a Geometry.">algorithm::PointLocator</a> </dd></dl> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a52f63215c796176e1f0e304dff43ccc3"></a><!-- doxytag: member="geos::algorithm::BoundaryNodeRule::isInBoundary" ref="a52f63215c796176e1f0e304dff43ccc3" args="(int boundaryCount) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool geos::algorithm::BoundaryNodeRule::isInBoundary </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>boundaryCount</em></td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Tests whether a point that lies in <code>boundaryCount</code> geometry component boundaries is considered to form part of the boundary of the parent 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>boundaryCount</em> </td><td>the number of component boundaries that this point occurs in </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true if points in this number of boundaries lie in the parent boundary </dd></dl> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="af1e33cb370ab38117aea14db2a4a0c3a"></a><!-- doxytag: member="geos::algorithm::BoundaryNodeRule::ENDPOINT_BOUNDARY_RULE" ref="af1e33cb370ab38117aea14db2a4a0c3a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a>& <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#af1e33cb370ab38117aea14db2a4a0c3a">geos::algorithm::BoundaryNodeRule::ENDPOINT_BOUNDARY_RULE</a><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The Endpoint Boundary Node Rule. </p> <dl class="see"><dt><b>See also:</b></dt><dd>EndPointBoundaryNodeRule </dd></dl> </div> </div> <a class="anchor" id="a15a9b07ed48a4c887f9f99c5f6d146bf"></a><!-- doxytag: member="geos::algorithm::BoundaryNodeRule::MOD2_BOUNDARY_RULE" ref="a15a9b07ed48a4c887f9f99c5f6d146bf" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a>& <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#a15a9b07ed48a4c887f9f99c5f6d146bf">geos::algorithm::BoundaryNodeRule::MOD2_BOUNDARY_RULE</a><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The Mod-2 Boundary Node Rule (which is the rule specified in the OGC SFS). </p> <dl class="see"><dt><b>See also:</b></dt><dd>Mod2BoundaryNodeRule </dd></dl> </div> </div> <a class="anchor" id="a4acd56d0dca2b630d72c2ecae98dd7e1"></a><!-- doxytag: member="geos::algorithm::BoundaryNodeRule::MONOVALENT_ENDPOINT_BOUNDARY_RULE" ref="a4acd56d0dca2b630d72c2ecae98dd7e1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a>& <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#a4acd56d0dca2b630d72c2ecae98dd7e1">geos::algorithm::BoundaryNodeRule::MONOVALENT_ENDPOINT_BOUNDARY_RULE</a><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The Monovalent Endpoint Boundary Node Rule. </p> <dl class="see"><dt><b>See also:</b></dt><dd>MonoValentEndPointBoundaryNodeRule </dd></dl> </div> </div> <a class="anchor" id="aed6570d7dfb75e2f7f0a89201708fa1c"></a><!-- doxytag: member="geos::algorithm::BoundaryNodeRule::MULTIVALENT_ENDPOINT_BOUNDARY_RULE" ref="aed6570d7dfb75e2f7f0a89201708fa1c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a>& <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#aed6570d7dfb75e2f7f0a89201708fa1c">geos::algorithm::BoundaryNodeRule::MULTIVALENT_ENDPOINT_BOUNDARY_RULE</a><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The MultiValent Endpoint Boundary Node Rule. </p> <dl class="see"><dt><b>See also:</b></dt><dd>MultiValentEndPointBoundaryNodeRule </dd></dl> </div> </div> <a class="anchor" id="a559e51209c522b461f2914d0b1999061"></a><!-- doxytag: member="geos::algorithm::BoundaryNodeRule::OGC_SFS_BOUNDARY_RULE" ref="a559e51209c522b461f2914d0b1999061" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html">BoundaryNodeRule</a>& <a class="el" href="classgeos_1_1algorithm_1_1BoundaryNodeRule.html#a559e51209c522b461f2914d0b1999061">geos::algorithm::BoundaryNodeRule::OGC_SFS_BOUNDARY_RULE</a><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The Boundary Node Rule specified by the OGC Simple Features Specification, which is the same as the Mod-2 rule. </p> <dl class="see"><dt><b>See also:</b></dt><dd>Mod2BoundaryNodeRule </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="BoundaryNodeRule_8h_source.html">BoundaryNodeRule.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>