90 lines
35 KiB
HTML
90 lines
35 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: Polygon.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_aed5f07abf54fb298f6559880addb1ef.html">geom</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Polygon.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="Polygon_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: geom/Polygon.java r320 (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> <span class="preprocessor">#ifndef GEOS_GEOM_POLYGON_H</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#define GEOS_GEOM_POLYGON_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="export_8h.html">geos/export.h</a>></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="Geometry_8h.html">geos/geom/Geometry.h</a>></span> <span class="comment">// for inheritance</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="code" href="Envelope_8h.html">geos/geom/Envelope.h</a>></span> <span class="comment">// for proper use of unique_ptr<></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="LinearRing_8h.html">geos/geom/LinearRing.h</a>></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="code" href="Dimension_8h.html">geos/geom/Dimension.h</a>></span> <span class="comment">// for Dimension::DimensionType</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 <<a class="code" href="inline_8h.html">geos/inline.h</a>></span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <memory></span> <span class="comment">// for unique_ptr</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// Forward declarations</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">namespace </span>geom { <span class="comment">// geos::geom</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">class </span>Coordinate;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">class </span>CoordinateArraySequence;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">class </span>CoordinateSequenceFilter;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">class </span>LineString;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">namespace </span>geom { <span class="comment">// geos::geom</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classgeos_1_1geom_1_1Polygon.html"> 64</a></span> <span class="keyword">class </span><a class="code" href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a> <a class="code" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>: <span class="keyword">public</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classgeos_1_1geom_1_1Polygon.html#a639aef3f5d0d27a72053343b0e09b5f3"> 68</a></span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classgeos_1_1geom_1_1Polygon.html#a4a38e2774a28f45ba522cef51fa2ce94"> 71</a></span>  <span class="keyword">typedef</span> std::vector<const Polygon*> <a class="code" href="classgeos_1_1geom_1_1Polygon.html#a4a38e2774a28f45ba522cef51fa2ce94">ConstVect</a>;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  ~<a class="code" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  std::unique_ptr<Geometry></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classgeos_1_1geom_1_1Polygon.html#a54227cd0bf8b681573698f6d1429e5ed"> 82</a></span>  <a class="code" href="classgeos_1_1geom_1_1Polygon.html#a54227cd0bf8b681573698f6d1429e5ed">clone</a>()<span class="keyword"> const override</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">return</span> std::unique_ptr<Geometry>(<span class="keyword">new</span> <a class="code" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>(*<span class="keyword">this</span>));</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</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>  std::unique_ptr<CoordinateSequence> getCoordinates() <span class="keyword">const override</span>;</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">size_t</span> getNumPoints() <span class="keyword">const override</span>;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cf">Dimension::DimensionType</a> getDimension() <span class="keyword">const override</span>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  uint8_t getCoordinateDimension() <span class="keyword">const override</span>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">int</span> getBoundaryDimension() <span class="keyword">const override</span>;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  std::unique_ptr<Geometry> getBoundary() <span class="keyword">const override</span>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">bool</span> isEmpty() <span class="keyword">const override</span>;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a>* getExteriorRing() <span class="keyword">const</span>;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">size_t</span> getNumInteriorRing() <span class="keyword">const</span>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a>* getInteriorRingN(std::size_t n) <span class="keyword">const</span>;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  std::string getGeometryType() <span class="keyword">const override</span>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="namespacegeos_1_1geom.html#a98c5b0e81001a7c3fdc7a058960356d8">GeometryTypeId</a> getGeometryTypeId() <span class="keyword">const override</span>;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordtype">bool</span> equalsExact(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>* other, <span class="keywordtype">double</span> tolerance = 0) <span class="keyword">const override</span>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">void</span> apply_rw(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1CoordinateFilter.html">CoordinateFilter</a>* filter) <span class="keyword">override</span>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordtype">void</span> apply_ro(<a class="code" href="classgeos_1_1geom_1_1CoordinateFilter.html">CoordinateFilter</a>* filter) <span class="keyword">const override</span>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordtype">void</span> apply_rw(<a class="code" href="classgeos_1_1geom_1_1GeometryFilter.html">GeometryFilter</a>* filter) <span class="keyword">override</span>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">void</span> apply_ro(<a class="code" href="classgeos_1_1geom_1_1GeometryFilter.html">GeometryFilter</a>* filter) <span class="keyword">const override</span>;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordtype">void</span> apply_rw(<a class="code" href="classgeos_1_1geom_1_1CoordinateSequenceFilter.html">CoordinateSequenceFilter</a>& filter) <span class="keyword">override</span>;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">void</span> apply_ro(<a class="code" href="classgeos_1_1geom_1_1CoordinateSequenceFilter.html">CoordinateSequenceFilter</a>& filter) <span class="keyword">const override</span>;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordtype">void</span> apply_rw(<a class="code" href="classgeos_1_1geom_1_1GeometryComponentFilter.html">GeometryComponentFilter</a>* filter) <span class="keyword">override</span>;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordtype">void</span> apply_ro(<a class="code" href="classgeos_1_1geom_1_1GeometryComponentFilter.html">GeometryComponentFilter</a>* filter) <span class="keyword">const override</span>;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  std::unique_ptr<Geometry> convexHull() <span class="keyword">const override</span>;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordtype">void</span> normalize() <span class="keyword">override</span>;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  std::unique_ptr<Geometry> reverse() <span class="keyword">const override</span>;</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordtype">int</span> compareToSameClass(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>* p) <span class="keyword">const override</span>; <span class="comment">//was protected</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="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a>* getCoordinate() <span class="keyword">const override</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>  <span class="keywordtype">double</span> getArea() <span class="keyword">const override</span>;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordtype">double</span> getLength() <span class="keyword">const override</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"> 146</span>  <span class="keywordtype">bool</span> isRectangle() <span class="keyword">const override</span>;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </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>  <a class="code" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>& p);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <a class="code" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>(<a class="code" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a>* newShell, std::vector<LinearRing*>* newHoles,</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a>* newFactory);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>(std::unique_ptr<LinearRing> && newShell,</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a>& newFactory);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>(std::unique_ptr<LinearRing> && newShell,</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  std::vector<std::unique_ptr<LinearRing>> && newHoles,</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a>& newFactory);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classgeos_1_1geom_1_1Polygon.html#af8a7e70f7e26a4f6784c343b606fbec1"> 181</a></span>  std::unique_ptr<LinearRing> <a class="code" href="classgeos_1_1geom_1_1Polygon.html#af8a7e70f7e26a4f6784c343b606fbec1">shell</a>;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classgeos_1_1geom_1_1Polygon.html#a187afdcb1ebad888872214c21691fff5"> 183</a></span>  std::vector<std::unique_ptr<LinearRing>> <a class="code" href="classgeos_1_1geom_1_1Polygon.html#a187afdcb1ebad888872214c21691fff5">holes</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"> 185</span>  <a class="code" href="classgeos_1_1geom_1_1Envelope.html#ab206f2390f2fc2efd3df9e6eab71c672">Envelope::Ptr</a> computeEnvelopeInternal() <span class="keyword">const override</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"> 187</span>  <span class="keywordtype">int</span></div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classgeos_1_1geom_1_1Polygon.html#a33ca77d6e11b84223abe3685cd092c79"> 188</a></span>  <a class="code" href="classgeos_1_1geom_1_1Polygon.html#a33ca77d6e11b84223abe3685cd092c79">getSortIndex</a>()<span class="keyword"> const override</span></div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordflow">return</span> <a class="code" href="namespacegeos_1_1geom.html#ac568beb61b017827bc8ec85af6860422a0d5f5e5e388dfc2a03927966b9075d75">SORTINDEX_POLYGON</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> </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> <span class="keyword">private</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>  <span class="keywordtype">void</span> normalize(<a class="code" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a>* ring, <span class="keywordtype">bool</span> clockwise);</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> </div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> } <span class="comment">// namespace geos::geom</span></div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> } <span class="comment">// namespace geos</span></div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="preprocessor">#endif // ndef GEOS_GEOM_POLYGON_H</span></div><div class="ttc" id="classgeos_1_1geom_1_1GeometryFilter_html"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFilter.html">geos::geom::GeometryFilter</a></div><div class="ttdoc">Geometry classes support the concept of applying a Geometry filter to the Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="GeometryFilter_8h_source.html#l00047">GeometryFilter.h:47</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Polygon_html_a54227cd0bf8b681573698f6d1429e5ed"><div class="ttname"><a href="classgeos_1_1geom_1_1Polygon.html#a54227cd0bf8b681573698f6d1429e5ed">geos::geom::Polygon::clone</a></div><div class="ttdeci">std::unique_ptr< Geometry > clone() const override</div><div class="ttdef"><b>Definition:</b> <a href="Polygon_8h_source.html#l00082">Polygon.h:82</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="LinearRing_8h_html"><div class="ttname"><a href="LinearRing_8h.html">LinearRing.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Polygon_html_a4a38e2774a28f45ba522cef51fa2ce94"><div class="ttname"><a href="classgeos_1_1geom_1_1Polygon.html#a4a38e2774a28f45ba522cef51fa2ce94">geos::geom::Polygon::ConstVect</a></div><div class="ttdeci">std::vector< const Polygon * > ConstVect</div><div class="ttdoc">A vector of const Polygon pointers. </div><div class="ttdef"><b>Definition:</b> <a href="Polygon_8h_source.html#l00071">Polygon.h:71</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_1geom_1_1CoordinateSequenceFilter_html"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequenceFilter.html">geos::geom::CoordinateSequenceFilter</a></div><div class="ttdoc">Interface for classes which provide operations that can be applied to the coordinates in a Coordinate...</div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequenceFilter_8h_source.html#l00057">CoordinateSequenceFilter.h:57</a></div></div>
|
|
<div class="ttc" id="namespacegeos_1_1geom_html_a98c5b0e81001a7c3fdc7a058960356d8"><div class="ttname"><a href="namespacegeos_1_1geom.html#a98c5b0e81001a7c3fdc7a058960356d8">geos::geom::GeometryTypeId</a></div><div class="ttdeci">GeometryTypeId</div><div class="ttdoc">Geometry types. </div><div class="ttdef"><b>Definition:</b> <a href="Geometry_8h_source.html#l00075">Geometry.h:75</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Geometry_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Geometry.html">geos::geom::Geometry</a></div><div class="ttdoc">Basic implementation of Geometry, constructed and destructed by GeometryFactory. </div><div class="ttdef"><b>Definition:</b> <a href="Geometry_8h_source.html#l00188">Geometry.h:188</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateFilter_html"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateFilter.html">geos::geom::CoordinateFilter</a></div><div class="ttdoc">Geometry classes support the concept of applying a coordinate filter to every coordinate in the Geome...</div><div class="ttdef"><b>Definition:</b> <a href="CoordinateFilter_8h_source.html#l00043">CoordinateFilter.h:43</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Polygon_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Polygon.html">geos::geom::Polygon</a></div><div class="ttdoc">Represents a linear polygon, which may include holes. </div><div class="ttdef"><b>Definition:</b> <a href="Polygon_8h_source.html#l00064">Polygon.h:64</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="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="Envelope_8h_html"><div class="ttname"><a href="Envelope_8h.html">Envelope.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Polygon_html_af8a7e70f7e26a4f6784c343b606fbec1"><div class="ttname"><a href="classgeos_1_1geom_1_1Polygon.html#af8a7e70f7e26a4f6784c343b606fbec1">geos::geom::Polygon::shell</a></div><div class="ttdeci">std::unique_ptr< LinearRing > shell</div><div class="ttdef"><b>Definition:</b> <a href="Polygon_8h_source.html#l00181">Polygon.h:181</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="namespacegeos_1_1geom_html_ac568beb61b017827bc8ec85af6860422a0d5f5e5e388dfc2a03927966b9075d75"><div class="ttname"><a href="namespacegeos_1_1geom.html#ac568beb61b017827bc8ec85af6860422a0d5f5e5e388dfc2a03927966b9075d75">geos::geom::SORTINDEX_POLYGON</a></div><div class="ttdef"><b>Definition:</b> <a href="Geometry_8h_source.html#l00100">Geometry.h:100</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_ab206f2390f2fc2efd3df9e6eab71c672"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#ab206f2390f2fc2efd3df9e6eab71c672">geos::geom::Envelope::Ptr</a></div><div class="ttdeci">std::unique_ptr< Envelope > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00064">Envelope.h:64</a></div></div>
|
|
<div class="ttc" id="Dimension_8h_html"><div class="ttname"><a href="Dimension_8h.html">Dimension.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Polygon_html_a33ca77d6e11b84223abe3685cd092c79"><div class="ttname"><a href="classgeos_1_1geom_1_1Polygon.html#a33ca77d6e11b84223abe3685cd092c79">geos::geom::Polygon::getSortIndex</a></div><div class="ttdeci">int getSortIndex() const override</div><div class="ttdef"><b>Definition:</b> <a href="Polygon_8h_source.html#l00188">Polygon.h:188</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Polygon_html_a187afdcb1ebad888872214c21691fff5"><div class="ttname"><a href="classgeos_1_1geom_1_1Polygon.html#a187afdcb1ebad888872214c21691fff5">geos::geom::Polygon::holes</a></div><div class="ttdeci">std::vector< std::unique_ptr< LinearRing > > holes</div><div class="ttdef"><b>Definition:</b> <a href="Polygon_8h_source.html#l00183">Polygon.h:183</a></div></div>
|
|
<div class="ttc" id="Geometry_8h_html"><div class="ttname"><a href="Geometry_8h.html">Geometry.h</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1Dimension_html_af46f1c0c325eb685fcf32987748d04cf"><div class="ttname"><a href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cf">geos::geom::Dimension::DimensionType</a></div><div class="ttdeci">DimensionType</div><div class="ttdef"><b>Definition:</b> <a href="Dimension_8h_source.html#l00031">Dimension.h:31</a></div></div>
|
|
<div class="ttc" id="classgeos_1_1geom_1_1GeometryComponentFilter_html"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryComponentFilter.html">geos::geom::GeometryComponentFilter</a></div><div class="ttdef"><b>Definition:</b> <a href="GeometryComponentFilter_8h_source.html#l00043">GeometryComponentFilter.h:43</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>
|