<!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::validate::OverlayResultValidator 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_1overlay.html">overlay</a> </li> <li><b>validate</b> </li> <li><a class="el" href="classgeos_1_1operation_1_1overlay_1_1validate_1_1OverlayResultValidator.html">geos::operation::overlay::validate::OverlayResultValidator</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <h1>geos::operation::overlay::validate::OverlayResultValidator Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::operation::overlay::validate::OverlayResultValidator" --> <p>Validates that the result of an overlay operation is geometrically correct within a determined tolerance. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="OverlayResultValidator_8h_source.html">OverlayResultValidator.h</a>></code></p> <p><a href="classgeos_1_1operation_1_1overlay_1_1validate_1_1OverlayResultValidator-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="a866c00a386a14fb828e4f7b49a4c4e26"></a><!-- doxytag: member="geos::operation::overlay::validate::OverlayResultValidator::OverlayResultValidator" ref="a866c00a386a14fb828e4f7b49a4c4e26" args="(const geom::Geometry &geom0, const geom::Geometry &geom1, const geom::Geometry &result)" --> </td><td class="memItemRight" valign="bottom"><b>OverlayResultValidator</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &geom0, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &geom1, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &result)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a40d2149f43daa808da8e285b6e559f"></a><!-- doxytag: member="geos::operation::overlay::validate::OverlayResultValidator::isValid" ref="a4a40d2149f43daa808da8e285b6e559f" args="(OverlayOp::OpCode opCode)" --> bool </td><td class="memItemRight" valign="bottom"><b>isValid</b> (<a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html#a1f2552b975ce852f0b192dc00997b131">OverlayOp::OpCode</a> opCode)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ac4216dfffd2a920eb36b3c555f696b"></a><!-- doxytag: member="geos::operation::overlay::validate::OverlayResultValidator::getInvalidLocation" ref="a9ac4216dfffd2a920eb36b3c555f696b" args="()" --> <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td><td class="memItemRight" valign="bottom"><b>getInvalidLocation</b> ()</td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2bb9a60c0c0333bf2f63d3fb27e0d8c"></a><!-- doxytag: member="geos::operation::overlay::validate::OverlayResultValidator::isValid" ref="ae2bb9a60c0c0333bf2f63d3fb27e0d8c" args="(const geom::Geometry &geom0, const geom::Geometry &geom1, OverlayOp::OpCode opCode, const geom::Geometry &result)" --> static bool </td><td class="memItemRight" valign="bottom"><b>isValid</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &geom0, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &geom1, <a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html#a1f2552b975ce852f0b192dc00997b131">OverlayOp::OpCode</a> opCode, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &result)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Validates that the result of an overlay operation is geometrically correct within a determined tolerance. </p> <p>Uses fuzzy point location to find points which are definitely in either the interior or exterior of the result geometry, and compares these results with the expected ones.</p> <p>This algorithm is only useful where the inputs are polygonal.</p> <p>This is a heuristic test, and may return false positive results (I.e. it may fail to detect an invalid result.) It should never return a false negative result, however (I.e. it should never report a valid result as invalid.)</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html" title="Computes the overlay of two Geometry.">OverlayOp</a> </dd></dl> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="OverlayResultValidator_8h_source.html">OverlayResultValidator.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>