Sophie

Sophie

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

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::geomgraph::index::SimpleSweepLineIntersector 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_1geomgraph.html">geomgraph</a>      </li>
      <li><b>index</b>      </li>
      <li><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SimpleSweepLineIntersector.html">geos::geomgraph::index::SimpleSweepLineIntersector</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::geomgraph::index::SimpleSweepLineIntersector Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::geomgraph::index::SimpleSweepLineIntersector" --><!-- doxytag: inherits="geos::geomgraph::index::EdgeSetIntersector" -->
<p>Finds all intersections in one or two sets of edges, using a simple x-axis sweepline algorithm.  
<a href="#_details">More...</a></p>

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

<p>Inherits geos::geomgraph::index::EdgeSetIntersector.</p>

<p><a href="classgeos_1_1geomgraph_1_1index_1_1SimpleSweepLineIntersector-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="aa1aebed3a3cc0f2f19fe1341770c61b9"></a><!-- doxytag: member="geos::geomgraph::index::SimpleSweepLineIntersector::computeIntersections" ref="aa1aebed3a3cc0f2f19fe1341770c61b9" args="(std::vector&lt; Edge * &gt; *edges, SegmentIntersector *si, bool testAllSegments)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>computeIntersections</b> (std::vector&lt; Edge * &gt; *edges, SegmentIntersector *si, bool testAllSegments)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6f81beb9cb131cb3c2b00b9e2ec065d"></a><!-- doxytag: member="geos::geomgraph::index::SimpleSweepLineIntersector::computeIntersections" ref="af6f81beb9cb131cb3c2b00b9e2ec065d" args="(std::vector&lt; Edge * &gt; *edges0, std::vector&lt; Edge * &gt; *edges1, SegmentIntersector *si)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>computeIntersections</b> (std::vector&lt; Edge * &gt; *edges0, std::vector&lt; Edge * &gt; *edges1, SegmentIntersector *si)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Finds all intersections in one or two sets of edges, using a simple x-axis sweepline algorithm. </p>
<p>While still O(n^2) in the worst case, this algorithm drastically improves the average-case time. </p>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SimpleSweepLineIntersector_8h_source.html">SimpleSweepLineIntersector.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>