geos_390_docs/IntersectionAdder_8h_source...

94 lines
38 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: IntersectionAdder.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">IntersectionAdder.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="IntersectionAdder_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;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * Last port: noding/IntersectionAdder.java rev. 1.6 (JTS-1.9)</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_NODING_INTERSECTIONADDER_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define GEOS_NODING_INTERSECTIONADDER_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="export_8h.html">geos/export.h</a>&gt;</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;vector&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;cstdlib&gt;</span> <span class="comment">// for abs()</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="inline_8h.h
<div class="ttc" id="export_8h_html_ae36df939090171f6e9a28a8cb6254fea"><div class="ttname"><a href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a></div><div class="ttdeci">#define GEOS_DLL</div><div class="ttdef"><b>Definition:</b> <a href="export_8h_source.html#l00028">export.h:28</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a549e1a30ce5877a52ed592e69b95de4c"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a549e1a30ce5877a52ed592e69b95de4c">geos::noding::IntersectionAdder::hasInterior</a></div><div class="ttdeci">bool hasInterior</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00068">IntersectionAdder.h:68</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a8a6fbde0619a02b61e552ec27912bd0e"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a8a6fbde0619a02b61e552ec27912bd0e">geos::noding::IntersectionAdder::hasProperInterior</a></div><div class="ttdeci">bool hasProperInterior</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00067">IntersectionAdder.h:67</a></div></div>
<div class="ttc" id="inline_8h_html"><div class="ttname"><a href="inline_8h.html">inline.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html">geos::geom::Coordinate</a></div><div class="ttdoc">Coordinate is the lightweight class used to store coordinates. </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00060">Coordinate.h:60</a></div></div>
<div class="ttc" id="export_8h_html"><div class="ttname"><a href="export_8h.html">export.h</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_1IntersectionAdder_html_a09085352629b26478b7f23a002b20a9f"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a09085352629b26478b7f23a002b20a9f">geos::noding::IntersectionAdder::hasIntersectionVar</a></div><div class="ttdeci">bool hasIntersectionVar</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00065">IntersectionAdder.h:65</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a1b2affb36276fc054692f90196204377"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a1b2affb36276fc054692f90196204377">geos::noding::IntersectionAdder::hasInteriorIntersection</a></div><div class="ttdeci">bool hasInteriorIntersection()</div><div class="ttdoc">An interior intersection is an intersection which is in the interior of some segment. </div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00165">IntersectionAdder.h:165</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a3da93f0736166f59a1a14bd8e20240fb"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a3da93f0736166f59a1a14bd8e20240fb">geos::noding::IntersectionAdder::numProperIntersections</a></div><div class="ttdeci">int numProperIntersections</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00094">IntersectionAdder.h:94</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_aee12520745bd75fb021d44c2893a2f30"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#aee12520745bd75fb021d44c2893a2f30">geos::noding::IntersectionAdder::hasProper</a></div><div class="ttdeci">bool hasProper</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00066">IntersectionAdder.h:66</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a498656c55fb638a303a02b20b688cbc7"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a498656c55fb638a303a02b20b688cbc7">geos::noding::IntersectionAdder::getProperIntersectionPoint</a></div><div class="ttdeci">const geom::Coordinate &amp; getProperIntersectionPoint()</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00124">IntersectionAdder.h:124</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a3ca6ef03f448f707e9fb8cdbb652a8bc"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a3ca6ef03f448f707e9fb8cdbb652a8bc">geos::noding::IntersectionAdder::numTests</a></div><div class="ttdeci">int numTests</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00097">IntersectionAdder.h:97</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a0be21628b72da86ccd6255c9ed99016f"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a0be21628b72da86ccd6255c9ed99016f">geos::noding::IntersectionAdder::li</a></div><div class="ttdeci">algorithm::LineIntersector &amp; li</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00073">IntersectionAdder.h:73</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a7628f2135fca2b67837ccb1169d5b95a"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a7628f2135fca2b67837ccb1169d5b95a">geos::noding::IntersectionAdder::isDone</a></div><div class="ttdeci">bool isDone() const override</div><div class="ttdoc">Always process all intersections. </div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00196">IntersectionAdder.h:196</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_ab075115ac08a8665d94ddabb73008640"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#ab075115ac08a8665d94ddabb73008640">geos::noding::IntersectionAdder::numInteriorIntersections</a></div><div class="ttdeci">int numInteriorIntersections</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00093">IntersectionAdder.h:93</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_1IntersectionAdder_html"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html">geos::noding::IntersectionAdder</a></div><div class="ttdoc">Computes the intersections between two line segments in SegmentString and adds them to each string...</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00057">IntersectionAdder.h:57</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a4f9b105d999b63621d1856e425f98655"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a4f9b105d999b63621d1856e425f98655">geos::noding::IntersectionAdder::getLineIntersector</a></div><div class="ttdeci">algorithm::LineIntersector &amp; getLineIntersector()</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00114">IntersectionAdder.h:114</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a496dabe962092df690ac70afbe69c9fe"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a496dabe962092df690ac70afbe69c9fe">geos::noding::IntersectionAdder::numIntersections</a></div><div class="ttdeci">int numIntersections</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00092">IntersectionAdder.h:92</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a2261aabc8f21db65c3c6dda7e245c955"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a2261aabc8f21db65c3c6dda7e245c955">geos::noding::IntersectionAdder::IntersectionAdder</a></div><div class="ttdeci">IntersectionAdder(algorithm::LineIntersector &amp;newLi)</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00099">IntersectionAdder.h:99</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_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="classgeos_1_1noding_1_1IntersectionAdder_html_a7226f13f231d0a496f0286a42d9e1ea4"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a7226f13f231d0a496f0286a42d9e1ea4">geos::noding::IntersectionAdder::hasProperInteriorIntersection</a></div><div class="ttdeci">bool hasProperInteriorIntersection()</div><div class="ttdoc">A proper interior intersection is a proper intersection which is not contained in the set of boundary...</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00155">IntersectionAdder.h:155</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_aa24647fa6f90433ae81c8109beddc829"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#aa24647fa6f90433ae81c8109beddc829">geos::noding::IntersectionAdder::hasIntersection</a></div><div class="ttdeci">bool hasIntersection()</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00130">IntersectionAdder.h:130</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_1IntersectionAdder_html_a4ff685e031eb3b908503f316124bcaaa"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a4ff685e031eb3b908503f316124bcaaa">geos::noding::IntersectionAdder::properIntersectionPoint</a></div><div class="ttdeci">geom::Coordinate properIntersectionPoint</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00071">IntersectionAdder.h:71</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1IntersectionAdder_html_a94a898bf97e5b79b7199c0f21c9a5bae"><div class="ttname"><a href="classgeos_1_1noding_1_1IntersectionAdder.html#a94a898bf97e5b79b7199c0f21c9a5bae">geos::noding::IntersectionAdder::isAdjacentSegments</a></div><div class="ttdeci">static bool isAdjacentSegments(size_t i1, size_t i2)</div><div class="ttdef"><b>Definition:</b> <a href="IntersectionAdder_8h_source.html#l00185">IntersectionAdder.h:185</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>