Sophie

Sophie

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

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::noding::IteratedNoder 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_1noding.html">noding</a>      </li>
      <li><a class="el" href="classgeos_1_1noding_1_1IteratedNoder.html">geos::noding::IteratedNoder</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::noding::IteratedNoder Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::noding::IteratedNoder" --><!-- doxytag: inherits="geos::noding::Noder" -->
<p><code>#include &lt;<a class="el" href="IteratedNoder_8h_source.html">IteratedNoder.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::noding::IteratedNoder:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgeos_1_1noding_1_1IteratedNoder.png" usemap="#geos::noding::IteratedNoder_map" alt=""/>
  <map id="geos::noding::IteratedNoder_map" name="geos::noding::IteratedNoder_map">
<area href="classgeos_1_1noding_1_1Noder.html" alt="geos::noding::Noder" shape="rect" coords="0,0,166,24"/>
</map>
</div>

<p><a href="classgeos_1_1noding_1_1IteratedNoder-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="a524b346ee06e4c6ab8034f3dacfcba40"></a><!-- doxytag: member="geos::noding::IteratedNoder::IteratedNoder" ref="a524b346ee06e4c6ab8034f3dacfcba40" args="(const geom::PrecisionModel *newPm)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>IteratedNoder</b> (const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> *newPm)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IteratedNoder.html#a4e667d1b92701dd1b60ca7ec3ba2b1b0">setMaximumIterations</a> (int n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IteratedNoder.html#a14f8d4ac6d7e8059d9b5e92c5158d354">getNodedSubstrings</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a <a class="el" href="">Collection</a> of fully noded <a class="el" href="">SegmentStrings</a>. The SegmentStrings have the same context as their parent.  <a href="#a14f8d4ac6d7e8059d9b5e92c5158d354"></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_1noding_1_1IteratedNoder.html#aec453e0935ccd8971cd3030e03229714">computeNodes</a> (std::vector&lt; <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * &gt; *inputSegmentStrings)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Nodes a set of SegmentStrings completely. The set of segmentStrings is fully noded; i.e. noding is repeated until no further intersections are detected. </p>
<p>Iterated noding using a FLOATING precision model is not guaranteed to converge, due to roundoff error. This problem is detected and an exception is thrown. Clients can choose to rerun the noding using a lower precision model. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aec453e0935ccd8971cd3030e03229714"></a><!-- doxytag: member="geos::noding::IteratedNoder::computeNodes" ref="aec453e0935ccd8971cd3030e03229714" args="(std::vector&lt; SegmentString * &gt; *inputSegmentStrings)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::noding::IteratedNoder::computeNodes </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * &gt; *&nbsp;</td>
          <td class="paramname"> <em>inputSegmentStrings</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fully nodes a list of <a class="el" href="">SegmentStrings</a>, i.e. peforms noding iteratively until no intersections are found between segments. Maintains labelling of edges correctly through the noding.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>segStrings</em>&nbsp;</td><td>a collection of SegmentStrings to be noded </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>TopologyException</em>&nbsp;</td><td>if the iterated noding fails to converge. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classgeos_1_1noding_1_1Noder.html#a42da20658cf8a969a1cbb15fd2de725d">geos::noding::Noder</a>.</p>

</div>
</div>
<a class="anchor" id="a14f8d4ac6d7e8059d9b5e92c5158d354"></a><!-- doxytag: member="geos::noding::IteratedNoder::getNodedSubstrings" ref="a14f8d4ac6d7e8059d9b5e92c5158d354" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>*&gt;* geos::noding::IteratedNoder::getNodedSubstrings </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a <a class="el" href="">Collection</a> of fully noded <a class="el" href="">SegmentStrings</a>. The SegmentStrings have the same context as their parent. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a newly allocated std::vector of const SegmentStrings. Caller is responsible to delete it </dd></dl>

<p>Implements <a class="el" href="classgeos_1_1noding_1_1Noder.html#a47dfe5a95741c2c9809d94f8ba39fa89">geos::noding::Noder</a>.</p>

</div>
</div>
<a class="anchor" id="a4e667d1b92701dd1b60ca7ec3ba2b1b0"></a><!-- doxytag: member="geos::noding::IteratedNoder::setMaximumIterations" ref="a4e667d1b92701dd1b60ca7ec3ba2b1b0" args="(int n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::noding::IteratedNoder::setMaximumIterations </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>n</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the maximum number of noding iterations performed before the noding is aborted. Experience suggests that this should rarely need to be changed from the default. The default is MAX_ITER.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>the maximum number of iterations to perform </td></tr>
  </table>
  </dd>
</dl>

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