geos_390_docs/classgeos_1_1noding_1_1Inte...

376 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::noding::IntersectionFinderAdder 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_1noding.html">noding</a></li><li class="navelem"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html">IntersectionFinderAdder</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="#pri-attribs">Private Attributes</a> &#124;
<a href="classgeos_1_1noding_1_1IntersectionFinderAdder-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::noding::IntersectionFinderAdder Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Finds proper and interior intersections in a set of SegmentStrings, and adds them as nodes.
<a href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="IntersectionFinderAdder_8h_source.html">IntersectionFinderAdder.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::noding::IntersectionFinderAdder:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1IntersectionFinderAdder__inherit__graph.svg" width="250" height="131"><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::noding::IntersectionFinderAdder:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1IntersectionFinderAdder__coll__graph.svg" width="590" height="255"><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:ae64d53e0de0172a5bd05cb41ecd618d3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#ae64d53e0de0172a5bd05cb41ecd618d3">IntersectionFinderAdder</a> (<a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> &amp;newLi, std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &gt; &amp;v)</td></tr>
<tr class="memdesc:ae64d53e0de0172a5bd05cb41ecd618d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an intersection finder which finds all proper intersections and stores them in the provided Coordinate array. <a href="#ae64d53e0de0172a5bd05cb41ecd618d3">More...</a><br /></td></tr>
<tr class="separator:ae64d53e0de0172a5bd05cb41ecd618d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4d4d69dfaa0ef6706af8a4bbec1c7e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#ac4d4d69dfaa0ef6706af8a4bbec1c7e3">processIntersections</a> (<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *e0, size_t segIndex0, <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *e1, size_t segIndex1) override</td></tr>
<tr class="memdesc:ac4d4d69dfaa0ef6706af8a4bbec1c7e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is called by clients of the <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html" title="Processes possible intersections detected by a Noder. ">SegmentIntersector</a> class to process intersections for two segments of the <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s being intersected. <a href="#ac4d4d69dfaa0ef6706af8a4bbec1c7e3">More...</a><br /></td></tr>
<tr class="separator:ac4d4d69dfaa0ef6706af8a4bbec1c7e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac1e3b24ca4010aad9644a0640f03bc6"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#aac1e3b24ca4010aad9644a0640f03bc6">getInteriorIntersections</a> ()</td></tr>
<tr class="separator:aac1e3b24ca4010aad9644a0640f03bc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad30ccb6dc1b79a0e19365d3622e86426"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#ad30ccb6dc1b79a0e19365d3622e86426">isDone</a> () const override</td></tr>
<tr class="separator:ad30ccb6dc1b79a0e19365d3622e86426"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgeos_1_1noding_1_1SegmentIntersector"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgeos_1_1noding_1_1SegmentIntersector')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html">geos::noding::SegmentIntersector</a></td></tr>
<tr class="memitem:abaed578d309e9cc6816f532a12e6019e inherit pub_methods_classgeos_1_1noding_1_1SegmentIntersector"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#abaed578d309e9cc6816f532a12e6019e">~SegmentIntersector</a> ()</td></tr>
<tr class="separator:abaed578d309e9cc6816f532a12e6019e inherit pub_methods_classgeos_1_1noding_1_1SegmentIntersector"><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:ab8e41c8ce9196edf72dd546c3033af06"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#ab8e41c8ce9196edf72dd546c3033af06">IntersectionFinderAdder</a> (const <a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html">IntersectionFinderAdder</a> &amp;other)=delete</td></tr>
<tr class="separator:ab8e41c8ce9196edf72dd546c3033af06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a321daa0e38a6c29c567efa77c290135f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html">IntersectionFinderAdder</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#a321daa0e38a6c29c567efa77c290135f">operator=</a> (const <a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html">IntersectionFinderAdder</a> &amp;rhs)=delete</td></tr>
<tr class="separator:a321daa0e38a6c29c567efa77c290135f"><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:a75b3ee8b0e320700fc97245af0e4d712"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#a75b3ee8b0e320700fc97245af0e4d712">li</a></td></tr>
<tr class="separator:a75b3ee8b0e320700fc97245af0e4d712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2c26e67d836d89907c18499c41710da"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#af2c26e67d836d89907c18499c41710da">interiorIntersections</a></td></tr>
<tr class="separator:af2c26e67d836d89907c18499c41710da"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classgeos_1_1noding_1_1SegmentIntersector"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classgeos_1_1noding_1_1SegmentIntersector')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html">geos::noding::SegmentIntersector</a></td></tr>
<tr class="memitem:aad5d64d5214d60e5e867379dc7d9c9ea inherit pro_methods_classgeos_1_1noding_1_1SegmentIntersector"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#aad5d64d5214d60e5e867379dc7d9c9ea">SegmentIntersector</a> ()</td></tr>
<tr class="separator:aad5d64d5214d60e5e867379dc7d9c9ea inherit pro_methods_classgeos_1_1noding_1_1SegmentIntersector"><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>Finds proper and interior intersections in a set of SegmentStrings, and adds them as nodes. </p>
<p>Definition at line <a class="el" href="IntersectionFinderAdder_8h_source.html#l00053">53</a> of file <a class="el" href="IntersectionFinderAdder_8h_source.html">IntersectionFinderAdder.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae64d53e0de0172a5bd05cb41ecd618d3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::noding::IntersectionFinderAdder::IntersectionFinderAdder </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> &amp;&#160;</td>
<td class="paramname"><em>newLi</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>v</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">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates an intersection finder which finds all proper intersections and stores them in the provided Coordinate array. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newLi</td><td>the LineIntersector to use </td></tr>
<tr><td class="paramname">v</td><td>the Vector to push interior intersections to </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="IntersectionFinderAdder_8h_source.html#l00064">64</a> of file <a class="el" href="IntersectionFinderAdder_8h_source.html">IntersectionFinderAdder.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab8e41c8ce9196edf72dd546c3033af06"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::noding::IntersectionFinderAdder::IntersectionFinderAdder </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html">IntersectionFinderAdder</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aac1e3b24ca4010aad9644a0640f03bc6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;<a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&gt;&amp; geos::noding::IntersectionFinderAdder::getInteriorIntersections </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="IntersectionFinderAdder_8h_source.html#l00086">86</a> of file <a class="el" href="IntersectionFinderAdder_8h_source.html">IntersectionFinderAdder.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad30ccb6dc1b79a0e19365d3622e86426"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::IntersectionFinderAdder::isDone </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">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Always process all intersections</p>
<dl class="section return"><dt>Returns</dt><dd>false always </dd></dl>
<p>Reimplemented from <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#a2402e2ce3a39edad9f5d283be73b5d1d">geos::noding::SegmentIntersector</a>.</p>
<p>Definition at line <a class="el" href="IntersectionFinderAdder_8h_source.html#l00097">97</a> of file <a class="el" href="IntersectionFinderAdder_8h_source.html">IntersectionFinderAdder.h</a>.</p>
</div>
</div>
<a class="anchor" id="a321daa0e38a6c29c567efa77c290135f"></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_1noding_1_1IntersectionFinderAdder.html">IntersectionFinderAdder</a>&amp; geos::noding::IntersectionFinderAdder::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html">IntersectionFinderAdder</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ac4d4d69dfaa0ef6706af8a4bbec1c7e3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::noding::IntersectionFinderAdder::processIntersections </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *&#160;</td>
<td class="paramname"><em>e0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>segIndex0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *&#160;</td>
<td class="paramname"><em>e1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>segIndex1</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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method is called by clients of the <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html" title="Processes possible intersections detected by a Noder. ">SegmentIntersector</a> class to process intersections for two segments of the <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s being intersected. </p>
<p>Note that some clients (such as <code>MonotoneChains</code>) may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test). </p>
<p>Implements <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#ab37c13c8ccf0a75ad60df76fab4e4175">geos::noding::SegmentIntersector</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="af2c26e67d836d89907c18499c41710da"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;<a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&gt;&amp; geos::noding::IntersectionFinderAdder::interiorIntersections</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="IntersectionFinderAdder_8h_source.html#l00104">104</a> of file <a class="el" href="IntersectionFinderAdder_8h_source.html">IntersectionFinderAdder.h</a>.</p>
</div>
</div>
<a class="anchor" id="a75b3ee8b0e320700fc97245af0e4d712"></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_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a>&amp; geos::noding::IntersectionFinderAdder::li</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="IntersectionFinderAdder_8h_source.html#l00103">103</a> of file <a class="el" href="IntersectionFinderAdder_8h_source.html">IntersectionFinderAdder.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="IntersectionFinderAdder_8h_source.html">IntersectionFinderAdder.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>