geos_390_docs/SnapIfNeededOverlayOp_8h_so...

79 lines
28 KiB
HTML
Raw Normal View History

2020-12-23 18:34:09 -08:00
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>GEOS: SnapIfNeededOverlayOp.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">GEOS
&#160;<span id="projectnumber">3.9.1dev</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0bc14b2fb119a11b6a0f32f4d350db61.html">geos</a></li><li class="navelem"><a class="el" href="dir_cc91dd2a378845bf7e3e6edb554afff8.html">operation</a></li><li class="navelem"><a class="el" href="dir_96d0e52ddb95397c192e273e98580ca1.html">overlay</a></li><li class="navelem"><a class="el" href="dir_b5b7db349d557624ee750aa148c9ffae.html">snap</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">SnapIfNeededOverlayOp.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="SnapIfNeededOverlayOp_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * GEOS - Geometry Engine Open Source</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * http://geos.osgeo.org</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (C) 2009 2011 Sandro Santilli &lt;strk@kbt.io&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> ***********************************************************************</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * Last port: operation/overlay/snap/SnapIfNeededOverlayOp.java r320 (JTS-1.12)</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#ifndef GEOS_OP_OVERLAY_SNAP_SNAPIFNEEDEDOVERLAYOP_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define GEOS_OP_OVERLAY_SNAP_SNAPIFNEEDEDOVERLAYOP_H</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="OverlayOp_8h.html">geos/operation/overlay/OverlayOp.h</a>&gt;</span> <span class="comment">// for enums</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span> <span class="comment">// for unique_ptr</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment">// Forward declarations</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {<
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp_html_aeacf8a1612435422a3c2e24a3b45f1d7"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html#aeacf8a1612435422a3c2e24a3b45f1d7">geos::operation::overlay::snap::SnapIfNeededOverlayOp::overlayOp</a></div><div class="ttdeci">static std::unique_ptr&lt; geom::Geometry &gt; overlayOp(const geom::Geometry &amp;g0, const geom::Geometry &amp;g1, OverlayOp::OpCode opCode)</div><div class="ttdef"><b>Definition:</b> <a href="SnapIfNeededOverlayOp_8h_source.html#l00052">SnapIfNeededOverlayOp.h:52</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp_html_a584842ec0652577630b8a98ec1eaf55b"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html#a584842ec0652577630b8a98ec1eaf55b">geos::operation::overlay::snap::SnapIfNeededOverlayOp::geom0</a></div><div class="ttdeci">const geom::Geometry &amp; geom0</div><div class="ttdef"><b>Definition:</b> <a href="SnapIfNeededOverlayOp_8h_source.html#l00097">SnapIfNeededOverlayOp.h:97</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp_html_aa8e1fb7749fb8ed893da3bd7506c98bb"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html#aa8e1fb7749fb8ed893da3bd7506c98bb">geos::operation::overlay::snap::SnapIfNeededOverlayOp::getResultGeometry</a></div><div class="ttdeci">GeomPtr getResultGeometry(OverlayOp::OpCode opCode)</div></div>
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1OverlayOp_html_a1f2552b975ce852f0b192dc00997b131"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html#a1f2552b975ce852f0b192dc00997b131">geos::operation::overlay::OverlayOp::OpCode</a></div><div class="ttdeci">OpCode</div><div class="ttdoc">The spatial functions supported by this class. </div><div class="ttdef"><b>Definition:</b> <a href="OverlayOp_8h_source.html#l00079">OverlayOp.h:79</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp_html"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html">geos::operation::overlay::snap::SnapIfNeededOverlayOp</a></div><div class="ttdoc">Performs an overlay operation using snapping and enhanced precision to improve the robustness of the ...</div><div class="ttdef"><b>Definition:</b> <a href="SnapIfNeededOverlayOp_8h_source.html#l00047">SnapIfNeededOverlayOp.h:47</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Geometry_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Geometry.html">geos::geom::Geometry</a></div><div class="ttdoc">Basic implementation of Geometry, constructed and destructed by GeometryFactory. </div><div class="ttdef"><b>Definition:</b> <a href="Geometry_8h_source.html#l00188">Geometry.h:188</a></div></div>
<div class="ttc" id="OverlayOp_8h_html"><div class="ttname"><a href="OverlayOp_8h.html">OverlayOp.h</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp_html_abff63dd84d82774bec4141008ab988ea"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html#abff63dd84d82774bec4141008ab988ea">geos::operation::overlay::snap::SnapIfNeededOverlayOp::symDifference</a></div><div class="ttdeci">static std::unique_ptr&lt; geom::Geometry &gt; symDifference(const geom::Geometry &amp;g0, const geom::Geometry &amp;g1)</div><div class="ttdef"><b>Definition:</b> <a href="SnapIfNeededOverlayOp_8h_source.html#l00078">SnapIfNeededOverlayOp.h:78</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp_html_a4e27f1973f31fc04dd6ab1ee7c95f575"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html#a4e27f1973f31fc04dd6ab1ee7c95f575">geos::operation::overlay::snap::SnapIfNeededOverlayOp::GeomPtr</a></div><div class="ttdeci">std::unique_ptr&lt; geom::Geometry &gt; GeomPtr</div><div class="ttdef"><b>Definition:</b> <a href="SnapIfNeededOverlayOp_8h_source.html#l00091">SnapIfNeededOverlayOp.h:91</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp_html_a00deafb529c3211b12ff600df27dbbbe"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html#a00deafb529c3211b12ff600df27dbbbe">geos::operation::overlay::snap::SnapIfNeededOverlayOp::geom1</a></div><div class="ttdeci">const geom::Geometry &amp; geom1</div><div class="ttdef"><b>Definition:</b> <a href="SnapIfNeededOverlayOp_8h_source.html#l00098">SnapIfNeededOverlayOp.h:98</a></div></div>
<div class="ttc" id="namespacegeos_html"><div class="ttname"><a href="namespacegeos.html">geos</a></div><div class="ttdoc">Basic namespace for all GEOS functionalities. </div><div class="ttdef"><b>Definition:</b> <a href="IndexedNestedRingTester_8h_source.html#l00026">IndexedNestedRingTester.h:26</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp_html_ac1dbbf3a19d8b43aff0415741e1ca37a"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html#ac1dbbf3a19d8b43aff0415741e1ca37a">geos::operation::overlay::snap::SnapIfNeededOverlayOp::difference</a></div><div class="ttdeci">static std::unique_ptr&lt; geom::Geometry &gt; difference(const geom::Geometry &amp;g0, const geom::Geometry &amp;g1)</div><div class="ttdef"><b>Definition:</b> <a href="SnapIfNeededOverlayOp_8h_source.html#l00072">SnapIfNeededOverlayOp.h:72</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp_html_afd9a64a109479362f2b8a145674da538"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html#afd9a64a109479362f2b8a145674da538">geos::operation::overlay::snap::SnapIfNeededOverlayOp::Union</a></div><div class="ttdeci">static std::unique_ptr&lt; geom::Geometry &gt; Union(const geom::Geometry &amp;g0, const geom::Geometry &amp;g1)</div><div class="ttdef"><b>Definition:</b> <a href="SnapIfNeededOverlayOp_8h_source.html#l00066">SnapIfNeededOverlayOp.h:66</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp_html_a2ed51e9ad3023b9f92755bbc1179d4ed"><div class="ttname"><a href="classgeos_1_1operation_1_1overlay_1_1snap_1_1SnapIfNeededOverlayOp.html#a2ed51e9ad3023b9f92755bbc1179d4ed">geos::operation::overlay::snap::SnapIfNeededOverlayOp::intersection</a></div><div class="ttdeci">static std::unique_ptr&lt; geom::Geometry &gt; intersection(const geom::Geometry &amp;g0, const geom::Geometry &amp;g1)</div><div class="ttdef"><b>Definition:</b> <a href="SnapIfNeededOverlayOp_8h_source.html#l00060">SnapIfNeededOverlayOp.h:60</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>