geos_390_docs/classgeos_1_1operation_1_1d...

219 lines
13 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::distance::ConnectedElementPointFilter 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
&#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 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&#160;List</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;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_1distance.html">distance</a></li><li class="navelem"><a class="el" href="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter.html">ConnectedElementPointFilter</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::operation::distance::ConnectedElementPointFilter Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Extracts a single point from each connected element in a Geometry (e.g. a polygon, linestring or point) and returns them in a list.
<a href="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ConnectedElementPointFilter_8h_source.html">ConnectedElementPointFilter.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::operation::distance::ConnectedElementPointFilter:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter__inherit__graph.svg" width="230" height="131"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for geos::operation::distance::ConnectedElementPointFilter:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter__coll__graph.svg" width="230" height="131"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</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:ace4f3b19c97fe624e03e593763e0e276"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter.html#ace4f3b19c97fe624e03e593763e0e276">ConnectedElementPointFilter</a> (std::vector&lt; const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> * &gt; *newPts)</td></tr>
<tr class="separator:ace4f3b19c97fe624e03e593763e0e276"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70bf83100afd5693abc543a109a8bbfb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter.html#a70bf83100afd5693abc543a109a8bbfb">filter_ro</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom) override</td></tr>
<tr class="separator:a70bf83100afd5693abc543a109a8bbfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgeos_1_1geom_1_1GeometryFilter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgeos_1_1geom_1_1GeometryFilter')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgeos_1_1geom_1_1GeometryFilter.html">geos::geom::GeometryFilter</a></td></tr>
<tr class="memitem:a3c79320fcac570046904f29dcdd0e94a inherit pub_methods_classgeos_1_1geom_1_1GeometryFilter"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFilter.html#a3c79320fcac570046904f29dcdd0e94a">filter_rw</a> (<a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *)</td></tr>
<tr class="separator:a3c79320fcac570046904f29dcdd0e94a inherit pub_methods_classgeos_1_1geom_1_1GeometryFilter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cf0db637ac010f46c9158ca3c7a1820 inherit pub_methods_classgeos_1_1geom_1_1GeometryFilter"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFilter.html#a4cf0db637ac010f46c9158ca3c7a1820">~GeometryFilter</a> ()</td></tr>
<tr class="separator:a4cf0db637ac010f46c9158ca3c7a1820 inherit pub_methods_classgeos_1_1geom_1_1GeometryFilter"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:abc2612dc85364b19232c3f78bd21a1f5"><td class="memItemLeft" align="right" valign="top">static std::vector&lt; const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter.html#abc2612dc85364b19232c3f78bd21a1f5">getCoordinates</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
<tr class="separator:abc2612dc85364b19232c3f78bd21a1f5"><td class="memSeparator" colspan="2">&#160;</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:a7fc98e2bd97b71e0d1e9f1e445f4297b"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter.html#a7fc98e2bd97b71e0d1e9f1e445f4297b">pts</a></td></tr>
<tr class="separator:a7fc98e2bd97b71e0d1e9f1e445f4297b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Extracts a single point from each connected element in a Geometry (e.g. a polygon, linestring or point) and returns them in a list. </p>
<p>Definition at line <a class="el" href="ConnectedElementPointFilter_8h_source.html#l00047">47</a> of file <a class="el" href="ConnectedElementPointFilter_8h_source.html">ConnectedElementPointFilter.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ace4f3b19c97fe624e03e593763e0e276"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::operation::distance::ConnectedElementPointFilter::ConnectedElementPointFilter </td>
<td>(</td>
<td class="paramtype">std::vector&lt; const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> * &gt; *&#160;</td>
<td class="paramname"><em>newPts</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="ConnectedElementPointFilter_8h_source.html#l00060">60</a> of file <a class="el" href="ConnectedElementPointFilter_8h_source.html">ConnectedElementPointFilter.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a70bf83100afd5693abc543a109a8bbfb"></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::distance::ConnectedElementPointFilter::filter_ro </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&#160;</td>
<td class="paramname"><em>geom</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reimplemented from <a class="el" href="classgeos_1_1geom_1_1GeometryFilter.html#aafe4c307b7c2427efb2bffcb28e907e2">geos::geom::GeometryFilter</a>.</p>
</div>
</div>
<a class="anchor" id="abc2612dc85364b19232c3f78bd21a1f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static std::vector&lt;const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>*&gt;* geos::operation::distance::ConnectedElementPointFilter::getCoordinates </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&#160;</td>
<td class="paramname"><em>geom</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a list containing a Coordinate from each Polygon, LineString, and Point found inside the specified geometry. Thus, if the specified geometry is not a GeometryCollection, an empty list will be returned. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a7fc98e2bd97b71e0d1e9f1e445f4297b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>*&gt;* geos::operation::distance::ConnectedElementPointFilter::pts</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="ConnectedElementPointFilter_8h_source.html#l00050">50</a> of file <a class="el" href="ConnectedElementPointFilter_8h_source.html">ConnectedElementPointFilter.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ConnectedElementPointFilter_8h_source.html">ConnectedElementPointFilter.h</a></li>
</ul>
</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>