Sophie

Sophie

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

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::FastNodingValidator 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_1FastNodingValidator.html">geos::noding::FastNodingValidator</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::FastNodingValidator Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::noding::FastNodingValidator" -->
<p>Validates that a collection of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s is correctly noded.  
<a href="#_details">More...</a></p>

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

<p><a href="classgeos_1_1noding_1_1FastNodingValidator-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="a8c81ddd9ca5a89e4c2652422559b5e3a"></a><!-- doxytag: member="geos::noding::FastNodingValidator::FastNodingValidator" ref="a8c81ddd9ca5a89e4c2652422559b5e3a" args="(std::vector&lt; noding::SegmentString * &gt; &amp;newSegStrings)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>FastNodingValidator</b> (std::vector&lt; <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">noding::SegmentString</a> * &gt; &amp;newSegStrings)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastNodingValidator.html#aad541ae8ff8cf433d24e3ec4b22fa5cd">isValid</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastNodingValidator.html#af39a7aecf9f86bf506c1706d425317b3">getErrorMessage</a> () const </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_1FastNodingValidator.html#a214f1ee69eba7f22ea1125c678cd08aa">checkValid</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Validates that a collection of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s is correctly noded. </p>
<p>Uses indexes to improve performance. Does NOT check a-b-a collapse situations. Also does not check for endpt-interior vertex intersections. This should not be a problem, since the noders should be able to compute intersections between vertices correctly. User may either test the valid condition, or request that a <a class="el" href="">TopologyException</a> be thrown.</p>
<dl class="version"><dt><b>Version:</b></dt><dd>1.7 </dd></dl>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a214f1ee69eba7f22ea1125c678cd08aa"></a><!-- doxytag: member="geos::noding::FastNodingValidator::checkValid" ref="a214f1ee69eba7f22ea1125c678cd08aa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::noding::FastNodingValidator::checkValid </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks for an intersection and throws a TopologyException if one is found.</p>
<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 an intersection is found </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af39a7aecf9f86bf506c1706d425317b3"></a><!-- doxytag: member="geos::noding::FastNodingValidator::getErrorMessage" ref="af39a7aecf9f86bf506c1706d425317b3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string geos::noding::FastNodingValidator::getErrorMessage </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns an error message indicating the segments containing the intersection.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>an error message documenting the intersection location </dd></dl>

</div>
</div>
<a class="anchor" id="aad541ae8ff8cf433d24e3ec4b22fa5cd"></a><!-- doxytag: member="geos::noding::FastNodingValidator::isValid" ref="aad541ae8ff8cf433d24e3ec4b22fa5cd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool geos::noding::FastNodingValidator::isValid </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks for an intersection and reports if one is found.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the arrangement contains an interior intersection </dd></dl>

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