geos_390_docs/classgeos_1_1operation_1_1g...

236 lines
13 KiB
HTML

<!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: geos::operation::geounion::ClassicUnionStrategy Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacegeos.html">geos</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1operation.html">operation</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1operation_1_1geounion.html">geounion</a></li><li class="navelem"><a class="el" href="classgeos_1_1operation_1_1geounion_1_1ClassicUnionStrategy.html">ClassicUnionStrategy</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="classgeos_1_1operation_1_1geounion_1_1ClassicUnionStrategy-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::operation::geounion::ClassicUnionStrategy Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Implementation of <a class="el" href="classgeos_1_1operation_1_1geounion_1_1UnionStrategy.html">UnionStrategy</a> that provides overlay using the first generation overlay routines.
<a href="classgeos_1_1operation_1_1geounion_1_1ClassicUnionStrategy.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="CascadedPolygonUnion_8h_source.html">CascadedPolygonUnion.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::operation::geounion::ClassicUnionStrategy:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1geounion_1_1ClassicUnionStrategy__inherit__graph.svg" width="199" height="147"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for geos::operation::geounion::ClassicUnionStrategy:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1geounion_1_1ClassicUnionStrategy__coll__graph.svg" width="199" height="147"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9e667a04fadd696252e22c02bec9611e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1geounion_1_1ClassicUnionStrategy.html#a9e667a04fadd696252e22c02bec9611e">ClassicUnionStrategy</a> ()</td></tr>
<tr class="separator:a9e667a04fadd696252e22c02bec9611e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d8e8854e24bcd8c5b1fc4314ba7d9a9"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1geounion_1_1ClassicUnionStrategy.html#a4d8e8854e24bcd8c5b1fc4314ba7d9a9">Union</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *) override</td></tr>
<tr class="separator:a4d8e8854e24bcd8c5b1fc4314ba7d9a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07f71016f25be506ea16a2d1c18417ed"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1geounion_1_1ClassicUnionStrategy.html#a07f71016f25be506ea16a2d1c18417ed">isFloatingPrecision</a> () const override</td></tr>
<tr class="separator:a07f71016f25be506ea16a2d1c18417ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgeos_1_1operation_1_1geounion_1_1UnionStrategy"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgeos_1_1operation_1_1geounion_1_1UnionStrategy')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgeos_1_1operation_1_1geounion_1_1UnionStrategy.html">geos::operation::geounion::UnionStrategy</a></td></tr>
<tr class="memitem:a914784155655f6e17f3876b4b1462749 inherit pub_methods_classgeos_1_1operation_1_1geounion_1_1UnionStrategy"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1geounion_1_1UnionStrategy.html#a914784155655f6e17f3876b4b1462749">~UnionStrategy</a> ()</td></tr>
<tr class="separator:a914784155655f6e17f3876b4b1462749 inherit pub_methods_classgeos_1_1operation_1_1geounion_1_1UnionStrategy"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:aa810df4e56568ef68b30fa3c50f42c53"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1geounion_1_1ClassicUnionStrategy.html#aa810df4e56568ef68b30fa3c50f42c53">unionPolygonsByBuffer</a> (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 class="separator:aa810df4e56568ef68b30fa3c50f42c53"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of <a class="el" href="classgeos_1_1operation_1_1geounion_1_1UnionStrategy.html">UnionStrategy</a> that provides overlay using the first generation overlay routines. </p>
<p>Definition at line <a class="el" href="CascadedPolygonUnion_8h_source.html#l00059">59</a> of file <a class="el" href="CascadedPolygonUnion_8h_source.html">CascadedPolygonUnion.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9e667a04fadd696252e22c02bec9611e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::operation::geounion::ClassicUnionStrategy::ClassicUnionStrategy </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="CascadedPolygonUnion_8h_source.html#l00063">63</a> of file <a class="el" href="CascadedPolygonUnion_8h_source.html">CascadedPolygonUnion.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a07f71016f25be506ea16a2d1c18417ed"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::operation::geounion::ClassicUnionStrategy::isFloatingPrecision </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates whether the union function operates using a floating (full) precision model. If this is the case, then the unary union code can make use of the <a class="el" href="classgeos_1_1operation_1_1geounion_1_1OverlapUnion.html">OverlapUnion</a> performance optimization, and perhaps other optimizations as well. Otherwise, the union result extent may not be the same as the extent of the inputs, which prevents using some optimizations. </p>
<p>Implements <a class="el" href="classgeos_1_1operation_1_1geounion_1_1UnionStrategy.html#a11928f5cdce1951d3ad532037bf5b025">geos::operation::geounion::UnionStrategy</a>.</p>
</div>
</div>
<a class="anchor" id="a4d8e8854e24bcd8c5b1fc4314ba7d9a9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt;<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&gt; geos::operation::geounion::ClassicUnionStrategy::Union </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&#160;</td>
<td class="paramname">, </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> *&#160;</td>
<td class="paramname">&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes the union of two geometries. This method may throw a <a class="el" href="classgeos_1_1util_1_1TopologyException.html">util::TopologyException</a> if one is encountered </p>
<p>Implements <a class="el" href="classgeos_1_1operation_1_1geounion_1_1UnionStrategy.html#ac0f964ba7325b850851584b857279b87">geos::operation::geounion::UnionStrategy</a>.</p>
</div>
</div>
<a class="anchor" id="aa810df4e56568ef68b30fa3c50f42c53"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt;<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&gt; geos::operation::geounion::ClassicUnionStrategy::unionPolygonsByBuffer </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&#160;</td>
<td class="paramname"><em>g0</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> *&#160;</td>
<td class="paramname"><em>g1</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>An alternative way of unioning polygonal geometries by using <code>bufer(0)</code>. Only worth using if regular overlay union fails. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="CascadedPolygonUnion_8h_source.html">CascadedPolygonUnion.h</a></li>
</ul>
</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>