<!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::noding::FastNodingValidator 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_1noding.html">noding</a> </li> <li><a class="el" href="classgeos_1_1noding_1_1FastNodingValidator.html">geos::noding::FastNodingValidator</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::noding::FastNodingValidator Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::noding::FastNodingValidator" --> <p>Validates that a collection of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s is correctly noded. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="FastNodingValidator_8h_source.html">FastNodingValidator.h</a>></code></p> <p><a href="classgeos_1_1noding_1_1FastNodingValidator-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="a8c81ddd9ca5a89e4c2652422559b5e3a"></a><!-- doxytag: member="geos::noding::FastNodingValidator::FastNodingValidator" ref="a8c81ddd9ca5a89e4c2652422559b5e3a" args="(std::vector< noding::SegmentString * > &newSegStrings)" --> </td><td class="memItemRight" valign="bottom"><b>FastNodingValidator</b> (std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">noding::SegmentString</a> * > &newSegStrings)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastNodingValidator.html#aad541ae8ff8cf433d24e3ec4b22fa5cd">isValid</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastNodingValidator.html#af39a7aecf9f86bf506c1706d425317b3">getErrorMessage</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastNodingValidator.html#a214f1ee69eba7f22ea1125c678cd08aa">checkValid</a> ()</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Validates that a collection of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s is correctly noded. </p> <p>Uses indexes to improve performance. Does NOT check a-b-a collapse situations. Also does not check for endpt-interior vertex intersections. This should not be a problem, since the noders should be able to compute intersections between vertices correctly. User may either test the valid condition, or request that a <a class="el" href="">TopologyException</a> be thrown.</p> <dl class="version"><dt><b>Version:</b></dt><dd>1.7 </dd></dl> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a214f1ee69eba7f22ea1125c678cd08aa"></a><!-- doxytag: member="geos::noding::FastNodingValidator::checkValid" ref="a214f1ee69eba7f22ea1125c678cd08aa" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void geos::noding::FastNodingValidator::checkValid </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Checks for an intersection and throws a TopologyException if one is found.</p> <dl><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>TopologyException</em> </td><td>if an intersection is found </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="af39a7aecf9f86bf506c1706d425317b3"></a><!-- doxytag: member="geos::noding::FastNodingValidator::getErrorMessage" ref="af39a7aecf9f86bf506c1706d425317b3" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string geos::noding::FastNodingValidator::getErrorMessage </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns an error message indicating the segments containing the intersection.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>an error message documenting the intersection location </dd></dl> </div> </div> <a class="anchor" id="aad541ae8ff8cf433d24e3ec4b22fa5cd"></a><!-- doxytag: member="geos::noding::FastNodingValidator::isValid" ref="aad541ae8ff8cf433d24e3ec4b22fa5cd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool geos::noding::FastNodingValidator::isValid </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Checks for an intersection and reports if one is found.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if the arrangement contains an interior intersection </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="FastNodingValidator_8h_source.html">FastNodingValidator.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>