<!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"/> <title>GEOS: geos::operation::distance::ConnectedElementPointFilter Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div 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 class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespacegeos.html">geos</a> </li> <li><a class="el" href="namespacegeos_1_1operation.html">operation</a> </li> <li><a class="el" href="namespacegeos_1_1operation_1_1distance.html">distance</a> </li> <li><a class="el" href="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter.html">geos::operation::distance::ConnectedElementPointFilter</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <h1>geos::operation::distance::ConnectedElementPointFilter Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::operation::distance::ConnectedElementPointFilter" --><!-- doxytag: inherits="geos::geom::GeometryFilter" --> <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="#_details">More...</a></p> <p><code>#include <<a class="el" href="ConnectedElementPointFilter_8h_source.html">ConnectedElementPointFilter.h</a>></code></p> <div class="dynheader"> Inheritance diagram for geos::operation::distance::ConnectedElementPointFilter:</div> <div class="dyncontent"> <div class="center"> <img src="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter.png" usemap="#geos::operation::distance::ConnectedElementPointFilter_map" alt=""/> <map id="geos::operation::distance::ConnectedElementPointFilter_map" name="geos::operation::distance::ConnectedElementPointFilter_map"> <area href="classgeos_1_1geom_1_1GeometryFilter.html" alt="geos::geom::GeometryFilter" shape="rect" coords="0,0,319,24"/> </map> </div> <p><a href="classgeos_1_1operation_1_1distance_1_1ConnectedElementPointFilter-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace4f3b19c97fe624e03e593763e0e276"></a><!-- doxytag: member="geos::operation::distance::ConnectedElementPointFilter::ConnectedElementPointFilter" ref="ace4f3b19c97fe624e03e593763e0e276" args="(std::vector< const geom::Coordinate * > *newPts)" --> </td><td class="memItemRight" valign="bottom"><b>ConnectedElementPointFilter</b> (std::vector< const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> * > *newPts)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0cff25dd6ec7a21ca9f42dd7e6418cb8"></a><!-- doxytag: member="geos::operation::distance::ConnectedElementPointFilter::filter_ro" ref="a0cff25dd6ec7a21ca9f42dd7e6418cb8" args="(const geom::Geometry *geom)" --> void </td><td class="memItemRight" valign="bottom"><b>filter_ro</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static std::vector< const <br class="typebreak"/> <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_1distance_1_1ConnectedElementPointFilter.html#abc2612dc85364b19232c3f78bd21a1f5">getCoordinates</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <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> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="abc2612dc85364b19232c3f78bd21a1f5"></a><!-- doxytag: member="geos::operation::distance::ConnectedElementPointFilter::getCoordinates" ref="abc2612dc85364b19232c3f78bd21a1f5" args="(const geom::Geometry *geom)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static std::vector<const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>*>* 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> * </td> <td class="paramname"> <em>geom</em></td> <td> ) </td> <td><code> [static]</code></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> <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> <hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>