Sophie

Sophie

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

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::SimpleMCSweepLineIntersector 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_1SimpleMCSweepLineIntersector.html">geos::geomgraph::index::SimpleMCSweepLineIntersector</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<h1>geos::geomgraph::index::SimpleMCSweepLineIntersector Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::geomgraph::index::SimpleMCSweepLineIntersector" --><!-- doxytag: inherits="geos::geomgraph::index::EdgeSetIntersector" -->
<p>Finds all intersections in one or two sets of edges, using an x-axis sweepline algorithm in conjunction with Monotone Chains.  
<a href="#_details">More...</a></p>

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

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

<p><a href="classgeos_1_1geomgraph_1_1index_1_1SimpleMCSweepLineIntersector-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="a0f112d9780801bddb149e0eaec3d7353"></a><!-- doxytag: member="geos::geomgraph::index::SimpleMCSweepLineIntersector::computeIntersections" ref="a0f112d9780801bddb149e0eaec3d7353" 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="a080c294c591db06f667d6c5bb19673d1"></a><!-- doxytag: member="geos::geomgraph::index::SimpleMCSweepLineIntersector::computeIntersections" ref="a080c294c591db06f667d6c5bb19673d1" 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>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aacc2ab73e40020ce57af0e29ed38935c"></a><!-- doxytag: member="geos::geomgraph::index::SimpleMCSweepLineIntersector::events" ref="aacc2ab73e40020ce57af0e29ed38935c" args="" -->
std::vector&lt; SweepLineEvent * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>events</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a924d0196ab1abb6599677d85cb6c2b90"></a><!-- doxytag: member="geos::geomgraph::index::SimpleMCSweepLineIntersector::nOverlaps" ref="a924d0196ab1abb6599677d85cb6c2b90" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>nOverlaps</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Finds all intersections in one or two sets of edges, using an x-axis sweepline algorithm in conjunction with Monotone Chains. </p>
<p>While still O(n^2) in the worst case, this algorithm drastically improves the average-case time. The use of MonotoneChains as the items in the index seems to offer an improvement in performance over a sweep-line alone. </p>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SimpleMCSweepLineIntersector_8h_source.html">SimpleMCSweepLineIntersector.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>