geos_390_docs/NodingIntersectionFinder_8h...

86 lines
33 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: 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><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span>noding {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">class </span>SegmentString;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;}</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;}</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">namespace </span>noding { <span class="comment">// geos.noding</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html"> 47</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html">NodingIntersectionFinder</a>: <span class="keyword">public</span> <a class="code" href="classgeos_1_1noding_1_1SegmentIntersector.html">SegmentIntersector</a> {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a4bcb8a7d65541e89f5b4a5b66dbfbfd5"> 57</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a4bcb8a7d65541e89f5b4a5b66dbfbfd5">NodingIntersectionFinder</a>(<a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a>&amp; newLi)</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; :</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; li(newLi),</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; interiorIntersection(geom::Coordinate::getNull()),</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; intersectionCount(0),</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; isCheckEndSegmentsOnly(false),</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; findAllIntersections(false)</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; }</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keywordtype">bool</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a01c94d809e8e7db91d2e4af6104ee62d"> 73</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a01c94d809e8e7db91d2e4af6104ee62d">hasIntersection</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordflow">return</span> !interiorIntersection.isNull();</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a36787c881d733ccd737050b36ce90ac5"> 85</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a36787c881d733ccd737050b36ce90ac5">getInteriorIntersection</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordflow">return</span> interiorIntersection;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; }</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keywordtype">size_t</span></div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#abda4fe19164c3462d44852faff8b194a"> 96</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#abda4fe19164c3462d44852faff8b194a">count</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordflow">return</span> intersectionCount;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; }</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordtype">void</span></div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a44e1e36f98ac246df91f0153c9008046"> 112</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a44e1e36f98ac246df91f0153c9008046">setCheckEndSegmentsOnly</a>(<span class="keywordtype">bool</span> isCESO)</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; {</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; isCheckEndSegmentsOnly = isCESO;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; }</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keywordtype">void</span></div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a02731b2398e00540d6797f8f607a94f0"> 129</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a02731b2398e00540d6797f8f607a94f0">setFindAllIntersections</a>(<span class="keywordtype">bool</span> fAI)</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; findAllIntersections = fAI;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; }</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keyword">const</span> std::vector&lt;geom::Coordinate&gt;&amp;</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a2efe5f73ea73a3728b9367cad9205a21"> 140</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a2efe5f73ea73a3728b9367cad9205a21">getIntersectionSegments</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keywordflow">return</span> intSegments;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordtype">void</span> processIntersections(</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>* e0, <span class="keywordtype">size_t</span> segIndex0,</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>* e1, <span class="keywordtype">size_t</span> segIndex1) <span class="keyword">override</span>;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordtype">bool</span></div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a744dce6eb5a0b401f8b08e90dcf2b66f"> 159</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a744dce6eb5a0b401f8b08e90dcf2b66f">isDone</a>()<span class="keyword"> const override</span></div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordflow">return</span> !interiorIntersection.isNull();</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; }</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a9662dd5ec1baf10757d26e02bcdc3716"> 165</a></span>&#160; <a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a>&amp; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a9662dd5ec1baf10757d26e02bcdc3716">li</a>;</div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a482a33a1d966868af836480f5596ee41"> 166</a></span>&#160; <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a482a33a1d966868af836480f5596ee41">interiorIntersection</a>;</div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a3504b216388c1c80593057c84b7fc932"> 167</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a3504b216388c1c80593057c84b7fc932">intersectionCount</a>;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a12819108cd8a3b285725f36bd6a7acfe"> 168</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a12819108cd8a3b285725f36bd6a7acfe">isCheckEndSegmentsOnly</a>;</div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a759779934b971a0fbdfdf33d5e063e7f"> 169</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a759779934b971a0fbdfdf33d5e063e7f">findAllIntersections</a>;</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a54fc08d5ab0e1ce2c80fcb520de85250"> 170</a></span>&#160; std::vector&lt;geom::Coordinate&gt; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html#a54fc08d5ab0e1ce2c80fcb520de85250">intSegments</a>;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="comment">// Declare type as noncopyable</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html">NodingIntersectionFinder</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html">NodingIntersectionFinder</a>&amp; other) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html">NodingIntersectionFinder</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1NodingIntersectionFinder.html">NodingIntersectionFinder</a>&amp; rhs) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keywordtype">bool</span> isInteriorVertexIntersection(</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; p0, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; p1,</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keywordtype">bool</span> isEnd0, <span class="keywordtype">bool</span> isEnd1);</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordtype">bool</span> isInteriorVertexIntersection(</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; p00, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; p01,</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; p10, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; p11,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordtype">bool</span> isEnd00, <span class="keywordtype">bool</span> isEnd01, <span class="keywordtype">bool</span> isEnd10, <span class="keywordtype">bool</span> isEnd11);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordtype">bool</span> isEndSegment(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>* segStr, <span class="keywordtype">size_t</span> index);</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;};</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;} <span class="comment">// namespace geos.noding</span></div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;} <span class="comment">// namespace geos</span></div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;<span class="preprocessor">#endif // GEOS_NODING_NODINGINTERSECTIONFINDER_H</span></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="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>