302 lines
17 KiB
HTML
302 lines
17 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::geom::util::PolygonExtracter 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_1geom.html">geom</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1geom_1_1util.html">util</a></li><li class="navelem"><a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html">PolygonExtracter</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
||
|
<a href="#pri-methods">Private Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="classgeos_1_1geom_1_1util_1_1PolygonExtracter-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::geom::util::PolygonExtracter Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p><code>#include <<a class="el" href="PolygonExtracter_8h_source.html">PolygonExtracter.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Inheritance diagram for geos::geom::util::PolygonExtracter:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geom_1_1util_1_1PolygonExtracter__inherit__graph.svg" width="211" 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::geom::util::PolygonExtracter:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geom_1_1util_1_1PolygonExtracter__coll__graph.svg" width="211" 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:af83d475fa78039eee7c1ebe2f4c12e98"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html#af83d475fa78039eee7c1ebe2f4c12e98">PolygonExtracter</a> (std::vector< const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> * > &newComps)</td></tr>
|
||
|
<tr class="separator:af83d475fa78039eee7c1ebe2f4c12e98"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab66a748afe76b3b8fc1a238cbfbb2ec8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html#ab66a748afe76b3b8fc1a238cbfbb2ec8">filter_rw</a> (<a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *geom) override</td></tr>
|
||
|
<tr class="separator:ab66a748afe76b3b8fc1a238cbfbb2ec8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a52b12049fff98db001c7f106db551d39"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html#a52b12049fff98db001c7f106db551d39">filter_ro</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *geom) override</td></tr>
|
||
|
<tr class="separator:a52b12049fff98db001c7f106db551d39"><td class="memSeparator" colspan="2"> </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="-"/> Public Member Functions inherited from <a class="el" href="classgeos_1_1geom_1_1GeometryFilter.html">geos::geom::GeometryFilter</a></td></tr>
|
||
|
<tr class="memitem:a4cf0db637ac010f46c9158ca3c7a1820 inherit pub_methods_classgeos_1_1geom_1_1GeometryFilter"><td class="memItemLeft" align="right" valign="top">virtual </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"> </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:a07459487328b25bc059cd4e7b6234621"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html#a07459487328b25bc059cd4e7b6234621">getPolygons</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> &geom, std::vector< const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> * > &ret)</td></tr>
|
||
|
<tr class="separator:a07459487328b25bc059cd4e7b6234621"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
|
||
|
Private Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a184bd2031296f4f246169fcca25fec49"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html#a184bd2031296f4f246169fcca25fec49">PolygonExtracter</a> (const <a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html">PolygonExtracter</a> &other)=delete</td></tr>
|
||
|
<tr class="separator:a184bd2031296f4f246169fcca25fec49"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5decbd30acb0cc788420817e60509dbe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html">PolygonExtracter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html#a5decbd30acb0cc788420817e60509dbe">operator=</a> (const <a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html">PolygonExtracter</a> &rhs)=delete</td></tr>
|
||
|
<tr class="separator:a5decbd30acb0cc788420817e60509dbe"><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:a620715cdf38a63e3a81c6c1f698d95e1"><td class="memItemLeft" align="right" valign="top">std::vector< const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> * > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html#a620715cdf38a63e3a81c6c1f698d95e1">comps</a></td></tr>
|
||
|
<tr class="memdesc:a620715cdf38a63e3a81c6c1f698d95e1"><td class="mdescLeft"> </td><td class="mdescRight">Reference to provided vector. <a href="#a620715cdf38a63e3a81c6c1f698d95e1">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a620715cdf38a63e3a81c6c1f698d95e1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Extracts all the 2-dimensional (<a class="el" href="classgeos_1_1geom_1_1Polygon.html" title="Represents a linear polygon, which may include holes. ">Polygon</a>) components from a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">Geometry</a>. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PolygonExtracter_8h_source.html#l00031">31</a> of file <a class="el" href="PolygonExtracter_8h_source.html">PolygonExtracter.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="af83d475fa78039eee7c1ebe2f4c12e98"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geom::util::PolygonExtracter::PolygonExtracter </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::vector< const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> * > & </td>
|
||
|
<td class="paramname"><em>newComps</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Constructs a PolygonExtracterFilter with a list in which to store Polygons found. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a184bd2031296f4f246169fcca25fec49"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geom::util::PolygonExtracter::PolygonExtracter </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html">PolygonExtracter</a> & </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="a52b12049fff98db001c7f106db551d39"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::util::PolygonExtracter::filter_ro </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * </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="ab66a748afe76b3b8fc1a238cbfbb2ec8"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::util::PolygonExtracter::filter_rw </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * </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#a3c79320fcac570046904f29dcdd0e94a">geos::geom::GeometryFilter</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a07459487328b25bc059cd4e7b6234621"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static void geos::geom::util::PolygonExtracter::getPolygons </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> & </td>
|
||
|
<td class="paramname"><em>geom</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">std::vector< const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> * > & </td>
|
||
|
<td class="paramname"><em>ret</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</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>Pushes the <a class="el" href="classgeos_1_1geom_1_1Polygon.html" title="Represents a linear polygon, which may include holes. ">Polygon</a> components from a single geometry into the provided vector. If more than one geometry is to be processed, it is more efficient to create a single PolygonExtracterFilter instance and pass it to multiple geometries. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5decbd30acb0cc788420817e60509dbe"></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_1util_1_1PolygonExtracter.html">PolygonExtracter</a>& geos::geom::util::PolygonExtracter::operator= </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1util_1_1PolygonExtracter.html">PolygonExtracter</a> & </td>
|
||
|
<td class="paramname"><em>rhs</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a620715cdf38a63e3a81c6c1f698d95e1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>*>& geos::geom::util::PolygonExtracter::comps</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>Reference to provided vector. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PolygonExtracter_8h_source.html#l00057">57</a> of file <a class="el" href="PolygonExtracter_8h_source.html">PolygonExtracter.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="PolygonExtracter_8h_source.html">PolygonExtracter.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>
|