geos_390_docs/IsValidOp_8h_source.html

88 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: IsValidOp.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_cc91dd2a378845bf7e3e6edb554afff8.html">operation</a></li><li class="navelem"><a class="el" href="dir_128ea327999b3862e4621cc0c6815ff9.html">valid</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">IsValidOp.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="IsValidOp_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) 2010 Sandro Santilli &lt;strk@kbt.io&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * Copyright (C) 2005-2006 Refractions Research Inc.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * Copyright (C) 2001-2002 Vivid Solutions Inc.</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<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>&#160;<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>&#160;<span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> **********************************************************************</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * Last port: operation/valid/IsValidOp.java r335 (JTS-1.12)</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#ifndef GEOS_OP_ISVALIDOP_H</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define GEOS_OP_ISVALIDOP_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</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="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="TopologyValidationError_8h.html">geos/operation/valid/TopologyValidationError.h</a>&gt;</span> <span class="comment">// for inlined destructor</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment">// Forward declarations</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">namespace </span>util {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">class </span>TopologyValidationError;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;}</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">namespace </span>geom {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">class </span>CoordinateSequence;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">class </span>GeometryFactory;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">class </span>Geometry;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">class </span>Point;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">class </span>LinearRing;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">class </span>LineString;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">class </span>Polygon;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">class </span>GeometryCollection;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">class </span>MultiPolygon;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">class </span>MultiLineString;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;}</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="keyword">namespace </span>geomgraph {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="keyword">class </span>DirectedEdge;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">class </span>EdgeIntersectionList;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="keyword">class </span>PlanarGraph;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keyword">class </span>GeometryGraph;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;}</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;}</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="keyword">namespace </span>operation { <span class="comment">// geos::operation</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="keyword">namespace </span>valid { <span class="comment">// geos::operation::valid</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html"> 61</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_1operation_1_1valid_1_1IsValidOp.html">IsValidOp</a> {</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a3b1ba7d458aabe9d7563c45d93f67f67"> 62</a></span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span>Unload;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a55466aa61bdcb9cced4456cf2a53b128"> 65</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* <a class="code" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a55466aa61bdcb9cced4456cf2a53b128">parentGeometry</a>;</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"><a class="line" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a6aee3d112042e820f5c20a171848c92d"> 67</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a6aee3d112042e820f5c20a171848c92d">isChecked</a>;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="comment">// CHECKME: should this really be a pointer ?</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a62306c893ea5e614d9d9c9c41c449893"> 70</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1valid_1_1TopologyValidationError.html">TopologyValidationError</a>* <a class="code" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a62306c893ea5e614d9d9c9c41c449893">validErr</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; <span class="comment">// This is the version using &#39;isChecked&#39; flag</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordtype">void</span> checkValid();</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordtype">void</span> checkValid(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* g);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordtype">void</span> checkValid(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Point.html">geom::Point</a>* g);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordtype">void</span> checkValid(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1LinearRing.html">geom::LinearRing</a>* g);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordtype">void</span> checkValid(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a>* g);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordtype">void</span> checkValid(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>* g);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keywordtype">void</span> checkValid(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1MultiPolygon.html">geom::MultiPolygon</a>* g);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordtype">void</span> checkValid(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1GeometryCollection.html">geom::GeometryCollection</a>* gc);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordtype">void</span> checkConsistentArea(<a class="code" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a>* graph);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordtype">void</span> checkNoSelfIntersectingRings(<a class="code" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a>* graph);</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keywordtype">void</span> checkNoSelfIntersectingRing(</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <a class="code" href="classgeos_1_1geomgraph_1_1EdgeIntersectionList.html">geomgraph::EdgeIntersectionList</a>&amp; eiList);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keywordtype">void</span> checkTooFewPoints(<a class="code" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a>* graph);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordtype">void</span> checkHolesInShell(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>* p,</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <a class="code" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a>* graph);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordtype">void</span> checkHolesNotNested(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>* p,</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <a class="code" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a>* graph);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordtype">void</span> checkShellsNotNested(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1MultiPolygon.html">geom::MultiPolygon</a>* mp,</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <a class="code" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a>* graph);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordtype">void</span> checkConnectedInteriors(<a class="code" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a>&amp; graph);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordtype">void</span> checkInvalidCoordinates(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>* cs);</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordtype">void</span> checkInvalidCoordinates(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>* poly);</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordtype">void</span> checkClosedRings(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>* poly);</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordtype">void</span> checkClosedRing(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1LinearRing.html">geom::LinearRing</a>* ring);</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a795fc53eade91713ae1a44af1fc4672b"> 163</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a795fc53eade91713ae1a44af1fc4672b">isSelfTouchingRingFormingHoleValid</a>;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>* findPtNotNode(</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>* testCoords,</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1LinearRing.html">geom::LinearRing</a>* searchRing,</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a>* graph);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isValid(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; coord);</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isValid(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; geom);</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a4dd91844a9a08a6a0b5ce79b7b02de4b"> 195</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a4dd91844a9a08a6a0b5ce79b7b02de4b">IsValidOp</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* geom)</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; :</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; parentGeometry(geom),</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; isChecked(false),</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; validErr(nullptr),</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; isSelfTouchingRingFormingHoleValid(false)</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; {}</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keyword">virtual</span></div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#aa6150988bc54ea11db100e7065ee3d6f"> 205</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#aa6150988bc54ea11db100e7065ee3d6f">~IsValidOp</a>()</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; {</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="keyword">delete</span> validErr;</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; }</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="keywordtype">bool</span> isValid();</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <a class="code" href="classgeos_1_1operation_1_1valid_1_1TopologyValidationError.html">TopologyValidationError</a>* getValidationError();</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <span class="keywordtype">void</span></div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#ae2997fc9c969f19517184377df9249de"> 238</a></span>&#160; <a class="code" href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#ae2997fc9c969f19517184377df9249de">setSelfTouchingRingFormingHoleValid</a>(<span class="keywordtype">bool</span> p_isValid)</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; {</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; isSelfTouchingRingFormingHoleValid = p_isValid;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; }</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;};</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;} <span class="comment">// namespace geos.operation.valid</span></div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;} <span class="comment">// namespace geos.operation</span></div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;} <span class="comment">// namespace geos</span></div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;<span class="preprocessor">#endif // GEOS_OP_ISVALIDOP_H</span></div><div class="ttc" id="classgeos_1_1operation_1_1valid_1_1IsValidOp_html_ae2997fc9c969f19517184377df9249de"><div class="ttname"><a href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#ae2997fc9c969f19517184377df9249de">geos::operation::valid::IsValidOp::setSelfTouchingRingFormingHoleValid</a></div><div class="ttdeci">void setSelfTouchingRingFormingHoleValid(bool p_isValid)</div><div class="ttdoc">Sets whether polygons using Self-Touching Rings to form holes are reported as valid. </div><div class="ttdef"><b>Definition:</b> <a href="IsValidOp_8h_source.html#l00238">IsValidOp.h:238</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"><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_1operation_1_1valid_1_1IsValidOp_html_a795fc53eade91713ae1a44af1fc4672b"><div class="ttname"><a href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a795fc53eade91713ae1a44af1fc4672b">geos::operation::valid::IsValidOp::isSelfTouchingRingFormingHoleValid</a></div><div class="ttdeci">bool isSelfTouchingRingFormingHoleValid</div><div class="ttdef"><b>Definition:</b> <a href="IsValidOp_8h_source.html#l00163">IsValidOp.h:163</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1MultiPolygon_html"><div class="ttname"><a href="classgeos_1_1geom_1_1MultiPolygon.html">geos::geom::MultiPolygon</a></div><div class="ttdef"><b>Definition:</b> <a href="MultiPolygon_8h_source.html#l00059">MultiPolygon.h:59</a></div></div>
<div class="ttc" id="classgeos_1_1geomgraph_1_1GeometryGraph_html"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geos::geomgraph::GeometryGraph</a></div><div class="ttdoc">A GeometryGraph is a graph that models a given Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="GeometryGraph_8h_source.html#l00074">GeometryGraph.h:74</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1valid_1_1IsValidOp_html"><div class="ttname"><a href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html">geos::operation::valid::IsValidOp</a></div><div class="ttdoc">Implements the algorithsm required to compute the isValid() method for Geometrys. ...</div><div class="ttdef"><b>Definition:</b> <a href="IsValidOp_8h_source.html#l00061">IsValidOp.h:61</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_1operation_1_1valid_1_1IsValidOp_html_a4dd91844a9a08a6a0b5ce79b7b02de4b"><div class="ttname"><a href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a4dd91844a9a08a6a0b5ce79b7b02de4b">geos::operation::valid::IsValidOp::IsValidOp</a></div><div class="ttdeci">IsValidOp(const geom::Geometry *geom)</div><div class="ttdef"><b>Definition:</b> <a href="IsValidOp_8h_source.html#l00195">IsValidOp.h:195</a></div></div>
<div class="ttc" id="classgeos_1_1geomgraph_1_1EdgeIntersectionList_html"><div class="ttname"><a href="classgeos_1_1geomgraph_1_1EdgeIntersectionList.html">geos::geomgraph::EdgeIntersectionList</a></div><div class="ttdoc">A list of edge intersections along an Edge. </div><div class="ttdef"><b>Definition:</b> <a href="EdgeIntersectionList_8h_source.html#l00060">EdgeIntersectionList.h:60</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1valid_1_1IsValidOp_html_aa6150988bc54ea11db100e7065ee3d6f"><div class="ttname"><a href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#aa6150988bc54ea11db100e7065ee3d6f">geos::operation::valid::IsValidOp::~IsValidOp</a></div><div class="ttdeci">virtual ~IsValidOp()</div><div class="ttdoc">TODO: validErr can&amp;#39;t be a pointer! </div><div class="ttdef"><b>Definition:</b> <a href="IsValidOp_8h_source.html#l00205">IsValidOp.h:205</a></div></div>
<div class="ttc" id="TopologyValidationError_8h_html"><div class="ttname"><a href="TopologyValidationError_8h.html">TopologyValidationError.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1LineString_html"><div class="ttname"><a href="classgeos_1_1geom_1_1LineString.html">geos::geom::LineString</a></div><div class="ttdef"><b>Definition:</b> <a href="LineString_8h_source.html#l00068">LineString.h:68</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_1operation_1_1valid_1_1IsValidOp_html_a6aee3d112042e820f5c20a171848c92d"><div class="ttname"><a href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a6aee3d112042e820f5c20a171848c92d">geos::operation::valid::IsValidOp::isChecked</a></div><div class="ttdeci">bool isChecked</div><div class="ttdef"><b>Definition:</b> <a href="IsValidOp_8h_source.html#l00067">IsValidOp.h:67</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1valid_1_1IsValidOp_html_a55466aa61bdcb9cced4456cf2a53b128"><div class="ttname"><a href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a55466aa61bdcb9cced4456cf2a53b128">geos::operation::valid::IsValidOp::parentGeometry</a></div><div class="ttdeci">const geom::Geometry * parentGeometry</div><div class="ttdoc">the base Geometry to be validated </div><div class="ttdef"><b>Definition:</b> <a href="IsValidOp_8h_source.html#l00065">IsValidOp.h:65</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1GeometryCollection_html"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryCollection.html">geos::geom::GeometryCollection</a></div><div class="ttdoc">Represents a collection of heterogeneous Geometry objects. </div><div class="ttdef"><b>Definition:</b> <a href="GeometryCollection_8h_source.html#l00055">GeometryCollection.h:55</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_1geom_1_1CoordinateSequence_html"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html">geos::geom::CoordinateSequence</a></div><div class="ttdoc">The internal representation of a list of coordinates inside a Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00058">CoordinateSequence.h:58</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1valid_1_1IsValidOp_html_a62306c893ea5e614d9d9c9c41c449893"><div class="ttname"><a href="classgeos_1_1operation_1_1valid_1_1IsValidOp.html#a62306c893ea5e614d9d9c9c41c449893">geos::operation::valid::IsValidOp::validErr</a></div><div class="ttdeci">TopologyValidationError * validErr</div><div class="ttdef"><b>Definition:</b> <a href="IsValidOp_8h_source.html#l00070">IsValidOp.h:70</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Point_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Point.html">geos::geom::Point</a></div><div class="ttdef"><b>Definition:</b> <a href="Point_8h_source.html#l00066">Point.h:66</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1valid_1_1TopologyValidationError_html"><div class="ttname"><a href="classgeos_1_1operation_1_1valid_1_1TopologyValidationError.html">geos::operation::valid::TopologyValidationError</a></div><div class="ttdoc">Contains information about the nature and location of a geom::Geometry validation error...</div><div class="ttdef"><b>Definition:</b> <a href="TopologyValidationError_8h_source.html#l00040">TopologyValidationError.h:40</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>