<!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::precision::EnhancedPrecisionOp 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_1precision.html">precision</a> </li> <li><a class="el" href="classgeos_1_1precision_1_1EnhancedPrecisionOp.html">geos::precision::EnhancedPrecisionOp</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <h1>geos::precision::EnhancedPrecisionOp Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::precision::EnhancedPrecisionOp" --> <p>Provides versions of Geometry spatial functions which use enhanced precision techniques to reduce the likelihood of robustness problems. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="EnhancedPrecisionOp_8h_source.html">EnhancedPrecisionOp.h</a>></code></p> <p><a href="classgeos_1_1precision_1_1EnhancedPrecisionOp-members.html">List of all members.</a></p> <table class="memberdecls"> <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">static <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1EnhancedPrecisionOp.html#a4502c2836e7ec2ba705f5dfa2f744425">intersection</a> (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)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the set-theoretic intersection of two Geometrys, using enhanced precision. <a href="#a4502c2836e7ec2ba705f5dfa2f744425"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1EnhancedPrecisionOp.html#a0e6b863961c29cca5a3bbbb9c096f957">Union</a> (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)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1EnhancedPrecisionOp.html#aeaad196861566cb481d4f8901d6d7c48">difference</a> (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)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1EnhancedPrecisionOp.html#ae26e3367eb352050bc87a04df0b4bae2">symDifference</a> (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)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1EnhancedPrecisionOp.html#ad5e0e9698feb4289a8614d29167efef6">buffer</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom, double distance)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Provides versions of Geometry spatial functions which use enhanced precision techniques to reduce the likelihood of robustness problems. </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ad5e0e9698feb4289a8614d29167efef6"></a><!-- doxytag: member="geos::precision::EnhancedPrecisionOp::buffer" ref="ad5e0e9698feb4289a8614d29167efef6" args="(const geom::Geometry *geom, double distance)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* geos::precision::EnhancedPrecisionOp::buffer </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>geom</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>distance</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Computes the buffer of a Geometry, using enhanced precision. This method should no longer be necessary, since the buffer algorithm now is highly robust.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>geom0</em> </td><td>the first Geometry </td></tr> <tr><td valign="top"></td><td valign="top"><em>distance</em> </td><td>the buffer distance </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>the Geometry representing the buffer of the input Geometry. </dd></dl> </div> </div> <a class="anchor" id="aeaad196861566cb481d4f8901d6d7c48"></a><!-- doxytag: member="geos::precision::EnhancedPrecisionOp::difference" ref="aeaad196861566cb481d4f8901d6d7c48" args="(const geom::Geometry *geom0, const geom::Geometry *geom1)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* geos::precision::EnhancedPrecisionOp::difference </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>geom0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>geom1</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Computes the set-theoretic difference of two Geometrys, using enhanced precision. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>geom0</em> </td><td>the first Geometry </td></tr> <tr><td valign="top"></td><td valign="top"><em>geom1</em> </td><td>the second Geometry </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>the Geometry representing the set-theoretic difference of the input Geometries. </dd></dl> </div> </div> <a class="anchor" id="a4502c2836e7ec2ba705f5dfa2f744425"></a><!-- doxytag: member="geos::precision::EnhancedPrecisionOp::intersection" ref="a4502c2836e7ec2ba705f5dfa2f744425" args="(const geom::Geometry *geom0, const geom::Geometry *geom1)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* geos::precision::EnhancedPrecisionOp::intersection </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>geom0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>geom1</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Computes the set-theoretic intersection of two Geometrys, using enhanced precision. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>geom0</em> </td><td>the first Geometry </td></tr> <tr><td valign="top"></td><td valign="top"><em>geom1</em> </td><td>the second Geometry </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>the Geometry representing the set-theoretic intersection of the input Geometries. </dd></dl> </div> </div> <a class="anchor" id="ae26e3367eb352050bc87a04df0b4bae2"></a><!-- doxytag: member="geos::precision::EnhancedPrecisionOp::symDifference" ref="ae26e3367eb352050bc87a04df0b4bae2" args="(const geom::Geometry *geom0, const geom::Geometry *geom1)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* geos::precision::EnhancedPrecisionOp::symDifference </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>geom0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>geom1</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Computes the set-theoretic symmetric difference of two Geometrys, using enhanced precision. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>geom0</em> </td><td>the first Geometry </td></tr> <tr><td valign="top"></td><td valign="top"><em>geom1</em> </td><td>the second Geometry </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>the Geometry representing the set-theoretic symmetric difference of the input Geometries. </dd></dl> </div> </div> <a class="anchor" id="a0e6b863961c29cca5a3bbbb9c096f957"></a><!-- doxytag: member="geos::precision::EnhancedPrecisionOp::Union" ref="a0e6b863961c29cca5a3bbbb9c096f957" args="(const geom::Geometry *geom0, const geom::Geometry *geom1)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* geos::precision::EnhancedPrecisionOp::Union </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>geom0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td> <td class="paramname"> <em>geom1</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Computes the set-theoretic union of two Geometrys, using enhanced precision. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>geom0</em> </td><td>the first Geometry </td></tr> <tr><td valign="top"></td><td valign="top"><em>geom1</em> </td><td>the second Geometry </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>the Geometry representing the set-theoretic union of the input Geometries. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="EnhancedPrecisionOp_8h_source.html">EnhancedPrecisionOp.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>