<!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::snap::SnapIfNeededOverlayOp 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>snap</b> </li> <li><a class="el" href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html">geos::operation::overlay::snap::SnapIfNeededOverlayOp</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <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::snap::SnapIfNeededOverlayOp Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::operation::overlay::snap::SnapIfNeededOverlayOp" --> <p>Performs an overlay operation using snapping and enhanced precision to improve the robustness of the result. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="SnapIfNeededOverlayOp_8h_source.html">SnapIfNeededOverlayOp.h</a>></code></p> <p><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24dd2eaf8edd2f7f230093921cec5e49"></a><!-- doxytag: member="geos::operation::overlay::snap::SnapIfNeededOverlayOp::GeomPtr" ref="a24dd2eaf8edd2f7f230093921cec5e49" args="" --> typedef std::auto_ptr<br class="typebreak"/> < <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><b>GeomPtr</b></td></tr> <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="aa86801807fe483954ae96615c486558c"></a><!-- doxytag: member="geos::operation::overlay::snap::SnapIfNeededOverlayOp::SnapIfNeededOverlayOp" ref="aa86801807fe483954ae96615c486558c" args="(const geom::Geometry &g1, const geom::Geometry &g2)" --> </td><td class="memItemRight" valign="bottom"><b>SnapIfNeededOverlayOp</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g1, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g2)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8e1fb7749fb8ed893da3bd7506c98bb"></a><!-- doxytag: member="geos::operation::overlay::snap::SnapIfNeededOverlayOp::getResultGeometry" ref="aa8e1fb7749fb8ed893da3bd7506c98bb" args="(OverlayOp::OpCode opCode)" --> GeomPtr </td><td class="memItemRight" valign="bottom"><b>getResultGeometry</b> (<a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html#a1f2552b975ce852f0b192dc00997b131">OverlayOp::OpCode</a> opCode)</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="a8c737e090a027bfe0b8c8f6d9553093e"></a><!-- doxytag: member="geos::operation::overlay::snap::SnapIfNeededOverlayOp::overlayOp" ref="a8c737e090a027bfe0b8c8f6d9553093e" args="(const geom::Geometry &g0, const geom::Geometry &g1, OverlayOp::OpCode opCode)" --> static std::auto_ptr<br class="typebreak"/> < <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><b>overlayOp</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g0, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g1, <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="afb5289e32ea58503c02aff3957241b1e"></a><!-- doxytag: member="geos::operation::overlay::snap::SnapIfNeededOverlayOp::intersection" ref="afb5289e32ea58503c02aff3957241b1e" args="(const geom::Geometry &g0, const geom::Geometry &g1)" --> static std::auto_ptr<br class="typebreak"/> < <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><b>intersection</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g0, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g1)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4145bb279242ad85a9d6959000f91629"></a><!-- doxytag: member="geos::operation::overlay::snap::SnapIfNeededOverlayOp::Union" ref="a4145bb279242ad85a9d6959000f91629" args="(const geom::Geometry &g0, const geom::Geometry &g1)" --> static std::auto_ptr<br class="typebreak"/> < <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><b>Union</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g0, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g1)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9394ef5ed0be8ca02d0ac1372322a169"></a><!-- doxytag: member="geos::operation::overlay::snap::SnapIfNeededOverlayOp::difference" ref="a9394ef5ed0be8ca02d0ac1372322a169" args="(const geom::Geometry &g0, const geom::Geometry &g1)" --> static std::auto_ptr<br class="typebreak"/> < <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><b>difference</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g0, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g1)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a9b343d5f6160fc4e513a27eec5758c"></a><!-- doxytag: member="geos::operation::overlay::snap::SnapIfNeededOverlayOp::symDifference" ref="a0a9b343d5f6160fc4e513a27eec5758c" args="(const geom::Geometry &g0, const geom::Geometry &g1)" --> static std::auto_ptr<br class="typebreak"/> < <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><b>symDifference</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g0, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g1)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Performs an overlay operation using snapping and enhanced precision to improve the robustness of the result. </p> <p>This class only uses snapping if an error is detected when running the standard JTS overlay code. Errors detected include thrown exceptions (in particular, <a class="el" href="">TopologyException</a>) and invalid overlay computations. </p> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="SnapIfNeededOverlayOp_8h_source.html">SnapIfNeededOverlayOp.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>