312 lines
15 KiB
HTML
312 lines
15 KiB
HTML
|
<!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"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
||
|
<title>GEOS: geos::index::sweepline::SweepLineIndex Class Reference</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="jquery.js"></script>
|
||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td id="projectalign" style="padding-left: 0.5em;">
|
||
|
<div id="projectname">GEOS
|
||
|
 <span id="projectnumber">3.9.1dev</span>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.11 -->
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="pages.html"><span>Related 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 id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="namespacegeos.html">geos</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1index.html">index</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1index_1_1sweepline.html">sweepline</a></li><li class="navelem"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html">SweepLineIndex</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pri-methods">Private Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::index::sweepline::SweepLineIndex Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>A sweepline implements a sorted index on a set of intervals.
|
||
|
<a href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="SweepLineIndex_8h_source.html">SweepLineIndex.h</a>></code></p>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||
|
Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:abaea0b5c4275f8f41c5cc4876d865ac9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html#abaea0b5c4275f8f41c5cc4876d865ac9">SweepLineIndex</a> ()</td></tr>
|
||
|
<tr class="separator:abaea0b5c4275f8f41c5cc4876d865ac9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a0067932f5c6c5b75df564af7090bb1ff"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html#a0067932f5c6c5b75df564af7090bb1ff">~SweepLineIndex</a> ()</td></tr>
|
||
|
<tr class="separator:a0067932f5c6c5b75df564af7090bb1ff"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6c28ed0dbc396a091d973680215908bb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html#a6c28ed0dbc396a091d973680215908bb">add</a> (<a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineInterval.html">SweepLineInterval</a> *sweepInt)</td></tr>
|
||
|
<tr class="separator:a6c28ed0dbc396a091d973680215908bb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa7101d72afbf722694550a00030099e5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html#aa7101d72afbf722694550a00030099e5">computeOverlaps</a> (<a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineOverlapAction.html">SweepLineOverlapAction</a> *action)</td></tr>
|
||
|
<tr class="separator:aa7101d72afbf722694550a00030099e5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
|
||
|
Private Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a37ec128f1e1e67c531f9334632a6f1f9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html#a37ec128f1e1e67c531f9334632a6f1f9">buildIndex</a> ()</td></tr>
|
||
|
<tr class="separator:a37ec128f1e1e67c531f9334632a6f1f9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:affd3527fabd890051183434b578904ee"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html#affd3527fabd890051183434b578904ee">processOverlaps</a> (std::size_t start, std::size_t end, <a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineInterval.html">SweepLineInterval</a> *s0, <a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineOverlapAction.html">SweepLineOverlapAction</a> *action)</td></tr>
|
||
|
<tr class="separator:affd3527fabd890051183434b578904ee"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
||
|
Private Attributes</h2></td></tr>
|
||
|
<tr class="memitem:a16f843265330c12b31660e694b1acede"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineEvent.html">SweepLineEvent</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html#a16f843265330c12b31660e694b1acede">events</a></td></tr>
|
||
|
<tr class="separator:a16f843265330c12b31660e694b1acede"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a10a52d165fcd048881351d3bef7da7c9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html#a10a52d165fcd048881351d3bef7da7c9">indexBuilt</a></td></tr>
|
||
|
<tr class="separator:a10a52d165fcd048881351d3bef7da7c9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa9a358036534f78dcfebd0a4edebb743"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineIndex.html#aa9a358036534f78dcfebd0a4edebb743">nOverlaps</a></td></tr>
|
||
|
<tr class="separator:aa9a358036534f78dcfebd0a4edebb743"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>A sweepline implements a sorted index on a set of intervals. </p>
|
||
|
<p>It is used to compute all overlaps between the interval in the index. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SweepLineIndex_8h_source.html#l00047">47</a> of file <a class="el" href="SweepLineIndex_8h_source.html">SweepLineIndex.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="abaea0b5c4275f8f41c5cc4876d865ac9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::index::sweepline::SweepLineIndex::SweepLineIndex </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a0067932f5c6c5b75df564af7090bb1ff"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::index::sweepline::SweepLineIndex::~SweepLineIndex </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="a6c28ed0dbc396a091d973680215908bb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::index::sweepline::SweepLineIndex::add </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineInterval.html">SweepLineInterval</a> * </td>
|
||
|
<td class="paramname"><em>sweepInt</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a37ec128f1e1e67c531f9334632a6f1f9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::index::sweepline::SweepLineIndex::buildIndex </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Because Delete Events have a link to their corresponding Insert event, it is possible to compute exactly the range of events which must be compared to a given Insert event object. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aa7101d72afbf722694550a00030099e5"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::index::sweepline::SweepLineIndex::computeOverlaps </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineOverlapAction.html">SweepLineOverlapAction</a> * </td>
|
||
|
<td class="paramname"><em>action</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="affd3527fabd890051183434b578904ee"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::index::sweepline::SweepLineIndex::processOverlaps </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::size_t </td>
|
||
|
<td class="paramname"><em>start</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">std::size_t </td>
|
||
|
<td class="paramname"><em>end</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineInterval.html">SweepLineInterval</a> * </td>
|
||
|
<td class="paramname"><em>s0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineOverlapAction.html">SweepLineOverlapAction</a> * </td>
|
||
|
<td class="paramname"><em>action</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a16f843265330c12b31660e694b1acede"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<<a class="el" href="classgeos_1_1index_1_1sweepline_1_1SweepLineEvent.html">SweepLineEvent</a>*> geos::index::sweepline::SweepLineIndex::events</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SweepLineIndex_8h_source.html#l00062">62</a> of file <a class="el" href="SweepLineIndex_8h_source.html">SweepLineIndex.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a10a52d165fcd048881351d3bef7da7c9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::index::sweepline::SweepLineIndex::indexBuilt</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SweepLineIndex_8h_source.html#l00064">64</a> of file <a class="el" href="SweepLineIndex_8h_source.html">SweepLineIndex.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aa9a358036534f78dcfebd0a4edebb743"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int geos::index::sweepline::SweepLineIndex::nOverlaps</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SweepLineIndex_8h_source.html#l00067">67</a> of file <a class="el" href="SweepLineIndex_8h_source.html">SweepLineIndex.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="SweepLineIndex_8h_source.html">SweepLineIndex.h</a></li>
|
||
|
</ul>
|
||
|
</div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
|
</a> 1.8.11
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|