296 lines
15 KiB
HTML
296 lines
15 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: geos::operation::valid::SimpleNestedRingTester Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="namespacegeos.html">geos</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1operation.html">operation</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1operation_1_1valid.html">valid</a></li><li class="navelem"><a class="el" href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester.html">SimpleNestedRingTester</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::operation::valid::SimpleNestedRingTester Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Tests whether any of a set of <a class="el" href="classgeos_1_1geom_1_1LinearRing.html">LinearRings</a> are nested inside another ring in the set, using a simple O(n^2) comparison.
|
||
|
<a href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="SimpleNestedRingTester_8h_source.html">SimpleNestedRingTester.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::operation::valid::SimpleNestedRingTester:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester__coll__graph.svg" width="100%" height="510"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||
|
</div>
|
||
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||
|
Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a695a783b77bf6894e3e031285822c8b8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester.html#a695a783b77bf6894e3e031285822c8b8">SimpleNestedRingTester</a> (<a class="el" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a> *newGraph)</td></tr>
|
||
|
<tr class="separator:a695a783b77bf6894e3e031285822c8b8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2e6e4b366d49bf833c0aa9289420a969"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester.html#a2e6e4b366d49bf833c0aa9289420a969">~SimpleNestedRingTester</a> ()</td></tr>
|
||
|
<tr class="separator:a2e6e4b366d49bf833c0aa9289420a969"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8dbe0c5239b16a2949ce92d5f8431a3e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester.html#a8dbe0c5239b16a2949ce92d5f8431a3e">add</a> (<a class="el" href="classgeos_1_1geom_1_1LinearRing.html">geom::LinearRing</a> *ring)</td></tr>
|
||
|
<tr class="separator:a8dbe0c5239b16a2949ce92d5f8431a3e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7a6c18af082854a5367642e6be65293c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester.html#a7a6c18af082854a5367642e6be65293c">getNestedPoint</a> ()</td></tr>
|
||
|
<tr class="separator:a7a6c18af082854a5367642e6be65293c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6c40dc698f601f907a99269f8a9c21c9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester.html#a6c40dc698f601f907a99269f8a9c21c9">isNonNested</a> ()</td></tr>
|
||
|
<tr class="separator:a6c40dc698f601f907a99269f8a9c21c9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
||
|
Private Attributes</h2></td></tr>
|
||
|
<tr class="memitem:ad1611d92def668bf3d7428ac87f5c863"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester.html#ad1611d92def668bf3d7428ac87f5c863">graph</a></td></tr>
|
||
|
<tr class="separator:ad1611d92def668bf3d7428ac87f5c863"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9559305e5482b7fc7d3fc3ff5876a37f"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classgeos_1_1geom_1_1LinearRing.html">geom::LinearRing</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester.html#a9559305e5482b7fc7d3fc3ff5876a37f">rings</a></td></tr>
|
||
|
<tr class="separator:a9559305e5482b7fc7d3fc3ff5876a37f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aad1bddb87a0ea88a4da3df4c6c78b5ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1valid_1_1SimpleNestedRingTester.html#aad1bddb87a0ea88a4da3df4c6c78b5ca">nestedPt</a></td></tr>
|
||
|
<tr class="separator:aad1bddb87a0ea88a4da3df4c6c78b5ca"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Tests whether any of a set of <a class="el" href="classgeos_1_1geom_1_1LinearRing.html">LinearRings</a> are nested inside another ring in the set, using a simple O(n^2) comparison. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimpleNestedRingTester_8h_source.html#l00054">54</a> of file <a class="el" href="SimpleNestedRingTester_8h_source.html">SimpleNestedRingTester.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="a695a783b77bf6894e3e031285822c8b8"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::operation::valid::SimpleNestedRingTester::SimpleNestedRingTester </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a> * </td>
|
||
|
<td class="paramname"><em>newGraph</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimpleNestedRingTester_8h_source.html#l00060">60</a> of file <a class="el" href="SimpleNestedRingTester_8h_source.html">SimpleNestedRingTester.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a2e6e4b366d49bf833c0aa9289420a969"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::operation::valid::SimpleNestedRingTester::~SimpleNestedRingTester </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimpleNestedRingTester_8h_source.html#l00067">67</a> of file <a class="el" href="SimpleNestedRingTester_8h_source.html">SimpleNestedRingTester.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="a8dbe0c5239b16a2949ce92d5f8431a3e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::valid::SimpleNestedRingTester::add </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1LinearRing.html">geom::LinearRing</a> * </td>
|
||
|
<td class="paramname"><em>ring</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimpleNestedRingTester_8h_source.html#l00072">72</a> of file <a class="el" href="SimpleNestedRingTester_8h_source.html">SimpleNestedRingTester.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7a6c18af082854a5367642e6be65293c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>* geos::operation::valid::SimpleNestedRingTester::getNestedPoint </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimpleNestedRingTester_8h_source.html#l00084">84</a> of file <a class="el" href="SimpleNestedRingTester_8h_source.html">SimpleNestedRingTester.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6c40dc698f601f907a99269f8a9c21c9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::valid::SimpleNestedRingTester::isNonNested </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="ad1611d92def668bf3d7428ac87f5c863"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="classgeos_1_1geomgraph_1_1GeometryGraph.html">geomgraph::GeometryGraph</a>* geos::operation::valid::SimpleNestedRingTester::graph</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimpleNestedRingTester_8h_source.html#l00056">56</a> of file <a class="el" href="SimpleNestedRingTester_8h_source.html">SimpleNestedRingTester.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aad1bddb87a0ea88a4da3df4c6c78b5ca"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>* geos::operation::valid::SimpleNestedRingTester::nestedPt</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimpleNestedRingTester_8h_source.html#l00058">58</a> of file <a class="el" href="SimpleNestedRingTester_8h_source.html">SimpleNestedRingTester.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9559305e5482b7fc7d3fc3ff5876a37f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<<a class="el" href="classgeos_1_1geom_1_1LinearRing.html">geom::LinearRing</a>*> geos::operation::valid::SimpleNestedRingTester::rings</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimpleNestedRingTester_8h_source.html#l00057">57</a> of file <a class="el" href="SimpleNestedRingTester_8h_source.html">SimpleNestedRingTester.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="SimpleNestedRingTester_8h_source.html">SimpleNestedRingTester.h</a></li>
|
||
|
</ul>
|
||
|
</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>
|