geos_390_docs/classgeos_1_1noding_1_1Fast...

259 lines
14 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::noding::FastSegmentSetIntersectionFinder 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
&#160;<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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;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_1noding.html">noding</a></li><li class="navelem"><a class="el" href="classgeos_1_1noding_1_1FastSegmentSetIntersectionFinder.html">FastSegmentSetIntersectionFinder</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classgeos_1_1noding_1_1FastSegmentSetIntersectionFinder-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::noding::FastSegmentSetIntersectionFinder Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Finds if two sets of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentStrings</a> intersect.
<a href="classgeos_1_1noding_1_1FastSegmentSetIntersectionFinder.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="FastSegmentSetIntersectionFinder_8h_source.html">FastSegmentSetIntersectionFinder.h</a>&gt;</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:a55deffcba376a4940cf7ba71c36264bb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastSegmentSetIntersectionFinder.html#a55deffcba376a4940cf7ba71c36264bb">FastSegmentSetIntersectionFinder</a> (<a class="el" href="classgeos_1_1noding_1_1SegmentString.html#aa1d906d224117f3d08ecf66664e1b81a">SegmentString::ConstVect</a> *baseSegStrings)</td></tr>
<tr class="separator:a55deffcba376a4940cf7ba71c36264bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1de82eb8ba041eef4ba614b25f580fe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastSegmentSetIntersectionFinder.html#ae1de82eb8ba041eef4ba614b25f580fe">~FastSegmentSetIntersectionFinder</a> ()=default</td></tr>
<tr class="separator:ae1de82eb8ba041eef4ba614b25f580fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43089fc045425dae93030c35b60f8ea3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1noding_1_1SegmentSetMutualIntersector.html">SegmentSetMutualIntersector</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastSegmentSetIntersectionFinder.html#a43089fc045425dae93030c35b60f8ea3">getSegmentSetIntersector</a> () const </td></tr>
<tr class="separator:a43089fc045425dae93030c35b60f8ea3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af206ee4581803e63d083cfd72231d2ce"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastSegmentSetIntersectionFinder.html#af206ee4581803e63d083cfd72231d2ce">intersects</a> (<a class="el" href="classgeos_1_1noding_1_1SegmentString.html#aa1d906d224117f3d08ecf66664e1b81a">SegmentString::ConstVect</a> *segStrings)</td></tr>
<tr class="separator:af206ee4581803e63d083cfd72231d2ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20f67726d6eaf70ca4fb0a0f4c524154"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastSegmentSetIntersectionFinder.html#a20f67726d6eaf70ca4fb0a0f4c524154">intersects</a> (<a class="el" href="classgeos_1_1noding_1_1SegmentString.html#aa1d906d224117f3d08ecf66664e1b81a">SegmentString::ConstVect</a> *segStrings, <a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html">SegmentIntersectionDetector</a> *intDetector)</td></tr>
<tr class="separator:a20f67726d6eaf70ca4fb0a0f4c524154"><td class="memSeparator" colspan="2">&#160;</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:a17cfe2e1ecccc71468e8f21d0c5f5d84"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1noding_1_1MCIndexSegmentSetMutualIntersector.html">MCIndexSegmentSetMutualIntersector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastSegmentSetIntersectionFinder.html#a17cfe2e1ecccc71468e8f21d0c5f5d84">segSetMutInt</a></td></tr>
<tr class="separator:a17cfe2e1ecccc71468e8f21d0c5f5d84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a424359518f3de06aa4000a0cbb916607"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">geos::algorithm::LineIntersector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1FastSegmentSetIntersectionFinder.html#a424359518f3de06aa4000a0cbb916607">lineIntersector</a></td></tr>
<tr class="separator:a424359518f3de06aa4000a0cbb916607"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Finds if two sets of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentStrings</a> intersect. </p>
<p>Uses indexing for fast performance and to optimize repeated tests against a target set of lines. Short-circuited to return as soon an intersection is found.</p>
<dl class="section version"><dt>Version</dt><dd>1.7 </dd></dl>
<p>Definition at line <a class="el" href="FastSegmentSetIntersectionFinder_8h_source.html#l00051">51</a> of file <a class="el" href="FastSegmentSetIntersectionFinder_8h_source.html">FastSegmentSetIntersectionFinder.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a55deffcba376a4940cf7ba71c36264bb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">geos::noding::FastSegmentSetIntersectionFinder::FastSegmentSetIntersectionFinder </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html#aa1d906d224117f3d08ecf66664e1b81a">SegmentString::ConstVect</a> *&#160;</td>
<td class="paramname"><em>baseSegStrings</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ae1de82eb8ba041eef4ba614b25f580fe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::noding::FastSegmentSetIntersectionFinder::~FastSegmentSetIntersectionFinder </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>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a43089fc045425dae93030c35b60f8ea3"></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_1noding_1_1SegmentSetMutualIntersector.html">SegmentSetMutualIntersector</a>* geos::noding::FastSegmentSetIntersectionFinder::getSegmentSetIntersector </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>Gets the segment set intersector used by this class. This allows other uses of the same underlying indexed structure.</p>
<dl class="section return"><dt>Returns</dt><dd>the segment set intersector used </dd></dl>
<p>Definition at line <a class="el" href="FastSegmentSetIntersectionFinder_8h_source.html#l00069">69</a> of file <a class="el" href="FastSegmentSetIntersectionFinder_8h_source.html">FastSegmentSetIntersectionFinder.h</a>.</p>
</div>
</div>
<a class="anchor" id="af206ee4581803e63d083cfd72231d2ce"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::FastSegmentSetIntersectionFinder::intersects </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html#aa1d906d224117f3d08ecf66664e1b81a">SegmentString::ConstVect</a> *&#160;</td>
<td class="paramname"><em>segStrings</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a20f67726d6eaf70ca4fb0a0f4c524154"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::FastSegmentSetIntersectionFinder::intersects </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html#aa1d906d224117f3d08ecf66664e1b81a">SegmentString::ConstVect</a> *&#160;</td>
<td class="paramname"><em>segStrings</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html">SegmentIntersectionDetector</a> *&#160;</td>
<td class="paramname"><em>intDetector</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a424359518f3de06aa4000a0cbb916607"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt;<a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">geos::algorithm::LineIntersector</a>&gt; geos::noding::FastSegmentSetIntersectionFinder::lineIntersector</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="FastSegmentSetIntersectionFinder_8h_source.html#l00054">54</a> of file <a class="el" href="FastSegmentSetIntersectionFinder_8h_source.html">FastSegmentSetIntersectionFinder.h</a>.</p>
</div>
</div>
<a class="anchor" id="a17cfe2e1ecccc71468e8f21d0c5f5d84"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt;<a class="el" href="classgeos_1_1noding_1_1MCIndexSegmentSetMutualIntersector.html">MCIndexSegmentSetMutualIntersector</a>&gt; geos::noding::FastSegmentSetIntersectionFinder::segSetMutInt</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="FastSegmentSetIntersectionFinder_8h_source.html#l00053">53</a> of file <a class="el" href="FastSegmentSetIntersectionFinder_8h_source.html">FastSegmentSetIntersectionFinder.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="FastSegmentSetIntersectionFinder_8h_source.html">FastSegmentSetIntersectionFinder.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>