geos_390_docs/classgeos_1_1operation_1_1o...

409 lines
21 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::overlayng::RobustClipEnvelopeComputer 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_1overlayng.html">overlayng</a></li><li class="navelem"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html">RobustClipEnvelopeComputer</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::operation::overlayng::RobustClipEnvelopeComputer Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="RobustClipEnvelopeComputer_8h_source.html">RobustClipEnvelopeComputer.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for geos::operation::overlayng::RobustClipEnvelopeComputer:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer__coll__graph.svg" width="236" height="163"><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:a4c37eef9b1ab46d147d54aecb119b57c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#a4c37eef9b1ab46d147d54aecb119b57c">RobustClipEnvelopeComputer</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *p_targetEnv)</td></tr>
<tr class="separator:a4c37eef9b1ab46d147d54aecb119b57c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32390719019a6dc0b6888cd660504f8c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#a32390719019a6dc0b6888cd660504f8c">getEnvelope</a> ()</td></tr>
<tr class="separator:a32390719019a6dc0b6888cd660504f8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a662845163d45a22c80afe22fa9cf85a4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#a662845163d45a22c80afe22fa9cf85a4">getEnvelope</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *a, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *b, const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *<a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#a3564ae67395ffa095e0e1b4970378195">targetEnv</a>)</td></tr>
<tr class="separator:a662845163d45a22c80afe22fa9cf85a4"><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:a1d362562288e402a7e056a82ee0422fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#a1d362562288e402a7e056a82ee0422fc">add</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *g)</td></tr>
<tr class="separator:a1d362562288e402a7e056a82ee0422fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a580591f196d70a45f17b75c93ed24442"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#a580591f196d70a45f17b75c93ed24442">addCollection</a> (const <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">GeometryCollection</a> *gc)</td></tr>
<tr class="separator:a580591f196d70a45f17b75c93ed24442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab890992d3e0ddf95966cdf6fab675d0e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#ab890992d3e0ddf95966cdf6fab675d0e">addPolygon</a> (const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> *poly)</td></tr>
<tr class="separator:ab890992d3e0ddf95966cdf6fab675d0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c74dd857e19ac35c7283ee5f1e4191c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#a9c74dd857e19ac35c7283ee5f1e4191c">addPolygonRing</a> (const <a class="el" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a> *ring)</td></tr>
<tr class="separator:a9c74dd857e19ac35c7283ee5f1e4191c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac136eb1b33e78f41604aaef44c5ce910"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#ac136eb1b33e78f41604aaef44c5ce910">addSegment</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &amp;p1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &amp;p2)</td></tr>
<tr class="separator:ac136eb1b33e78f41604aaef44c5ce910"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae96f32d2f4ee165448edd753aadcb3fd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#ae96f32d2f4ee165448edd753aadcb3fd">intersectsSegment</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *env, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &amp;p1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &amp;p2)</td></tr>
<tr class="separator:ae96f32d2f4ee165448edd753aadcb3fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a3564ae67395ffa095e0e1b4970378195"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#a3564ae67395ffa095e0e1b4970378195">targetEnv</a></td></tr>
<tr class="separator:a3564ae67395ffa095e0e1b4970378195"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03cc690becaf4b610354efd41f399b46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RobustClipEnvelopeComputer.html#a03cc690becaf4b610354efd41f399b46">clipEnv</a></td></tr>
<tr class="separator:a03cc690becaf4b610354efd41f399b46"><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>Computes a robust clipping envelope for a pair of polygonal geometries. The envelope is computed to be large enough to include the full length of all geometry line segments which intersect a given target envelope. This ensures that line segments which might intersect are not perturbed when clipped using <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1RingClipper.html">RingClipper</a>. </p><dl class="section author"><dt>Author</dt><dd>mdavis </dd></dl>
<p>Definition at line <a class="el" href="RobustClipEnvelopeComputer_8h_source.html#l00052">52</a> of file <a class="el" href="RobustClipEnvelopeComputer_8h_source.html">RobustClipEnvelopeComputer.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4c37eef9b1ab46d147d54aecb119b57c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">geos::operation::overlayng::RobustClipEnvelopeComputer::RobustClipEnvelopeComputer </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *&#160;</td>
<td class="paramname"><em>p_targetEnv</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1d362562288e402a7e056a82ee0422fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::operation::overlayng::RobustClipEnvelopeComputer::add </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *&#160;</td>
<td class="paramname"><em>g</em></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">
</div>
</div>
<a class="anchor" id="a580591f196d70a45f17b75c93ed24442"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::operation::overlayng::RobustClipEnvelopeComputer::addCollection </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">GeometryCollection</a> *&#160;</td>
<td class="paramname"><em>gc</em></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">
</div>
</div>
<a class="anchor" id="ab890992d3e0ddf95966cdf6fab675d0e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::operation::overlayng::RobustClipEnvelopeComputer::addPolygon </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> *&#160;</td>
<td class="paramname"><em>poly</em></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">
</div>
</div>
<a class="anchor" id="a9c74dd857e19ac35c7283ee5f1e4191c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::operation::overlayng::RobustClipEnvelopeComputer::addPolygonRing </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a> *&#160;</td>
<td class="paramname"><em>ring</em></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">
</div>
</div>
<a class="anchor" id="ac136eb1b33e78f41604aaef44c5ce910"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::operation::overlayng::RobustClipEnvelopeComputer::addSegment </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &amp;&#160;</td>
<td class="paramname"><em>p1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &amp;&#160;</td>
<td class="paramname"><em>p2</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">
</div>
</div>
<a class="anchor" id="a662845163d45a22c80afe22fa9cf85a4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> geos::operation::overlayng::RobustClipEnvelopeComputer::getEnvelope </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *&#160;</td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *&#160;</td>
<td class="paramname"><em>b</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *&#160;</td>
<td class="paramname"><em>targetEnv</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">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a32390719019a6dc0b6888cd660504f8c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> geos::operation::overlayng::RobustClipEnvelopeComputer::getEnvelope </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ae96f32d2f4ee165448edd753aadcb3fd"></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::overlayng::RobustClipEnvelopeComputer::intersectsSegment </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *&#160;</td>
<td class="paramname"><em>env</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &amp;&#160;</td>
<td class="paramname"><em>p1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &amp;&#160;</td>
<td class="paramname"><em>p2</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">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a03cc690becaf4b610354efd41f399b46"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> geos::operation::overlayng::RobustClipEnvelopeComputer::clipEnv</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>Definition at line <a class="el" href="RobustClipEnvelopeComputer_8h_source.html#l00058">58</a> of file <a class="el" href="RobustClipEnvelopeComputer_8h_source.html">RobustClipEnvelopeComputer.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3564ae67395ffa095e0e1b4970378195"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a>* geos::operation::overlayng::RobustClipEnvelopeComputer::targetEnv</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>Definition at line <a class="el" href="RobustClipEnvelopeComputer_8h_source.html#l00057">57</a> of file <a class="el" href="RobustClipEnvelopeComputer_8h_source.html">RobustClipEnvelopeComputer.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="RobustClipEnvelopeComputer_8h_source.html">RobustClipEnvelopeComputer.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>