geos_390_docs/NodingIntersectionFinder_8h...

86 lines
33 KiB
HTML
Raw Permalink 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: NodingIntersectionFinder.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_45d6d9d02973e76e5a8f8dc6273892cb.html">noding</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">NodingIntersectionFinder.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="NodingIntersectionFinder_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) 2006 Refractions Research Inc.</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;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#ifndef GEOS_NODING_NODINGINTERSECTIONFINDER_H</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#define GEOS_NODING_NODINGINTERSECTIONFINDER_H</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="noding_2SegmentIntersector_8h.html">geos/noding/SegmentIntersector.h</a>&gt;</span> <span class="comment">// for inheritance</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Coordinate_8h.html">geos/geom/Coordinate.h</a>&gt;</span> <span class="comment">// for composition</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment">// Forward declarations</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span>algorithm {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span>LineIntersector;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;}</div><div class="line"><a name="l00028"></a><spa
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a759779934b971a0fbdfdf33d5e063e7f"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a759779934b971a0fbdfdf33d5e063e7f">geos::noding::NodingIntersectionFinder::findAllIntersections</a></div><div class="ttdeci">bool findAllIntersections</div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00169">NodingIntersectionFinder.h:169</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a3504b216388c1c80593057c84b7fc932"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a3504b216388c1c80593057c84b7fc932">geos::noding::NodingIntersectionFinder::intersectionCount</a></div><div class="ttdeci">size_t intersectionCount</div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00167">NodingIntersectionFinder.h:167</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentString_html"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentString.html">geos::noding::SegmentString</a></div><div class="ttdoc">An interface for classes which represent a sequence of contiguous line segments. </div><div class="ttdef"><b>Definition:</b> <a href="SegmentString_8h_source.html#l00046">SegmentString.h:46</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a36787c881d733ccd737050b36ce90ac5"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a36787c881d733ccd737050b36ce90ac5">geos::noding::NodingIntersectionFinder::getInteriorIntersection</a></div><div class="ttdeci">const geom::Coordinate &amp; getInteriorIntersection() const </div><div class="ttdoc">Gets the computed location of the intersection. Due to round-off, the location may not be exact...</div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00085">NodingIntersectionFinder.h:85</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a9662dd5ec1baf10757d26e02bcdc3716"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a9662dd5ec1baf10757d26e02bcdc3716">geos::noding::NodingIntersectionFinder::li</a></div><div class="ttdeci">algorithm::LineIntersector &amp; li</div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00165">NodingIntersectionFinder.h:165</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a2efe5f73ea73a3728b9367cad9205a21"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a2efe5f73ea73a3728b9367cad9205a21">geos::noding::NodingIntersectionFinder::getIntersectionSegments</a></div><div class="ttdeci">const std::vector&lt; geom::Coordinate &gt; &amp; getIntersectionSegments() const </div><div class="ttdoc">Gets the endpoints of the intersecting segments. </div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00140">NodingIntersectionFinder.h:140</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1LineIntersector_html"><div class="ttname"><a href="classgeos_1_1algorithm_1_1LineIntersector.html">geos::algorithm::LineIntersector</a></div><div class="ttdoc">A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...</div><div class="ttdef"><b>Definition:</b> <a href="LineIntersector_8h_source.html#l00049">LineIntersector.h:49</a></div></div>
<div class="ttc" id="noding_2SegmentIntersector_8h_html"><div class="ttname"><a href="noding_2SegmentIntersector_8h.html">SegmentIntersector.h</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a54fc08d5ab0e1ce2c80fcb520de85250"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a54fc08d5ab0e1ce2c80fcb520de85250">geos::noding::NodingIntersectionFinder::intSegments</a></div><div class="ttdeci">std::vector&lt; geom::Coordinate &gt; intSegments</div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00170">NodingIntersectionFinder.h:170</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a12819108cd8a3b285725f36bd6a7acfe"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a12819108cd8a3b285725f36bd6a7acfe">geos::noding::NodingIntersectionFinder::isCheckEndSegmentsOnly</a></div><div class="ttdeci">bool isCheckEndSegmentsOnly</div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00168">NodingIntersectionFinder.h:168</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a44e1e36f98ac246df91f0153c9008046"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a44e1e36f98ac246df91f0153c9008046">geos::noding::NodingIntersectionFinder::setCheckEndSegmentsOnly</a></div><div class="ttdeci">void setCheckEndSegmentsOnly(bool isCESO)</div><div class="ttdoc">Sets whether only end segments should be tested for interior intersection. </div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00112">NodingIntersectionFinder.h:112</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a744dce6eb5a0b401f8b08e90dcf2b66f"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a744dce6eb5a0b401f8b08e90dcf2b66f">geos::noding::NodingIntersectionFinder::isDone</a></div><div class="ttdeci">bool isDone() const override</div><div class="ttdoc">Reports whether the client of this class needs to continue testing all intersections in an arrangemen...</div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00159">NodingIntersectionFinder.h:159</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_1noding_1_1NodingIntersectionFinder_html"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html">geos::noding::NodingIntersectionFinder</a></div><div class="ttdoc">Finds non-noded intersections in a set of SegmentStrings, if any exist. </div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00047">NodingIntersectionFinder.h:47</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentIntersector_html"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentIntersector.html">geos::noding::SegmentIntersector</a></div><div class="ttdoc">Processes possible intersections detected by a Noder. </div><div class="ttdef"><b>Definition:</b> <a href="noding_2SegmentIntersector_8h_source.html#l00048">noding/SegmentIntersector.h:48</a></div></div>
<div class="ttc" id="Coordinate_8h_html"><div class="ttname"><a href="Coordinate_8h.html">Coordinate.h</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_abda4fe19164c3462d44852faff8b194a"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#abda4fe19164c3462d44852faff8b194a">geos::noding::NodingIntersectionFinder::count</a></div><div class="ttdeci">size_t count() const </div><div class="ttdoc">Gets the count of intersections found. </div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00096">NodingIntersectionFinder.h:96</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a01c94d809e8e7db91d2e4af6104ee62d"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a01c94d809e8e7db91d2e4af6104ee62d">geos::noding::NodingIntersectionFinder::hasIntersection</a></div><div class="ttdeci">bool hasIntersection() const </div><div class="ttdoc">Tests whether an intersection was found. </div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00073">NodingIntersectionFinder.h:73</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a4bcb8a7d65541e89f5b4a5b66dbfbfd5"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a4bcb8a7d65541e89f5b4a5b66dbfbfd5">geos::noding::NodingIntersectionFinder::NodingIntersectionFinder</a></div><div class="ttdeci">NodingIntersectionFinder(algorithm::LineIntersector &amp;newLi)</div><div class="ttdoc">Creates an intersection finder which finds an interior intersection if one exists. </div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00057">NodingIntersectionFinder.h:57</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a02731b2398e00540d6797f8f607a94f0"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a02731b2398e00540d6797f8f607a94f0">geos::noding::NodingIntersectionFinder::setFindAllIntersections</a></div><div class="ttdeci">void setFindAllIntersections(bool fAI)</div><div class="ttdoc">Sets whether all intersections should be computed. </div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00129">NodingIntersectionFinder.h:129</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodingIntersectionFinder_html_a482a33a1d966868af836480f5596ee41"><div class="ttname"><a href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a482a33a1d966868af836480f5596ee41">geos::noding::NodingIntersectionFinder::interiorIntersection</a></div><div class="ttdeci">geom::Coordinate interiorIntersection</div><div class="ttdef"><b>Definition:</b> <a href="NodingIntersectionFinder_8h_source.html#l00166">NodingIntersectionFinder.h:166</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>