969 lines
48 KiB
HTML
969 lines
48 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::chain::MonotoneChain 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_1chain.html">chain</a></li><li class="navelem"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</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_1chain_1_1MonotoneChain-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::index::chain::MonotoneChain Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of intersections.
|
||
|
<a href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="index_2chain_2MonotoneChain_8h_source.html">MonotoneChain.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::index::chain::MonotoneChain:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1index_1_1chain_1_1MonotoneChain__coll__graph.svg" width="443" height="147"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
||
|
<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:a06e57136143683c778db5cb54916c034"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a06e57136143683c778db5cb54916c034">MonotoneChain</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> &<a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a4d629323d44bfe95b637fecf1f2e9af1">pts</a>, std::size_t <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a5ca2f4f60c589a454e7d2ce1076e980e">start</a>, std::size_t <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#aad34958a5bf5d468f0c8686131d905a7">end</a>, void *<a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a26807c3cf0a8f11beea8425504458cb2">context</a>)</td></tr>
|
||
|
<tr class="separator:a06e57136143683c778db5cb54916c034"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aaf8351265724810c500a57e8981e114a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#aaf8351265724810c500a57e8981e114a">~MonotoneChain</a> ()=default</td></tr>
|
||
|
<tr class="separator:aaf8351265724810c500a57e8981e114a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af5ed962c5524edc5639f3ccd54e82430"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#af5ed962c5524edc5639f3ccd54e82430">getEnvelope</a> ()</td></tr>
|
||
|
<tr class="memdesc:af5ed962c5524edc5639f3ccd54e82430"><td class="mdescLeft"> </td><td class="mdescRight">Returned envelope is owned by this class. <a href="#af5ed962c5524edc5639f3ccd54e82430">More...</a><br /></td></tr>
|
||
|
<tr class="separator:af5ed962c5524edc5639f3ccd54e82430"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af37e386ff5bedc39863526ab2e0906ac"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#af37e386ff5bedc39863526ab2e0906ac">getEnvelope</a> (double expansionDistance)</td></tr>
|
||
|
<tr class="separator:af37e386ff5bedc39863526ab2e0906ac"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8f9b66d5416b9c17274a1212262ae8b9"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a8f9b66d5416b9c17274a1212262ae8b9">getStartIndex</a> () const </td></tr>
|
||
|
<tr class="separator:a8f9b66d5416b9c17274a1212262ae8b9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad2f9c7ca87dfda7c55341ec920d0eecf"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ad2f9c7ca87dfda7c55341ec920d0eecf">getEndIndex</a> () const </td></tr>
|
||
|
<tr class="separator:ad2f9c7ca87dfda7c55341ec920d0eecf"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3f22b1c47f89d2a450e272da08ec6cb4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a3f22b1c47f89d2a450e272da08ec6cb4">getLineSegment</a> (std::size_t index, <a class="el" href="classgeos_1_1geom_1_1LineSegment.html">geom::LineSegment</a> &ls) const </td></tr>
|
||
|
<tr class="memdesc:a3f22b1c47f89d2a450e272da08ec6cb4"><td class="mdescLeft"> </td><td class="mdescRight">Set given LineSegment with points of the segment starting at the given index. <a href="#a3f22b1c47f89d2a450e272da08ec6cb4">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a3f22b1c47f89d2a450e272da08ec6cb4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a30f6ee56bc2e65fac75b618f29f6c1bc"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a30f6ee56bc2e65fac75b618f29f6c1bc">getCoordinates</a> () const </td></tr>
|
||
|
<tr class="separator:a30f6ee56bc2e65fac75b618f29f6c1bc"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad8826d97738a452d4aa5f4891b15e824"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ad8826d97738a452d4aa5f4891b15e824">select</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> &searchEnv, <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainSelectAction.html">MonotoneChainSelectAction</a> &mcs)</td></tr>
|
||
|
<tr class="separator:ad8826d97738a452d4aa5f4891b15e824"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad59d76855224a0ef343da7a8e2102eab"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ad59d76855224a0ef343da7a8e2102eab">computeOverlaps</a> (<a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> *mc, <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">MonotoneChainOverlapAction</a> *mco)</td></tr>
|
||
|
<tr class="separator:ad59d76855224a0ef343da7a8e2102eab"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7c15f9c86e3d64a010db85c208d5174c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a7c15f9c86e3d64a010db85c208d5174c">computeOverlaps</a> (<a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> *mc, double overlapTolerance, <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">MonotoneChainOverlapAction</a> *mco)</td></tr>
|
||
|
<tr class="separator:a7c15f9c86e3d64a010db85c208d5174c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a88677ce5251bd5922b8a4b46b1ee1136"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a88677ce5251bd5922b8a4b46b1ee1136">setId</a> (int nId)</td></tr>
|
||
|
<tr class="separator:a88677ce5251bd5922b8a4b46b1ee1136"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4d302f81cdf85882273f924e648da59c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a4d302f81cdf85882273f924e648da59c">getId</a> () const </td></tr>
|
||
|
<tr class="separator:a4d302f81cdf85882273f924e648da59c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af6b31fc51b9b3516235732e011f99652"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#af6b31fc51b9b3516235732e011f99652">getContext</a> ()</td></tr>
|
||
|
<tr class="separator:af6b31fc51b9b3516235732e011f99652"><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:ae1c8162d0a4d95cf4dd0b6c3cc0053b9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ae1c8162d0a4d95cf4dd0b6c3cc0053b9">computeSelect</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> &searchEnv, size_t start0, size_t end0, <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainSelectAction.html">MonotoneChainSelectAction</a> &mcs)</td></tr>
|
||
|
<tr class="separator:ae1c8162d0a4d95cf4dd0b6c3cc0053b9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a22d45670e419686f2292839029a3b86d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a22d45670e419686f2292839029a3b86d">computeOverlaps</a> (std::size_t start0, std::size_t end0, <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> &mc, std::size_t start1, std::size_t end1, double overlapTolerance, <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">MonotoneChainOverlapAction</a> &mco)</td></tr>
|
||
|
<tr class="separator:a22d45670e419686f2292839029a3b86d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7b7571901f32f2bab5965b5f5b72a9c1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a7b7571901f32f2bab5965b5f5b72a9c1">overlaps</a> (size_t start0, size_t end0, const <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> &mc, size_t start1, size_t end1, double overlapTolerance) const </td></tr>
|
||
|
<tr class="separator:a7b7571901f32f2bab5965b5f5b72a9c1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a181e38a88538af23ca337fc8720f8cab"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a181e38a88538af23ca337fc8720f8cab">overlaps</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p2, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &q1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &q2, double overlapTolerance) const </td></tr>
|
||
|
<tr class="separator:a181e38a88538af23ca337fc8720f8cab"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a0ae10d5f947341a86f650882bf223275"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a0ae10d5f947341a86f650882bf223275">MonotoneChain</a> (const <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> &other)=delete</td></tr>
|
||
|
<tr class="separator:a0ae10d5f947341a86f650882bf223275"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae2f9f2e4a9b25b55b4648a7c8387bfd2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ae2f9f2e4a9b25b55b4648a7c8387bfd2">operator=</a> (const <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> &rhs)=delete</td></tr>
|
||
|
<tr class="separator:ae2f9f2e4a9b25b55b4648a7c8387bfd2"><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:a4d629323d44bfe95b637fecf1f2e9af1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a4d629323d44bfe95b637fecf1f2e9af1">pts</a></td></tr>
|
||
|
<tr class="memdesc:a4d629323d44bfe95b637fecf1f2e9af1"><td class="mdescLeft"> </td><td class="mdescRight">Externally owned. <a href="#a4d629323d44bfe95b637fecf1f2e9af1">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a4d629323d44bfe95b637fecf1f2e9af1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a26807c3cf0a8f11beea8425504458cb2"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a26807c3cf0a8f11beea8425504458cb2">context</a></td></tr>
|
||
|
<tr class="memdesc:a26807c3cf0a8f11beea8425504458cb2"><td class="mdescLeft"> </td><td class="mdescRight">user-defined information <a href="#a26807c3cf0a8f11beea8425504458cb2">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a26807c3cf0a8f11beea8425504458cb2"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5ca2f4f60c589a454e7d2ce1076e980e"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a5ca2f4f60c589a454e7d2ce1076e980e">start</a></td></tr>
|
||
|
<tr class="memdesc:a5ca2f4f60c589a454e7d2ce1076e980e"><td class="mdescLeft"> </td><td class="mdescRight">Index of chain start vertex into the CoordinateSequence, 0 based. <a href="#a5ca2f4f60c589a454e7d2ce1076e980e">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a5ca2f4f60c589a454e7d2ce1076e980e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aad34958a5bf5d468f0c8686131d905a7"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#aad34958a5bf5d468f0c8686131d905a7">end</a></td></tr>
|
||
|
<tr class="memdesc:aad34958a5bf5d468f0c8686131d905a7"><td class="mdescLeft"> </td><td class="mdescRight">Index of chain end vertex into the CoordinateSequence, 0 based. <a href="#aad34958a5bf5d468f0c8686131d905a7">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aad34958a5bf5d468f0c8686131d905a7"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad0194bb1c05a7af7c361c8915d1862d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ad0194bb1c05a7af7c361c8915d1862d7">env</a></td></tr>
|
||
|
<tr class="memdesc:ad0194bb1c05a7af7c361c8915d1862d7"><td class="mdescLeft"> </td><td class="mdescRight">Owned by this class. <a href="#ad0194bb1c05a7af7c361c8915d1862d7">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ad0194bb1c05a7af7c361c8915d1862d7"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a25b77ce3692b439b2fe564def9425146"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#a25b77ce3692b439b2fe564def9425146">envIsSet</a></td></tr>
|
||
|
<tr class="separator:a25b77ce3692b439b2fe564def9425146"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac93933d39ce50c51dd2989871cdc50f2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html#ac93933d39ce50c51dd2989871cdc50f2">id</a></td></tr>
|
||
|
<tr class="memdesc:ac93933d39ce50c51dd2989871cdc50f2"><td class="mdescLeft"> </td><td class="mdescRight">useful for optimizing chain comparisons <a href="#ac93933d39ce50c51dd2989871cdc50f2">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ac93933d39ce50c51dd2989871cdc50f2"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of intersections. </p>
|
||
|
<p>They have the following properties:</p>
|
||
|
<ul>
|
||
|
<li>the segments within a monotone chain never intersect each other</li>
|
||
|
<li>the envelope of any contiguous subset of the segments in a monotone chain is equal to the envelope of the endpoints of the subset.</li>
|
||
|
</ul>
|
||
|
<p>Property 1 means that there is no need to test pairs of segments from within the same monotone chain for intersection. Property 2 allows an efficient binary search to be used to find the intersection points of two monotone chains.</p>
|
||
|
<p>For many types of real-world data, these properties eliminate a large number of segment comparisons, producing substantial speed gains.</p>
|
||
|
<p>One of the goals of this implementation of MonotoneChains is to be as space and time efficient as possible. One design choice that aids this is that a <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html" title="Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...">MonotoneChain</a> is based on a subarray of a list of points. This means that new arrays of points (potentially very large) do not have to be allocated.</p>
|
||
|
<p>MonotoneChains support the following kinds of queries:</p>
|
||
|
<ul>
|
||
|
<li>Envelope select: determine all the segments in the chain which intersect a given envelope</li>
|
||
|
<li>Overlap: determine all the pairs of segments in two chains whose envelopes overlap</li>
|
||
|
</ul>
|
||
|
<p>This implementation of MonotoneChains uses the concept of internal iterators to return the resultsets for the above queries. This has time and space advantages, since it is not necessary to build lists of instantiated objects to represent the segments returned by the query. However, it does mean that the queries are not thread-safe. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00084">84</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="a06e57136143683c778db5cb54916c034"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::index::chain::MonotoneChain::MonotoneChain </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> & </td>
|
||
|
<td class="paramname"><em>pts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></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">void * </td>
|
||
|
<td class="paramname"><em>context</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">pts</td><td>Ownership left to caller, this class holds a reference.</td></tr>
|
||
|
<tr><td class="paramname">start</td><td></td></tr>
|
||
|
<tr><td class="paramname">end</td><td></td></tr>
|
||
|
<tr><td class="paramname">context</td><td>Ownership left to caller, this class holds a reference. </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aaf8351265724810c500a57e8981e114a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::index::chain::MonotoneChain::~MonotoneChain </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">default</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a0ae10d5f947341a86f650882bf223275"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::index::chain::MonotoneChain::MonotoneChain </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> & </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="ad59d76855224a0ef343da7a8e2102eab"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::index::chain::MonotoneChain::computeOverlaps </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> * </td>
|
||
|
<td class="paramname"><em>mc</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">MonotoneChainOverlapAction</a> * </td>
|
||
|
<td class="paramname"><em>mco</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7c15f9c86e3d64a010db85c208d5174c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::index::chain::MonotoneChain::computeOverlaps </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> * </td>
|
||
|
<td class="paramname"><em>mc</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>overlapTolerance</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">MonotoneChainOverlapAction</a> * </td>
|
||
|
<td class="paramname"><em>mco</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a22d45670e419686f2292839029a3b86d"></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::chain::MonotoneChain::computeOverlaps </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::size_t </td>
|
||
|
<td class="paramname"><em>start0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">std::size_t </td>
|
||
|
<td class="paramname"><em>end0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> & </td>
|
||
|
<td class="paramname"><em>mc</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">std::size_t </td>
|
||
|
<td class="paramname"><em>start1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">std::size_t </td>
|
||
|
<td class="paramname"><em>end1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>overlapTolerance</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainOverlapAction.html">MonotoneChainOverlapAction</a> & </td>
|
||
|
<td class="paramname"><em>mco</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>
|
||
|
<a class="anchor" id="ae1c8162d0a4d95cf4dd0b6c3cc0053b9"></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::chain::MonotoneChain::computeSelect </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> & </td>
|
||
|
<td class="paramname"><em>searchEnv</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>start0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>end0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainSelectAction.html">MonotoneChainSelectAction</a> & </td>
|
||
|
<td class="paramname"><em>mcs</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>
|
||
|
<a class="anchor" id="af6b31fc51b9b3516235732e011f99652"></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::chain::MonotoneChain::getContext </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00157">157</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a30f6ee56bc2e65fac75b618f29f6c1bc"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>> geos::index::chain::MonotoneChain::getCoordinates </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Return the subsequence of coordinates forming this chain. Allocates a new CoordinateSequence to hold the Coordinates </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad2f9c7ca87dfda7c55341ec920d0eecf"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">size_t geos::index::chain::MonotoneChain::getEndIndex </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00113">113</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="af5ed962c5524edc5639f3ccd54e82430"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a>& geos::index::chain::MonotoneChain::getEnvelope </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returned envelope is owned by this class. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="af37e386ff5bedc39863526ab2e0906ac"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a>& geos::index::chain::MonotoneChain::getEnvelope </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>expansionDistance</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4d302f81cdf85882273f924e648da59c"></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::chain::MonotoneChain::getId </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00151">151</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3f22b1c47f89d2a450e272da08ec6cb4"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::index::chain::MonotoneChain::getLineSegment </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::size_t </td>
|
||
|
<td class="paramname"><em>index</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1LineSegment.html">geom::LineSegment</a> & </td>
|
||
|
<td class="paramname"><em>ls</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Set given LineSegment with points of the segment starting at the given index. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8f9b66d5416b9c17274a1212262ae8b9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">size_t geos::index::chain::MonotoneChain::getStartIndex </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00107">107</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae2f9f2e4a9b25b55b4648a7c8387bfd2"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>& geos::index::chain::MonotoneChain::operator= </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> & </td>
|
||
|
<td class="paramname"><em>rhs</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7b7571901f32f2bab5965b5f5b72a9c1"></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::chain::MonotoneChain::overlaps </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>start0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>end0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> & </td>
|
||
|
<td class="paramname"><em>mc</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>start1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>end1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>overlapTolerance</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td> const</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>
|
||
|
<a class="anchor" id="a181e38a88538af23ca337fc8720f8cab"></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::chain::MonotoneChain::overlaps </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p2</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>q1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>q2</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>overlapTolerance</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td> const</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>
|
||
|
<a class="anchor" id="ad8826d97738a452d4aa5f4891b15e824"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::index::chain::MonotoneChain::select </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> & </td>
|
||
|
<td class="paramname"><em>searchEnv</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainSelectAction.html">MonotoneChainSelectAction</a> & </td>
|
||
|
<td class="paramname"><em>mcs</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Determine all the line segments in the chain whose envelopes overlap the searchEnvelope, and process them </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a88677ce5251bd5922b8a4b46b1ee1136"></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::chain::MonotoneChain::setId </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>nId</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00145">145</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a26807c3cf0a8f11beea8425504458cb2"></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::chain::MonotoneChain::context</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>user-defined information </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00186">186</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aad34958a5bf5d468f0c8686131d905a7"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">size_t geos::index::chain::MonotoneChain::end</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>Index of chain end vertex into the CoordinateSequence, 0 based. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00192">192</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad0194bb1c05a7af7c361c8915d1862d7"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> geos::index::chain::MonotoneChain::env</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>Owned by this class. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00195">195</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a25b77ce3692b439b2fe564def9425146"></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::chain::MonotoneChain::envIsSet</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="index_2chain_2MonotoneChain_8h_source.html#l00196">196</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ac93933d39ce50c51dd2989871cdc50f2"></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::chain::MonotoneChain::id</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>useful for optimizing chain comparisons </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00199">199</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4d629323d44bfe95b637fecf1f2e9af1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>& geos::index::chain::MonotoneChain::pts</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>Externally owned. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00183">183</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5ca2f4f60c589a454e7d2ce1076e980e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">size_t geos::index::chain::MonotoneChain::start</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>Index of chain start vertex into the CoordinateSequence, 0 based. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="index_2chain_2MonotoneChain_8h_source.html#l00189">189</a> of file <a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="index_2chain_2MonotoneChain_8h_source.html">index/chain/MonotoneChain.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>
|