geos_390_docs/classgeos_1_1geom_1_1Geomet...

206 lines
12 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::GeometryComponentFilter 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_1geom.html">geom</a></li><li class="navelem"><a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html">GeometryComponentFilter</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classgeos_1_1geom_1_1GeometryComponentFilter-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::geom::GeometryComponentFilter Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="GeometryComponentFilter_8h_source.html">GeometryComponentFilter.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::geom::GeometryComponentFilter:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geom_1_1GeometryComponentFilter__inherit__graph.svg" width="519" height="259"><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:a7d097e27a5101d5335a25e1cd03a8296"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html#a7d097e27a5101d5335a25e1cd03a8296">filter_rw</a> (<a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *geom)</td></tr>
<tr class="separator:a7d097e27a5101d5335a25e1cd03a8296"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34e54219dad07c95f7fe629d0cf6fa71"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html#a34e54219dad07c95f7fe629d0cf6fa71">filter_ro</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *geom)</td></tr>
<tr class="separator:a34e54219dad07c95f7fe629d0cf6fa71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5ce621501bd0c61aa36220e25a3b6c7"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html#ad5ce621501bd0c61aa36220e25a3b6c7">isDone</a> ()</td></tr>
<tr class="separator:ad5ce621501bd0c61aa36220e25a3b6c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a476ea89d8b2928e6a143465477528534"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html#a476ea89d8b2928e6a143465477528534">~GeometryComponentFilter</a> ()</td></tr>
<tr class="separator:a476ea89d8b2928e6a143465477528534"><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><code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">Geometry</a></code> classes support the concept of applying a <code><a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html">GeometryComponentFilter</a></code> filter to the <code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">Geometry</a></code>. The filter is applied to every component of the <code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">Geometry</a></code> which is itself a <code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">Geometry</a></code>. A <code><a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html">GeometryComponentFilter</a></code> filter can either record information about the <code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">Geometry</a></code> or change the <code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">Geometry</a></code> in some way. <code><a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html">GeometryComponentFilter</a></code> is an example of the Gang-of-Four Visitor pattern. </p>
<p>Definition at line <a class="el" href="GeometryComponentFilter_8h_source.html#l00043">43</a> of file <a class="el" href="GeometryComponentFilter_8h_source.html">GeometryComponentFilter.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a476ea89d8b2928e6a143465477528534"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual geos::geom::GeometryComponentFilter::~GeometryComponentFilter </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 class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="GeometryComponentFilter_8h_source.html#l00058">58</a> of file <a class="el" href="GeometryComponentFilter_8h_source.html">GeometryComponentFilter.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a34e54219dad07c95f7fe629d0cf6fa71"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void geos::geom::GeometryComponentFilter::filter_ro </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reimplemented in <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer_1_1LineStringAdder.html#a8ad91de8acf7abfa96628eb1dcac0a0d">geos::operation::polygonize::Polygonizer::LineStringAdder</a>, <a class="el" href="classgeos_1_1geom_1_1util_1_1LinearComponentExtracter.html#ae4343ac69973bc9ce297167a2049ce96">geos::geom::util::LinearComponentExtracter</a>, and <a class="el" href="classgeos_1_1geom_1_1util_1_1ComponentCoordinateExtracter.html#aaeb4da3159d45e0f4548dffb5c00a102">geos::geom::util::ComponentCoordinateExtracter</a>.</p>
</div>
</div>
<a class="anchor" id="a7d097e27a5101d5335a25e1cd03a8296"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void geos::geom::GeometryComponentFilter::filter_rw </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Performs an operation with or on <code>geom</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">geom</td><td>a <code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">Geometry</a></code> to which the filter is applied. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented in <a class="el" href="classgeos_1_1geom_1_1Geometry_1_1GeometryChangedFilter.html#aa3d55541c74e02ad062f0551844038bf">geos::geom::Geometry::GeometryChangedFilter</a>, <a class="el" href="classgeos_1_1geom_1_1util_1_1LinearComponentExtracter.html#ac909008f90af6cd611f6c3255de5a5b7">geos::geom::util::LinearComponentExtracter</a>, and <a class="el" href="classgeos_1_1geom_1_1util_1_1ComponentCoordinateExtracter.html#a30afadbe59ef90ea4ea350ab2a58744a">geos::geom::util::ComponentCoordinateExtracter</a>.</p>
</div>
</div>
<a class="anchor" id="ad5ce621501bd0c61aa36220e25a3b6c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool geos::geom::GeometryComponentFilter::isDone </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 class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="GeometryComponentFilter_8h_source.html#l00055">55</a> of file <a class="el" href="GeometryComponentFilter_8h_source.html">GeometryComponentFilter.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="GeometryComponentFilter_8h_source.html">GeometryComponentFilter.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>