geos_390_docs/HalfEdge_8h_source.html

90 lines
32 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: HalfEdge.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_7b28b3fcb188f415dfd5c0ad2ea004c9.html">edgegraph</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">HalfEdge.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="HalfEdge_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) 2020 Paul Ramsey &lt;pramsey@cleverelephant.ca&gt;</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;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#pragma once</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="export_8h.html">geos/export.h</a>&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;cassert&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Coordinate_8h.html">geos/geom/Coordinate.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="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>geom {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span>Coordinate;</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;}</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">namespace </span>edgegraph { <span class="comment">// geos.edgegraph</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html"> 63</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_1edgegraph_1_1HalfEdge.html">HalfEdge</a> {</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;<span class="keyword">private</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="comment">/* members */</span></div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a0a53dd4afa4c505bc691835f724b7cd9"> 68</a></span>&#160; <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a0a53dd4afa4c505bc691835f724b7cd9">m_orig</a>;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a33315466658d5b7a46203b89a930e3da"> 69</a></span>&#160; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a33315466658d5b7a46203b89a930e3da">m_sym</a>;</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a1b103146805fd14cb9af33ad5c603317"> 70</a></span>&#160; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a1b103146805fd14cb9af33ad5c603317">m_next</a>;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a9680a26e11893b3eab1dd88faa6b2d5c"> 78</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a9680a26e11893b3eab1dd88faa6b2d5c">setSym</a>(<a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* e) { m_sym = e; };</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* insertionEdge(<a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* eAdd);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordtype">void</span> insertAfter(<a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* e);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* findLowest() <span class="keyword">const</span>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#ac49fa70f802341bfcb353a99d3eed2da"> 119</a></span>&#160; <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#ac49fa70f802341bfcb353a99d3eed2da">directionPt</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> dest(); };</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;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a2778e684e8e9c358ea94e350667ea3af"> 129</a></span>&#160; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a2778e684e8e9c358ea94e350667ea3af">HalfEdge</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; p_orig) :</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; m_orig(p_orig)</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;</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a1e8f3906b3404277caf441b487a9db83"> 133</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a1e8f3906b3404277caf441b487a9db83">~HalfEdge</a>() {};</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keyword">static</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* create(<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="l00144"></a><span class="lineno"> 144</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordtype">void</span> link(<a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* p_sym);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a249fabaadaac23ea33982b68eae31bcd"> 158</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a249fabaadaac23ea33982b68eae31bcd">orig</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_orig; };</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a131ca2ffe38ccc76f026d3b7bd39cc33"> 165</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a131ca2ffe38ccc76f026d3b7bd39cc33">dest</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_sym-&gt;<a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a0a53dd4afa4c505bc691835f724b7cd9">m_orig</a>; }</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a0511a4b939c6526f6932ca80d1426a7c"> 172</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a0511a4b939c6526f6932ca80d1426a7c">directionX</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> directionPt().x - m_orig.<a class="code" href="classgeos_1_1geom_1_1Coordinate.html#ad809a77e5715e490a7e5f95c8611737e">x</a>; }</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#ac7c4bdf8198e4f64eefbbbac944c7238"> 179</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#ac7c4bdf8198e4f64eefbbbac944c7238">directionY</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> directionPt().y - m_orig.<a class="code" href="classgeos_1_1geom_1_1Coordinate.html#acdeb58356624ebe25cbbf5b6021c3d9d">y</a>; }</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a20617634c3ef1c1a0bff8b6c49fadae5"> 186</a></span>&#160; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a20617634c3ef1c1a0bff8b6c49fadae5">sym</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_sym; };</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a4f29eb8ee8826276e3bc71ada1118e3a"> 196</a></span>&#160; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a4f29eb8ee8826276e3bc71ada1118e3a">next</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_next; };</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a567465ea2c5c08214849fdaf765e2fde"> 204</a></span>&#160; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a567465ea2c5c08214849fdaf765e2fde">prev</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_sym-&gt;<a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a4f29eb8ee8826276e3bc71ada1118e3a">next</a>()-&gt;<a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a33315466658d5b7a46203b89a930e3da">m_sym</a>; };</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a06a3d5e38e3f8f4380ddad2e40fb96ac"> 212</a></span>&#160; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a06a3d5e38e3f8f4380ddad2e40fb96ac">oNext</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_sym-&gt;<a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a1b103146805fd14cb9af33ad5c603317">m_next</a>; };</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a9576ee1e0b724cd8f76163894bf18f3e"> 219</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a9576ee1e0b724cd8f76163894bf18f3e">setNext</a>(<a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* e) { m_next = e; };</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* find(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; dest);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="keywordtype">bool</span> equals(<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) <span class="keyword">const</span>;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordtype">void</span> insert(<a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* eAdd);</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="keywordtype">bool</span> isEdgesSorted() <span class="keyword">const</span>;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160;</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordtype">int</span> compareAngularDirection(<span class="keyword">const</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* e) <span class="keyword">const</span>;</div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a90b0c6e8bc9fc6e9769033173636c5ef"> 284</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html#a90b0c6e8bc9fc6e9769033173636c5ef">compareTo</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* e)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> compareAngularDirection(e); };</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keywordtype">int</span> degree();</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* prevNode();</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</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_1edgegraph_1_1HalfEdge.html">HalfEdge</a>&amp; el);</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> toStringNode(<span class="keyword">const</span> <a class="code" href="classgeos_1_1edgegraph_1_1HalfEdge.html">HalfEdge</a>* he, std::ostream&amp; os);</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;};</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;} <span class="comment">// namespace geos.edgegraph</span></div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;} <span class="comment">// namespace geos</span></div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160;</div><div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a06a3d5e38e3f8f4380ddad2e40fb96ac"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a06a3d5e38e3f8f4380ddad2e40fb96ac">geos::edgegraph::HalfEdge::oNext</a></div><div class="ttdeci">HalfEdge * oNext() const </div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00212">HalfEdge.h:212</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a4f29eb8ee8826276e3bc71ada1118e3a"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a4f29eb8ee8826276e3bc71ada1118e3a">geos::edgegraph::HalfEdge::next</a></div><div class="ttdeci">HalfEdge * next() const </div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00196">HalfEdge.h:196</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="classgeos_1_1geom_1_1Coordinate_html_acdeb58356624ebe25cbbf5b6021c3d9d"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#acdeb58356624ebe25cbbf5b6021c3d9d">geos::geom::Coordinate::y</a></div><div class="ttdeci">double y</div><div class="ttdoc">y-coordinate </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00083">Coordinate.h:83</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_1edgegraph_1_1HalfEdge_html_ac49fa70f802341bfcb353a99d3eed2da"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#ac49fa70f802341bfcb353a99d3eed2da">geos::edgegraph::HalfEdge::directionPt</a></div><div class="ttdeci">virtual const geom::Coordinate &amp; directionPt() const </div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00119">HalfEdge.h:119</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a20617634c3ef1c1a0bff8b6c49fadae5"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a20617634c3ef1c1a0bff8b6c49fadae5">geos::edgegraph::HalfEdge::sym</a></div><div class="ttdeci">HalfEdge * sym() const </div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00186">HalfEdge.h:186</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a1e8f3906b3404277caf441b487a9db83"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a1e8f3906b3404277caf441b487a9db83">geos::edgegraph::HalfEdge::~HalfEdge</a></div><div class="ttdeci">virtual ~HalfEdge()</div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00133">HalfEdge.h:133</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a0a53dd4afa4c505bc691835f724b7cd9"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a0a53dd4afa4c505bc691835f724b7cd9">geos::edgegraph::HalfEdge::m_orig</a></div><div class="ttdeci">geom::Coordinate m_orig</div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00068">HalfEdge.h:68</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a0511a4b939c6526f6932ca80d1426a7c"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a0511a4b939c6526f6932ca80d1426a7c">geos::edgegraph::HalfEdge::directionX</a></div><div class="ttdeci">double directionX() const </div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00172">HalfEdge.h:172</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a131ca2ffe38ccc76f026d3b7bd39cc33"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a131ca2ffe38ccc76f026d3b7bd39cc33">geos::edgegraph::HalfEdge::dest</a></div><div class="ttdeci">const geom::Coordinate &amp; dest() const </div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00165">HalfEdge.h:165</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a9576ee1e0b724cd8f76163894bf18f3e"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a9576ee1e0b724cd8f76163894bf18f3e">geos::edgegraph::HalfEdge::setNext</a></div><div class="ttdeci">void setNext(HalfEdge *e)</div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00219">HalfEdge.h:219</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a33315466658d5b7a46203b89a930e3da"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a33315466658d5b7a46203b89a930e3da">geos::edgegraph::HalfEdge::m_sym</a></div><div class="ttdeci">HalfEdge * m_sym</div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00069">HalfEdge.h:69</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a1b103146805fd14cb9af33ad5c603317"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a1b103146805fd14cb9af33ad5c603317">geos::edgegraph::HalfEdge::m_next</a></div><div class="ttdeci">HalfEdge * m_next</div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00070">HalfEdge.h:70</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_1edgegraph_1_1HalfEdge_html_ac7c4bdf8198e4f64eefbbbac944c7238"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#ac7c4bdf8198e4f64eefbbbac944c7238">geos::edgegraph::HalfEdge::directionY</a></div><div class="ttdeci">double directionY() const </div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00179">HalfEdge.h:179</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html">geos::edgegraph::HalfEdge</a></div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00063">HalfEdge.h:63</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a567465ea2c5c08214849fdaf765e2fde"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a567465ea2c5c08214849fdaf765e2fde">geos::edgegraph::HalfEdge::prev</a></div><div class="ttdeci">HalfEdge * prev() const </div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00204">HalfEdge.h:204</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a90b0c6e8bc9fc6e9769033173636c5ef"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a90b0c6e8bc9fc6e9769033173636c5ef">geos::edgegraph::HalfEdge::compareTo</a></div><div class="ttdeci">int compareTo(const HalfEdge *e) const </div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00284">HalfEdge.h:284</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_1edgegraph_1_1HalfEdge_html_a2778e684e8e9c358ea94e350667ea3af"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a2778e684e8e9c358ea94e350667ea3af">geos::edgegraph::HalfEdge::HalfEdge</a></div><div class="ttdeci">HalfEdge(const geom::Coordinate &amp;p_orig)</div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00129">HalfEdge.h:129</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a9680a26e11893b3eab1dd88faa6b2d5c"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a9680a26e11893b3eab1dd88faa6b2d5c">geos::edgegraph::HalfEdge::setSym</a></div><div class="ttdeci">void setSym(HalfEdge *e)</div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00078">HalfEdge.h:78</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_1geom_1_1Coordinate_html_ad809a77e5715e490a7e5f95c8611737e"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#ad809a77e5715e490a7e5f95c8611737e">geos::geom::Coordinate::x</a></div><div class="ttdeci">double x</div><div class="ttdoc">x-coordinate </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00080">Coordinate.h:80</a></div></div>
<div class="ttc" id="classgeos_1_1edgegraph_1_1HalfEdge_html_a249fabaadaac23ea33982b68eae31bcd"><div class="ttname"><a href="classgeos_1_1edgegraph_1_1HalfEdge.html#a249fabaadaac23ea33982b68eae31bcd">geos::edgegraph::HalfEdge::orig</a></div><div class="ttdeci">const geom::Coordinate &amp; orig() const </div><div class="ttdef"><b>Definition:</b> <a href="HalfEdge_8h_source.html#l00158">HalfEdge.h:158</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>