90 lines
37 KiB
HTML
90 lines
37 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: EdgeRing.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
|
|
 <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 Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related 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 List</span></a></li>
|
|
<li><a href="globals.html"><span>File 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_2e8ed28ebb42cbdc65aded50ed5bb764.html">geomgraph</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">geomgraph/EdgeRing.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="geomgraph_2EdgeRing_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> <span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * GEOS - Geometry Engine Open Source</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * http://geos.osgeo.org</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Copyright (C) 2011 Sandro Santilli <strk@kbt.io></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Copyright (C) 2005-2006 Refractions Research Inc.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * Copyright (C) 2001-2002 Vivid Solutions Inc.</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> **********************************************************************</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * Last port: geomgraph/EdgeRing.java r428 (JTS-1.12+)</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef GEOS_GEOMGRAPH_EDGERING_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define GEOS_GEOMGRAPH_EDGERING_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="export_8h.html">geos/export.h</a>></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="Label_8h.html">geos/geomgraph/Label.h</a>></span> <span class="comment">// for composition</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="CoordinateArraySequence_8h.html">geos/geom/CoordinateArraySequence.h</a>></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="code" href="LinearRing_8h.html">geos/geom/LinearRing.h</a>></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="code" href="inline_8h.html">geos/inline.h</a>></span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <cassert></span> <span class="comment">// for testInvariant</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <iosfwd></span> <span class="comment">// for operator<<</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#pragma warning(push)</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <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="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// Forward declarations</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">namespace </span>geom {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">class </span>GeometryFactory;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">class </span>Polygon;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">class </span>Coordinate;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> }</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">namespace </span>geomgraph {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">class </span>DirectedEdge;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="comment">//class Label;</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">class </span>Edge;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> }</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> }</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">namespace </span>geomgraph { <span class="comment">// geos.geomgraph</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html"> 60</a></span> <span class="keyword">class </span><a class="code" href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a> <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html">EdgeRing</a> {</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">friend</span> std::ostream& <a class="code" href="namespacegeos_1_1geom.html#a2031e0143940407ca589d3216cf0eb06">operator<< </a>(std::ostream& os, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html">EdgeRing</a>& er);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html">EdgeRing</a>(<a class="code" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">DirectedEdge</a>* newStart,</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a>* newGeometryFactory);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">virtual</span> ~<a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html">EdgeRing</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">bool</span> isIsolated();</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">bool</span> isHole();</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="classgeos_1_1geom_1_1LinearRing.html">geom::LinearRing</a>* getLinearRing();</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="classgeos_1_1geomgraph_1_1Label.html">Label</a>& getLabel();</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">bool</span> isShell();</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html">EdgeRing</a>* getShell();</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">void</span> setShell(<a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html">EdgeRing</a>* newShell);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">void</span> addHole(<a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html">EdgeRing</a>* edgeRing);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  std::unique_ptr<geom::Polygon> toPolygon(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a>* geometryFactory);</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordtype">void</span> computeRing();</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">virtual</span> <a class="code" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">DirectedEdge</a>* getNext(<a class="code" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">DirectedEdge</a>* de) = 0;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setEdgeRing(<a class="code" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">DirectedEdge</a>* de, <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html">EdgeRing</a>* er) = 0;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  std::vector<DirectedEdge*>& getEdges();</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordtype">int</span> getMaxNodeDegree();</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">void</span> setInResult();</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordtype">bool</span> containsPoint(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>& p);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordtype">void</span></div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a79123704fdd239b720f155888b1a434e"> 124</a></span>  <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a79123704fdd239b720f155888b1a434e">testInvariant</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">// pts are never NULL</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="comment">// assert(pts);</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor">#ifndef NDEBUG</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="comment">// If this is not an hole, check that</span></div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="comment">// each hole is not null and</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="comment">// has 'this' as it's shell</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">if</span>(! shell) {</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">for</span>(<span class="keyword">const</span> <span class="keyword">auto</span>& hole : holes) {</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  assert(hole);</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  assert(hole->getShell() == <span class="keyword">this</span>);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  }</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="preprocessor">#endif // ndef NDEBUG</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  }</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a57d4f0f616c1651266e1e682001d9d11"> 144</a></span>  <a class="code" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">DirectedEdge</a>* <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a57d4f0f616c1651266e1e682001d9d11">startDe</a>; <span class="comment">// the directed edge which starts the list of edges for this EdgeRing</span></div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#adfc0e9bb45639db8a16b54307484452b"> 146</a></span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a>* <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#adfc0e9bb45639db8a16b54307484452b">geometryFactory</a>;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordtype">void</span> computePoints(<a class="code" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">DirectedEdge</a>* newStart);</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordtype">void</span> mergeLabel(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geomgraph_1_1Label.html">Label</a>& deLabel);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordtype">void</span> mergeLabel(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geomgraph_1_1Label.html">Label</a>& deLabel, <span class="keywordtype">int</span> geomIndex);</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordtype">void</span> addPoints(<a class="code" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a>* edge, <span class="keywordtype">bool</span> isForward, <span class="keywordtype">bool</span> isFirstEdge);</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a220550825d8c0a03be020dc905228a1a"> 170</a></span>  std::vector<std::unique_ptr<EdgeRing>> <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a220550825d8c0a03be020dc905228a1a">holes</a>;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a9623fd41b35b78b34f33a4ea3a00f738"> 174</a></span>  <span class="keywordtype">int</span> <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a9623fd41b35b78b34f33a4ea3a00f738">maxNodeDegree</a>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a0e15fa0ca06982e4009c3a05028e9dd2"> 177</a></span>  std::vector<DirectedEdge*> <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a0e15fa0ca06982e4009c3a05028e9dd2">edges</a>;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#aca325085ef45901f2b0100ad0753c5e0"> 179</a></span>  std::vector<geom::Coordinate> <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#aca325085ef45901f2b0100ad0753c5e0">pts</a>;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="comment">// label stores the locations of each geometry on the</span></div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="comment">// face surrounded by this ring</span></div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#aae1d15d98dff0dcb8d802314d7dfe3bf"> 183</a></span>  <a class="code" href="classgeos_1_1geomgraph_1_1Label.html">Label</a> <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#aae1d15d98dff0dcb8d802314d7dfe3bf">label</a>;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a9d99402f1a84470cb7bcc22ee95f834a"> 185</a></span>  std::unique_ptr<geom::LinearRing> <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a9d99402f1a84470cb7bcc22ee95f834a">ring</a>; <span class="comment">// the ring created for this EdgeRing</span></div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a6091de00c630fa69809a1760950043ff"> 187</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a6091de00c630fa69809a1760950043ff">isHoleVar</a>;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a5d16a7d77f58b731c1f6c18e015bc6ba"> 190</a></span>  <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html">EdgeRing</a>* <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html#a5d16a7d77f58b731c1f6c18e015bc6ba">shell</a>;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">void</span> computeMaxNodeDegree();</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> };</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> std::ostream& <a class="code" href="namespacegeos_1_1geom.html#a2031e0143940407ca589d3216cf0eb06">operator<< </a>(std::ostream& os, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geomgraph_1_1EdgeRing.html">EdgeRing</a>& er);</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> } <span class="comment">// namespace geos.geomgraph</span></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> } <span class="comment">// namespace geos</span></div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="preprocessor">#pragma warning(pop)</span></div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="preprocessor">#endif // ifndef GEOS_GEOMGRAPH_EDGERING_H</span></div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </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="LinearRing_8h_html"><div class="ttname"><a href="LinearRing_8h.html">LinearRing.h</a></div></div>
|
|
<div class="ttc" id="inline_8h_html"><div class="ttname"><a href="inline_8h.html">inline.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html">geos::geom::Coordinate</a></div><div class="ttdoc">Coordinate is the lightweight class used to store coordinates. </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00060">Coordinate.h:60</a></div></div>
|
|
<div class="ttc" id="export_8h_html"><div class="ttname"><a href="export_8h.html">export.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_a57d4f0f616c1651266e1e682001d9d11"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#a57d4f0f616c1651266e1e682001d9d11">geos::geomgraph::EdgeRing::startDe</a></div><div class="ttdeci">DirectedEdge * startDe</div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00144">geomgraph/EdgeRing.h:144</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_adfc0e9bb45639db8a16b54307484452b"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#adfc0e9bb45639db8a16b54307484452b">geos::geomgraph::EdgeRing::geometryFactory</a></div><div class="ttdeci">const geom::GeometryFactory * geometryFactory</div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00146">geomgraph/EdgeRing.h:146</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_a9623fd41b35b78b34f33a4ea3a00f738"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#a9623fd41b35b78b34f33a4ea3a00f738">geos::geomgraph::EdgeRing::maxNodeDegree</a></div><div class="ttdeci">int maxNodeDegree</div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00174">geomgraph/EdgeRing.h:174</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1DirectedEdge_html"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1DirectedEdge.html">geos::geomgraph::DirectedEdge</a></div><div class="ttdoc">A directed EdgeEnd. </div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2DirectedEdge_8h_source.html#l00045">geomgraph/DirectedEdge.h:45</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_a0e15fa0ca06982e4009c3a05028e9dd2"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#a0e15fa0ca06982e4009c3a05028e9dd2">geos::geomgraph::EdgeRing::edges</a></div><div class="ttdeci">std::vector< DirectedEdge * > edges</div><div class="ttdoc">the DirectedEdges making up this EdgeRing </div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00177">geomgraph/EdgeRing.h:177</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_aae1d15d98dff0dcb8d802314d7dfe3bf"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#aae1d15d98dff0dcb8d802314d7dfe3bf">geos::geomgraph::EdgeRing::label</a></div><div class="ttdeci">Label label</div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00183">geomgraph/EdgeRing.h:183</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_a6091de00c630fa69809a1760950043ff"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#a6091de00c630fa69809a1760950043ff">geos::geomgraph::EdgeRing::isHoleVar</a></div><div class="ttdeci">bool isHoleVar</div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00187">geomgraph/EdgeRing.h:187</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_aca325085ef45901f2b0100ad0753c5e0"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#aca325085ef45901f2b0100ad0753c5e0">geos::geomgraph::EdgeRing::pts</a></div><div class="ttdeci">std::vector< geom::Coordinate > pts</div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00179">geomgraph/EdgeRing.h:179</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_a220550825d8c0a03be020dc905228a1a"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#a220550825d8c0a03be020dc905228a1a">geos::geomgraph::EdgeRing::holes</a></div><div class="ttdeci">std::vector< std::unique_ptr< EdgeRing > > holes</div><div class="ttdoc">a list of EdgeRings which are holes in this EdgeRing </div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00170">geomgraph/EdgeRing.h:170</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<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &os, const Coordinate &c)</div><div class="ttdoc">Output function. </div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_a5d16a7d77f58b731c1f6c18e015bc6ba"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#a5d16a7d77f58b731c1f6c18e015bc6ba">geos::geomgraph::EdgeRing::shell</a></div><div class="ttdeci">EdgeRing * shell</div><div class="ttdoc">if non-null, the ring is a hole and this EdgeRing is its containing shell </div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00190">geomgraph/EdgeRing.h:190</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html">geos::geomgraph::EdgeRing</a></div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00060">geomgraph/EdgeRing.h:60</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1GeometryFactory_html"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html">geos::geom::GeometryFactory</a></div><div class="ttdoc">Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...</div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00068">GeometryFactory.h:68</a></div></div>
|
|
<div class="ttc" id="CoordinateArraySequence_8h_html"><div class="ttname"><a href="CoordinateArraySequence_8h.html">CoordinateArraySequence.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1Label_html"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1Label.html">geos::geomgraph::Label</a></div><div class="ttdoc">A Label indicates the topological relationship of a component of a topology graph to a given Geometry...</div><div class="ttdef"><b>Definition:</b> <a href="Label_8h_source.html#l00059">Label.h:59</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_1geom_1_1LinearRing_html"><div class="ttname"><a href="classgeos_1_1geom_1_1LinearRing.html">geos::geom::LinearRing</a></div><div class="ttdoc">Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple...</div><div class="ttdef"><b>Definition:</b> <a href="LinearRing_8h_source.html#l00054">LinearRing.h:54</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_a9d99402f1a84470cb7bcc22ee95f834a"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#a9d99402f1a84470cb7bcc22ee95f834a">geos::geomgraph::EdgeRing::ring</a></div><div class="ttdeci">std::unique_ptr< geom::LinearRing > ring</div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00185">geomgraph/EdgeRing.h:185</a></div></div>
|
|
<div class="ttc" id="Label_8h_html"><div class="ttname"><a href="Label_8h.html">Label.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeRing_html_a79123704fdd239b720f155888b1a434e"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeRing.html#a79123704fdd239b720f155888b1a434e">geos::geomgraph::EdgeRing::testInvariant</a></div><div class="ttdeci">void testInvariant() const </div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2EdgeRing_8h_source.html#l00124">geomgraph/EdgeRing.h:124</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geomgraph_1_1Edge_html"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1Edge.html">geos::geomgraph::Edge</a></div><div class="ttdef"><b>Definition:</b> <a href="geomgraph_2Edge_8h_source.html#l00066">geomgraph/Edge.h:66</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|