Sophie

Sophie

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

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::operation::linemerge::LineMerger 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_1operation.html">operation</a>      </li>
      <li><a class="el" href="namespacegeos_1_1operation_1_1linemerge.html">linemerge</a>      </li>
      <li><a class="el" href="classgeos_1_1operation_1_1linemerge_1_1LineMerger.html">geos::operation::linemerge::LineMerger</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>geos::operation::linemerge::LineMerger Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::operation::linemerge::LineMerger" -->
<p>Sews together a set of fully noded LineStrings.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="LineMerger_8h_source.html">LineMerger.h</a>&gt;</code></p>

<p><a href="classgeos_1_1operation_1_1linemerge_1_1LineMerger-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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1linemerge_1_1LineMerger.html#a133367982309eedd7db5189decebce82">add</a> (std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * &gt; *geometries)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a collection of Geometries to be processed. May be called multiple times.  <a href="#a133367982309eedd7db5189decebce82"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1linemerge_1_1LineMerger.html#aee0b2093559603c50e2870499b2518c1">add</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geometry)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a Geometry to be processed. May be called multiple times.  <a href="#aee0b2093559603c50e2870499b2518c1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb7ebccffa1bb8beb67e1157f05663aa"></a><!-- doxytag: member="geos::operation::linemerge::LineMerger::getMergedLineStrings" ref="afb7ebccffa1bb8beb67e1157f05663aa" args="()" -->
std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> * &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1linemerge_1_1LineMerger.html#afb7ebccffa1bb8beb67e1157f05663aa">getMergedLineStrings</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the LineStrings built by the merging process. Ownership of vector _and_ its elements to caller. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91f6969326f2e584de43251c04e76d5f"></a><!-- doxytag: member="geos::operation::linemerge::LineMerger::add" ref="a91f6969326f2e584de43251c04e76d5f" args="(const geom::LineString *lineString)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>add</b> (const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> *lineString)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Sews together a set of fully noded LineStrings. </p>
<p>Sewing stops at nodes of degree 1 or 3 or more. The exception is an isolated loop, which only has degree-2 nodes, in which case a node is simply chosen as a starting point. The direction of each merged LineString will be that of the majority of the LineStrings from which it was derived.</p>
<p>Any dimension of Geometry is handled. The constituent linework is extracted to form the edges. The edges must be correctly noded; that is, they must only meet at their endpoints.</p>
<p>The <a class="el" href="classgeos_1_1operation_1_1linemerge_1_1LineMerger.html" title="Sews together a set of fully noded LineStrings.">LineMerger</a> will still run on incorrectly noded input but will not form polygons from incorrected noded edges. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a133367982309eedd7db5189decebce82"></a><!-- doxytag: member="geos::operation::linemerge::LineMerger::add" ref="a133367982309eedd7db5189decebce82" args="(std::vector&lt; geom::Geometry * &gt; *geometries)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::operation::linemerge::LineMerger::add </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * &gt; *&nbsp;</td>
          <td class="paramname"> <em>geometries</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a collection of Geometries to be processed. May be called multiple times. </p>
<p>Any dimension of Geometry may be added; the constituent linework will be extracted. </p>

</div>
</div>
<a class="anchor" id="aee0b2093559603c50e2870499b2518c1"></a><!-- doxytag: member="geos::operation::linemerge::LineMerger::add" ref="aee0b2093559603c50e2870499b2518c1" args="(const geom::Geometry *geometry)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::operation::linemerge::LineMerger::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td>
          <td class="paramname"> <em>geometry</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a Geometry to be processed. May be called multiple times. </p>
<p>Any dimension of Geometry may be added; the constituent linework will be extracted. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="LineMerger_8h_source.html">LineMerger.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>