Sophie

Sophie

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

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::SegmentIntersector 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_1SegmentIntersector.html">geos::noding::SegmentIntersector</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::SegmentIntersector Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::noding::SegmentIntersector" -->
<p>Processes possible intersections detected by a <a class="el" href="classgeos_1_1noding_1_1Noder.html" title="Computes all intersections between segments in a set of SegmentString.">Noder</a>.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="noding_2SegmentIntersector_8h_source.html">SegmentIntersector.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::noding::SegmentIntersector:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgeos_1_1noding_1_1SegmentIntersector.png" usemap="#geos::noding::SegmentIntersector_map" alt=""/>
  <map id="geos::noding::SegmentIntersector_map" name="geos::noding::SegmentIntersector_map">
<area href="classgeos_1_1noding_1_1IntersectionAdder.html" alt="geos::noding::IntersectionAdder" shape="rect" coords="0,56,266,80"/>
<area href="classgeos_1_1noding_1_1IntersectionFinderAdder.html" alt="geos::noding::IntersectionFinderAdder" shape="rect" coords="276,56,542,80"/>
<area href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html" alt="geos::noding::SegmentIntersectionDetector" shape="rect" coords="552,56,818,80"/>
<area href="classgeos_1_1noding_1_1SingleInteriorIntersectionFinder.html" alt="geos::noding::SingleInteriorIntersectionFinder" shape="rect" coords="828,56,1094,80"/>
</map>
</div>

<p><a href="classgeos_1_1noding_1_1SegmentIntersector-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">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#a23998a6202706d84baf9aac78f9d2ee5">processIntersections</a> (<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *e0, int segIndex0, <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *e1, int segIndex1)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#a2402e2ce3a39edad9f5d283be73b5d1d">isDone</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reports whether the client of this class needs to continue testing all intersections in an arrangement.  <a href="#a2402e2ce3a39edad9f5d283be73b5d1d"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Processes possible intersections detected by a <a class="el" href="classgeos_1_1noding_1_1Noder.html" title="Computes all intersections between segments in a set of SegmentString.">Noder</a>. </p>
<p>The <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html" title="Processes possible intersections detected by a Noder.">SegmentIntersector</a> is passed to a <a class="el" href="classgeos_1_1noding_1_1Noder.html" title="Computes all intersections between segments in a set of SegmentString.">Noder</a>. The addIntersections method is called whenever the <a class="el" href="classgeos_1_1noding_1_1Noder.html" title="Computes all intersections between segments in a set of SegmentString.">Noder</a> detects that two SegmentStrings <em>might</em> intersect. This class may be used either to find all intersections, or to detect the presence of an intersection. In the latter case, Noders may choose to short-circuit their computation by calling the isDone method. This class is an example of the <em>Strategy</em> pattern.</p>
<dl class="version"><dt><b>Version:</b></dt><dd>1.7 </dd></dl>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2402e2ce3a39edad9f5d283be73b5d1d"></a><!-- doxytag: member="geos::noding::SegmentIntersector::isDone" ref="a2402e2ce3a39edad9f5d283be73b5d1d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool geos::noding::SegmentIntersector::isDone </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>Reports whether the client of this class needs to continue testing all intersections in an arrangement. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if there is not need to continue testing segments</dd></dl>
<p>The default implementation always return false (process all intersections). </p>

<p>Reimplemented in <a class="el" href="classgeos_1_1noding_1_1IntersectionAdder.html#aa904563a2e9b0784cdd5b484d4704ac7">geos::noding::IntersectionAdder</a>, <a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#af71113122281b3c96ce7c137879e09f4">geos::noding::IntersectionFinderAdder</a>, <a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a7696b62e218cd0c5dd221d8737f275e9">geos::noding::SegmentIntersectionDetector</a>, and <a class="el" href="classgeos_1_1noding_1_1SingleInteriorIntersectionFinder.html#a8932c1f2b238c29a2cc1865fe9c56d4f">geos::noding::SingleInteriorIntersectionFinder</a>.</p>

</div>
</div>
<a class="anchor" id="a23998a6202706d84baf9aac78f9d2ee5"></a><!-- doxytag: member="geos::noding::SegmentIntersector::processIntersections" ref="a23998a6202706d84baf9aac78f9d2ee5" args="(SegmentString *e0, int segIndex0, SegmentString *e1, int segIndex1)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void geos::noding::SegmentIntersector::processIntersections </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *&nbsp;</td>
          <td class="paramname"> <em>e0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>segIndex0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *&nbsp;</td>
          <td class="paramname"> <em>e1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>segIndex1</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method is called by clients of the <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html" title="Processes possible intersections detected by a Noder.">SegmentIntersector</a> interface to process intersections for two segments of the SegmentStrings being intersected. </p>

<p>Implemented in <a class="el" href="classgeos_1_1noding_1_1IntersectionAdder.html#a6bb3124a2ec395b39762eedcd5758de7">geos::noding::IntersectionAdder</a>, <a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#ac4a6c8d06f7e37265c86f66a622bfbf8">geos::noding::IntersectionFinderAdder</a>, <a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a7c88328bf88e1939f739a9c724c7dd46">geos::noding::SegmentIntersectionDetector</a>, and <a class="el" href="classgeos_1_1noding_1_1SingleInteriorIntersectionFinder.html#af819e151c6180d923696c1924d3dbcfa">geos::noding::SingleInteriorIntersectionFinder</a>.</p>

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