geos_390_docs/SegmentNodeList_8h_source.html

91 lines
40 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: SegmentNodeList.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">SegmentNodeList.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="SegmentNodeList_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/SegmentNodeList.java rev. 1.8 (JTS-1.10)</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">#pragma once</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;<a class="code" href="export_8h.html">geos/export.h</a>&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="preprocessor">#include &lt;<a class="code" href="inline_8h.html">geos/inline.h</a>&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;cassert&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;set&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></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;<span class="preprocessor">#include &lt;<a class="code" href="SegmentNode_8h.html">geos/noding/SegmentNode.h</a>&gt;</span> <span class="comment">// for composition</span></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="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#pragma warning(push)</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment">// Forward declarations</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">namespace </span>geom {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">class </span>CoordinateSequence;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;}</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">namespace </span>noding {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keyword">class </span>SegmentString;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="keyword">class </span>NodedSegmentString;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;}</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;}</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">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keyword">namespace </span>noding { <span class="comment">// geos::noding</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html"> 56</a></span>&#160;<span class="keyword">class </span><a class="code" href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a> <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html">SegmentNodeList</a> {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a566da59e004a7959d6a19903e32e17d7"> 58</a></span>&#160; std::set&lt;SegmentNode*, SegmentNodeLT&gt; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a566da59e004a7959d6a19903e32e17d7">nodeMap</a>;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#af07a72b6e601c05bc0fb8339c9f654c5"> 59</a></span>&#160; std::deque&lt;SegmentNode&gt; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#af07a72b6e601c05bc0fb8339c9f654c5">nodeQue</a>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="comment">// the parent edge</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a19e1e777b2b18a1e0160a62a47ffe5cf"> 62</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1NodedSegmentString.html">NodedSegmentString</a>&amp; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a19e1e777b2b18a1e0160a62a47ffe5cf">edge</a>;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordtype">void</span> checkSplitEdgesCorrectness(<span class="keyword">const</span> std::vector&lt;SegmentString*&gt;&amp; splitEdges) <span class="keyword">const</span>;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; std::unique_ptr&lt;SegmentString&gt; createSplitEdge(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNode</a>* ei0, <span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNode</a>* ei1) <span class="keyword">const</span>;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordtype">void</span> createSplitEdgePts(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNode</a>* ei0, <span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNode</a>* ei1, std::vector&lt;geom::Coordinate&gt;&amp; pts) <span class="keyword">const</span>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordtype">void</span> addCollapsedNodes();</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordtype">void</span> findCollapsesFromExistingVertices(</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; std::vector&lt;std::size_t&gt;&amp; collapsedVertexIndexes) <span class="keyword">const</span>;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordtype">void</span> findCollapsesFromInsertedNodes(</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; std::vector&lt;std::size_t&gt;&amp; collapsedVertexIndexes) <span class="keyword">const</span>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordtype">bool</span> findCollapseIndex(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNode</a>&amp; ei0, <span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNode</a>&amp; ei1,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keywordtype">size_t</span>&amp; collapsedVertexIndex) <span class="keyword">const</span>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keywordtype">void</span> addEdgeCoordinates(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNode</a>* ei0, <span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNode</a>* ei1, std::vector&lt;geom::Coordinate&gt;&amp; coordList) <span class="keyword">const</span>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <span class="comment">// Declare type as noncopyable</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html">SegmentNodeList</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html">SegmentNodeList</a>&amp; other) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html">SegmentNodeList</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html">SegmentNodeList</a>&amp; rhs) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keyword">friend</span> std::ostream&amp; <a class="code" href="namespacegeos_1_1geom.html#a2031e0143940407ca589d3216cf0eb06">operator&lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html">SegmentNodeList</a>&amp; l);</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a1d4338becda056d869ed52b5465b3f3d"> 134</a></span>&#160; <span class="keyword">typedef</span> std::set&lt;SegmentNode*, SegmentNodeLT&gt; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a1d4338becda056d869ed52b5465b3f3d">container</a>;</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a8bf8b01fe43cab2fdeb433c450e90f71"> 135</a></span>&#160; <span class="keyword">typedef</span> container::iterator <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a8bf8b01fe43cab2fdeb433c450e90f71">iterator</a>;</div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a4b587a56646fae882ff8c81351d5ddca"> 136</a></span>&#160; <span class="keyword">typedef</span> container::const_iterator <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a4b587a56646fae882ff8c81351d5ddca">const_iterator</a>;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a5db48efe1f4abf3c7a84dce584bdd31c"> 138</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a5db48efe1f4abf3c7a84dce584bdd31c">SegmentNodeList</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1NodedSegmentString.html">NodedSegmentString</a>* newEdge): edge(*newEdge) {}</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a6aaf7b1535465068991cf2ca8ede988e"> 140</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a6aaf7b1535465068991cf2ca8ede988e">SegmentNodeList</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1NodedSegmentString.html">NodedSegmentString</a>&amp; newEdge): edge(newEdge) {}</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; ~<a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html">SegmentNodeList</a>();</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; <span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1NodedSegmentString.html">NodedSegmentString</a>&amp;</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#adaed436b9a36e16db726d84ab817db5d"> 145</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#adaed436b9a36e16db726d84ab817db5d">getEdge</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordflow">return</span> edge;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNode</a>* add(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; intPt, std::size_t segmentIndex);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNode</a>*</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a77ce4b899712a9ee3bcc5b5a3606bfed"> 163</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a77ce4b899712a9ee3bcc5b5a3606bfed">add</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>* intPt, std::size_t segmentIndex)</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">return</span> add(*intPt, segmentIndex);</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="comment">/*</span></div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<span class="comment"> * returns the set of SegmentNodes</span></div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="comment">//replaces iterator()</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="comment">// TODO: obsolete this function</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; std::set&lt;SegmentNode*, SegmentNodeLT&gt;*</div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a215fee4a94b8a37970d9e66368c2ff63"> 174</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a215fee4a94b8a37970d9e66368c2ff63">getNodes</a>()</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; {</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordflow">return</span> &amp;nodeMap;</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; }</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordtype">size_t</span></div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a6a8db669ae0980d3b9499bb9981639ca"> 181</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a6a8db669ae0980d3b9499bb9981639ca">size</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordflow">return</span> nodeMap.size();</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; }</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; container::iterator</div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#aaaa780b84d83a51c1cdc8eb3fbf9cbe2"> 187</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#aaaa780b84d83a51c1cdc8eb3fbf9cbe2">begin</a>()</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; {</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keywordflow">return</span> nodeMap.begin();</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; }</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; container::const_iterator</div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a06adefef6f521efed468cf9467e8525f"> 192</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a06adefef6f521efed468cf9467e8525f">begin</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keywordflow">return</span> nodeMap.begin();</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; }</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; container::iterator</div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a3e21619741134a89bbb440979e53bce6"> 197</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a3e21619741134a89bbb440979e53bce6">end</a>()</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; {</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="keywordflow">return</span> nodeMap.end();</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; }</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; container::const_iterator</div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#a547860811c8d501df013d1a33c87a8a4"> 202</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#a547860811c8d501df013d1a33c87a8a4">end</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keywordflow">return</span> nodeMap.end();</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; }</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="keywordtype">void</span> addEndpoints();</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordtype">void</span> addSplitEdges(std::vector&lt;SegmentString*&gt;&amp; edgeList);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="keywordtype">void</span></div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="classgeos_1_1noding_1_1SegmentNodeList.html#ac9d643eba2363cc81c481e684a8a02da"> 221</a></span>&#160; <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html#ac9d643eba2363cc81c481e684a8a02da">addSplitEdges</a>(std::vector&lt;SegmentString*&gt;* edgeList)</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; assert(edgeList);</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; addSplitEdges(*edgeList);</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; }</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; std::unique_ptr&lt;std::vector&lt;geom::Coordinate&gt;&gt; getSplitCoordinates();</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;};</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;std::ostream&amp; <a class="code" href="namespacegeos_1_1geom.html#a2031e0143940407ca589d3216cf0eb06">operator&lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code" href="classgeos_1_1noding_1_1SegmentNodeList.html">SegmentNodeList</a>&amp; l);</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;} <span class="comment">// namespace geos::noding</span></div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;} <span class="comment">// namespace geos</span></div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;<span class="preprocessor">#pragma warning(pop)</span></div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;</div><div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a19e1e777b2b18a1e0160a62a47ffe5cf"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a19e1e777b2b18a1e0160a62a47ffe5cf">geos::noding::SegmentNodeList::edge</a></div><div class="ttdeci">const NodedSegmentString &amp; edge</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00062">SegmentNodeList.h:62</a></div></div>
<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="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="classgeos_1_1noding_1_1SegmentNodeList_html_a1d4338becda056d869ed52b5465b3f3d"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a1d4338becda056d869ed52b5465b3f3d">geos::noding::SegmentNodeList::container</a></div><div class="ttdeci">std::set&lt; SegmentNode *, SegmentNodeLT &gt; container</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00134">SegmentNodeList.h:134</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_1SegmentNodeList_html_a5db48efe1f4abf3c7a84dce584bdd31c"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a5db48efe1f4abf3c7a84dce584bdd31c">geos::noding::SegmentNodeList::SegmentNodeList</a></div><div class="ttdeci">SegmentNodeList(const NodedSegmentString *newEdge)</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00138">SegmentNodeList.h:138</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a77ce4b899712a9ee3bcc5b5a3606bfed"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a77ce4b899712a9ee3bcc5b5a3606bfed">geos::noding::SegmentNodeList::add</a></div><div class="ttdeci">SegmentNode * add(const geom::Coordinate *intPt, std::size_t segmentIndex)</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00163">SegmentNodeList.h:163</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodedSegmentString_html"><div class="ttname"><a href="classgeos_1_1noding_1_1NodedSegmentString.html">geos::noding::NodedSegmentString</a></div><div class="ttdoc">Represents a list of contiguous line segments, and supports noding the segments. </div><div class="ttdef"><b>Definition:</b> <a href="NodedSegmentString_8h_source.html#l00057">NodedSegmentString.h:57</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a4b587a56646fae882ff8c81351d5ddca"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a4b587a56646fae882ff8c81351d5ddca">geos::noding::SegmentNodeList::const_iterator</a></div><div class="ttdeci">container::const_iterator const_iterator</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00136">SegmentNodeList.h:136</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a566da59e004a7959d6a19903e32e17d7"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a566da59e004a7959d6a19903e32e17d7">geos::noding::SegmentNodeList::nodeMap</a></div><div class="ttdeci">std::set&lt; SegmentNode *, SegmentNodeLT &gt; nodeMap</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00058">SegmentNodeList.h:58</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a215fee4a94b8a37970d9e66368c2ff63"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a215fee4a94b8a37970d9e66368c2ff63">geos::noding::SegmentNodeList::getNodes</a></div><div class="ttdeci">std::set&lt; SegmentNode *, SegmentNodeLT &gt; * getNodes()</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00174">SegmentNodeList.h:174</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_af07a72b6e601c05bc0fb8339c9f654c5"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#af07a72b6e601c05bc0fb8339c9f654c5">geos::noding::SegmentNodeList::nodeQue</a></div><div class="ttdeci">std::deque&lt; SegmentNode &gt; nodeQue</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00059">SegmentNodeList.h:59</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a8bf8b01fe43cab2fdeb433c450e90f71"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a8bf8b01fe43cab2fdeb433c450e90f71">geos::noding::SegmentNodeList::iterator</a></div><div class="ttdeci">container::iterator iterator</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00135">SegmentNodeList.h:135</a></div></div>
<div class="ttc" id="namespacegeos_1_1geom_html_a2031e0143940407ca589d3216cf0eb06"><div class="ttname"><a href="namespacegeos_1_1geom.html#a2031e0143940407ca589d3216cf0eb06">geos::geom::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const Coordinate &amp;c)</div><div class="ttdoc">Output function. </div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a06adefef6f521efed468cf9467e8525f"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a06adefef6f521efed468cf9467e8525f">geos::noding::SegmentNodeList::begin</a></div><div class="ttdeci">container::const_iterator begin() const </div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00192">SegmentNodeList.h:192</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_ac9d643eba2363cc81c481e684a8a02da"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#ac9d643eba2363cc81c481e684a8a02da">geos::noding::SegmentNodeList::addSplitEdges</a></div><div class="ttdeci">void addSplitEdges(std::vector&lt; SegmentString * &gt; *edgeList)</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00221">SegmentNodeList.h:221</a></div></div>
<div class="ttc" id="SegmentNode_8h_html"><div class="ttname"><a href="SegmentNode_8h.html">SegmentNode.h</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a3e21619741134a89bbb440979e53bce6"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a3e21619741134a89bbb440979e53bce6">geos::noding::SegmentNodeList::end</a></div><div class="ttdeci">container::iterator end()</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00197">SegmentNodeList.h:197</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_1SegmentNodeList_html_a6aaf7b1535465068991cf2ca8ede988e"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a6aaf7b1535465068991cf2ca8ede988e">geos::noding::SegmentNodeList::SegmentNodeList</a></div><div class="ttdeci">SegmentNodeList(const NodedSegmentString &amp;newEdge)</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00140">SegmentNodeList.h:140</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a6a8db669ae0980d3b9499bb9981639ca"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a6a8db669ae0980d3b9499bb9981639ca">geos::noding::SegmentNodeList::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdoc">Return the number of nodes in this list. </div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00181">SegmentNodeList.h:181</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a547860811c8d501df013d1a33c87a8a4"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a547860811c8d501df013d1a33c87a8a4">geos::noding::SegmentNodeList::end</a></div><div class="ttdeci">container::const_iterator end() const </div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00202">SegmentNodeList.h:202</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html">geos::noding::SegmentNodeList</a></div><div class="ttdoc">A list of the SegmentNode present along a NodedSegmentString. </div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00056">SegmentNodeList.h:56</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_adaed436b9a36e16db726d84ab817db5d"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#adaed436b9a36e16db726d84ab817db5d">geos::noding::SegmentNodeList::getEdge</a></div><div class="ttdeci">const NodedSegmentString &amp; getEdge() const </div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00145">SegmentNodeList.h:145</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_aaaa780b84d83a51c1cdc8eb3fbf9cbe2"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#aaaa780b84d83a51c1cdc8eb3fbf9cbe2">geos::noding::SegmentNodeList::begin</a></div><div class="ttdeci">container::iterator begin()</div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00187">SegmentNodeList.h:187</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNode_html"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNode.html">geos::noding::SegmentNode</a></div><div class="ttdoc">Represents an intersection point between two NodedSegmentString. </div><div class="ttdef"><b>Definition:</b> <a href="SegmentNode_8h_source.html#l00047">SegmentNode.h:47</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>