EVOLUTION-MANAGER
Edit File: PreparedPolygonPredicate_8h_source.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.5"/> <title>GEOS: PreparedPolygonPredicate.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 style="padding-left: 0.5em;"> <div id="projectname">GEOS  <span id="projectnumber">3.8.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <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_c7abe0914a0ee2b00cd766c552eb2d19.html">include</a></li><li class="navelem"><a class="el" href="dir_165a26498f94b7fe2ccb32b9bb9b3ac5.html">geos</a></li><li class="navelem"><a class="el" href="dir_2b7442d09f82fa6ae2e8d230dbf9476a.html">geom</a></li><li class="navelem"><a class="el" href="dir_05b384ae64f7f3a18af756b3cfbd4898.html">prep</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">PreparedPolygonPredicate.h</div> </div> </div><!--header--> <div class="contents"> <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) 2006 Refractions Research Inc.</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * by the Free Software Foundation.</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * See the COPYING file for more information.</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> *</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"> * Last port: geom/prep/PreparedPolygonPredicate.java rev. 1.4 (JTS-1.10)</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * (2007-12-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_PREP_PREPAREDPOLYGONPREDICATE_H</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="preprocessor">#define GEOS_GEOM_PREP_PREPAREDPOLYGONPREDICATE_H</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <geos/geom/Coordinate.h></span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <geos/geom/Location.h></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// forward declarations</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span>geos {</div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span>algorithm {</div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span>locate {</div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">class </span>PointOnGeometryLocator;</div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</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="keyword">namespace </span>geom {</div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">class </span>Geometry;</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="keyword">namespace </span>prep {</div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">class </span>PreparedPolygon;</div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> }</div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> }</div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">namespace </span>noding {</div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">class </span>FastSegmentSetIntersectionFinder;</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> </div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">namespace </span>geos {</div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">namespace </span>geom { <span class="comment">// geos::geom</span></div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">namespace </span>prep { <span class="comment">// geos::geom::prep</span></div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div> <div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html"> 58</a></span> <span class="keyword">class </span><a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html">PreparedPolygonPredicate</a> {</div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// Declare type as noncopyable</span></div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html">PreparedPolygonPredicate</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html">PreparedPolygonPredicate</a>& other) = <span class="keyword">delete</span>;</div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html">PreparedPolygonPredicate</a>& operator=(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html">PreparedPolygonPredicate</a>& rhs) = <span class="keyword">delete</span>;</div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">protected</span>:</div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html">PreparedPolygon</a>* <span class="keyword">const</span> prepPoly;</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">geom::Location</a> <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#a3827ccf6121181663854b8771504d81a">getOutermostTestComponentLocation</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* testGeom) <span class="keyword">const</span>;</div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#a7becc3cfe82252a97109c08ec060d6b0">isAllTestComponentsInTargetInterior</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* testGeom) <span class="keyword">const</span>;</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#a3da12d4d133b3968f585838ac295ed09">isAnyTestComponentInTarget</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* testGeom) <span class="keyword">const</span>;</div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#aeababb3d0a044f7f43b4a3f01aeb295a">isAnyTestComponentInTargetInterior</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* testGeom) <span class="keyword">const</span>;</div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#aa9b54696e21fa2730742e7742ae55bdc">isAnyTargetComponentInAreaTest</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* testGeom,</div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html#a59a363dbe699943a46ea014355e63cac">geom::Coordinate::ConstVect</a>* targetRepPts) <span class="keyword">const</span>;</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="keyword">public</span>:</div> <div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#acc3037ea8c0c92745bef8896031987ee"> 129</a></span>  <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#acc3037ea8c0c92745bef8896031987ee">PreparedPolygonPredicate</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html">PreparedPolygon</a>* <span class="keyword">const</span> p_prepPoly)</div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  : prepPoly(p_prepPoly)</div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</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="keyword">virtual</span></div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  ~<a class="code" href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html">PreparedPolygonPredicate</a>()</div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</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> };</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="comment">// namespace geos::geom::prep</span></div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> } <span class="comment">// namespace geos::geom</span></div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span> } <span class="comment">// namespace geos</span></div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor">#endif // GEOS_GEOM_PREP_PREPAREDPOLYGONPREDICATE_H</span></div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="preprocessor"></span></div> <div class="ttc" id="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate_html_aa9b54696e21fa2730742e7742ae55bdc"><div class="ttname"><a href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#aa9b54696e21fa2730742e7742ae55bdc">geos::geom::prep::PreparedPolygonPredicate::isAnyTargetComponentInAreaTest</a></div><div class="ttdeci">bool isAnyTargetComponentInAreaTest(const geom::Geometry *testGeom, const geom::Coordinate::ConstVect *targetRepPts) const </div></div> <div class="ttc" id="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate_html_acc3037ea8c0c92745bef8896031987ee"><div class="ttname"><a href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#acc3037ea8c0c92745bef8896031987ee">geos::geom::prep::PreparedPolygonPredicate::PreparedPolygonPredicate</a></div><div class="ttdeci">PreparedPolygonPredicate(const PreparedPolygon *const p_prepPoly)</div><div class="ttdef"><b>Definition:</b> PreparedPolygonPredicate.h:129</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> Geometry.h:188</div></div> <div class="ttc" id="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate_html_a7becc3cfe82252a97109c08ec060d6b0"><div class="ttname"><a href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#a7becc3cfe82252a97109c08ec060d6b0">geos::geom::prep::PreparedPolygonPredicate::isAllTestComponentsInTargetInterior</a></div><div class="ttdeci">bool isAllTestComponentsInTargetInterior(const geom::Geometry *testGeom) const </div><div class="ttdoc">Tests whether all components of the test Geometry are contained in the interior of the target geometr...</div></div> <div class="ttc" id="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate_html"><div class="ttname"><a href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html">geos::geom::prep::PreparedPolygonPredicate</a></div><div class="ttdoc">A base class for predicate operations on PreparedPolygons. </div><div class="ttdef"><b>Definition:</b> PreparedPolygonPredicate.h:58</div></div> <div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html_a59a363dbe699943a46ea014355e63cac"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#a59a363dbe699943a46ea014355e63cac">geos::geom::Coordinate::ConstVect</a></div><div class="ttdeci">std::vector< const Coordinate * > ConstVect</div><div class="ttdoc">A vector of const Coordinate pointers. </div><div class="ttdef"><b>Definition:</b> Coordinate.h:71</div></div> <div class="ttc" id="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate_html_a3827ccf6121181663854b8771504d81a"><div class="ttname"><a href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#a3827ccf6121181663854b8771504d81a">geos::geom::prep::PreparedPolygonPredicate::getOutermostTestComponentLocation</a></div><div class="ttdeci">geom::Location getOutermostTestComponentLocation(const geom::Geometry *testGeom) const </div><div class="ttdoc">Returns the outermost Location among a test point from each components of the test geometry...</div></div> <div class="ttc" id="namespacegeos_1_1geom_html_ae55a225cd843a6b153a7b6ca5a4707c8"><div class="ttname"><a href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">geos::geom::Location</a></div><div class="ttdeci">Location</div><div class="ttdoc">Constants representing the location of a point relative to a geometry. </div><div class="ttdef"><b>Definition:</b> Location.h:34</div></div> <div class="ttc" id="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate_html_a3da12d4d133b3968f585838ac295ed09"><div class="ttname"><a href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#a3da12d4d133b3968f585838ac295ed09">geos::geom::prep::PreparedPolygonPredicate::isAnyTestComponentInTarget</a></div><div class="ttdeci">bool isAnyTestComponentInTarget(const geom::Geometry *testGeom) const </div><div class="ttdoc">Tests whether any component of the test Geometry intersects the area of the target geometry...</div></div> <div class="ttc" id="classgeos_1_1geom_1_1prep_1_1PreparedPolygon_html"><div class="ttname"><a href="classgeos_1_1geom_1_1prep_1_1PreparedPolygon.html">geos::geom::prep::PreparedPolygon</a></div><div class="ttdoc">A prepared version of Polygon or MultiPolygon geometries. </div><div class="ttdef"><b>Definition:</b> PreparedPolygon.h:50</div></div> <div class="ttc" id="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate_html_aeababb3d0a044f7f43b4a3f01aeb295a"><div class="ttname"><a href="classgeos_1_1geom_1_1prep_1_1PreparedPolygonPredicate.html#aeababb3d0a044f7f43b4a3f01aeb295a">geos::geom::prep::PreparedPolygonPredicate::isAnyTestComponentInTargetInterior</a></div><div class="ttdeci">bool isAnyTestComponentInTargetInterior(const geom::Geometry *testGeom) const </div><div class="ttdoc">Tests whether any component of the test Geometry intersects the interior of the target geometry...</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.5 </small></address> </body> </html>