Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5035839f674c88dea1f7928a86fbdc64 > files > 812

geos-devel-3.2.1-3.fc14.x86_64.rpm

<!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::geom::util::ComponentCoordinateExtracter 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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;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_1geom.html">geom</a>      </li>
      <li><a class="el" href="namespacegeos_1_1geom_1_1util.html">util</a>      </li>
      <li><a class="el" href="classgeos_1_1geom_1_1util_1_1ComponentCoordinateExtracter.html">geos::geom::util::ComponentCoordinateExtracter</a>      </li>
    </ul>
  </div>
</div>
<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>  </div>
  <div class="headertitle">
<h1>geos::geom::util::ComponentCoordinateExtracter Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::geom::util::ComponentCoordinateExtracter" --><!-- doxytag: inherits="geos::geom::GeometryComponentFilter" -->
<p>Extracts a single representative <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> from each connected component of a <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ComponentCoordinateExtracter_8h_source.html">ComponentCoordinateExtracter.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::geom::util::ComponentCoordinateExtracter:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgeos_1_1geom_1_1util_1_1ComponentCoordinateExtracter.png" usemap="#geos::geom::util::ComponentCoordinateExtracter_map" alt=""/>
  <map id="geos::geom::util::ComponentCoordinateExtracter_map" name="geos::geom::util::ComponentCoordinateExtracter_map">
<area href="classgeos_1_1geom_1_1GeometryComponentFilter.html" alt="geos::geom::GeometryComponentFilter" shape="rect" coords="0,0,279,24"/>
</map>
</div>

<p><a href="classgeos_1_1geom_1_1util_1_1ComponentCoordinateExtracter-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1ComponentCoordinateExtracter.html#ac901ef6a33e1016d1bbe128f70ec8838">ComponentCoordinateExtracter</a> (std::vector&lt; const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> * &gt; &amp;newComps)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1ComponentCoordinateExtracter.html#a56aaab811309b663e9afffdebaec1aaa">filter_rw</a> (<a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *geom)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af4384cbcd521865b7b33cf5c3b7407d0"></a><!-- doxytag: member="geos::geom::util::ComponentCoordinateExtracter::filter_ro" ref="af4384cbcd521865b7b33cf5c3b7407d0" args="(const Geometry *geom)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>filter_ro</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">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 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1ComponentCoordinateExtracter.html#a9679f5b4df0e96002184d895fe13fa1a">getCoordinates</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> &amp;geom, std::vector&lt; const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> * &gt; &amp;ret)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Extracts a single representative <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> from each connected component of a <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>. </p>
<dl class="version"><dt><b>Version:</b></dt><dd>1.9 </dd></dl>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac901ef6a33e1016d1bbe128f70ec8838"></a><!-- doxytag: member="geos::geom::util::ComponentCoordinateExtracter::ComponentCoordinateExtracter" ref="ac901ef6a33e1016d1bbe128f70ec8838" args="(std::vector&lt; const Coordinate * &gt; &amp;newComps)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">geos::geom::util::ComponentCoordinateExtracter::ComponentCoordinateExtracter </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> * &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>newComps</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructs a ComponentCoordinateFilter with a list in which to store Coordinates found. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a56aaab811309b663e9afffdebaec1aaa"></a><!-- doxytag: member="geos::geom::util::ComponentCoordinateExtracter::filter_rw" ref="a56aaab811309b663e9afffdebaec1aaa" args="(Geometry *geom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::geom::util::ComponentCoordinateExtracter::filter_rw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Performs an operation with or on <code>geom</code>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>geom</em>&nbsp;</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 from <a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html#a7d097e27a5101d5335a25e1cd03a8296">geos::geom::GeometryComponentFilter</a>.</p>

<p>References <a class="el" href="namespacegeos_1_1geom.html#a98c5b0e81001a7c3fdc7a058960356d8a2858500525a9249ef95a24d33c04f2f6">geos::geom::GEOS_LINEARRING</a>, <a class="el" href="namespacegeos_1_1geom.html#a98c5b0e81001a7c3fdc7a058960356d8acac50eabb09b9a062bfeaef7f943f9e7">geos::geom::GEOS_LINESTRING</a>, <a class="el" href="classgeos_1_1geom_1_1Geometry.html#acefe992c172712a951a6055a1adf447a">geos::geom::Geometry::getCoordinate()</a>, and <a class="el" href="classgeos_1_1geom_1_1Geometry.html#a3680d76fcb2b2f8e2336ea3a2de5cbf8">geos::geom::Geometry::getGeometryTypeId()</a>.</p>

</div>
</div>
<a class="anchor" id="a9679f5b4df0e96002184d895fe13fa1a"></a><!-- doxytag: member="geos::geom::util::ComponentCoordinateExtracter::getCoordinates" ref="a9679f5b4df0e96002184d895fe13fa1a" args="(const Geometry &amp;geom, std::vector&lt; const Coordinate * &gt; &amp;ret)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void geos::geom::util::ComponentCoordinateExtracter::getCoordinates </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>geom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> * &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>ret</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Push the linear 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 ComponentCoordinateFilter instance and pass it to multiple geometries. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ComponentCoordinateExtracter_8h_source.html">ComponentCoordinateExtracter.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>