296 lines
16 KiB
HTML
296 lines
16 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::geomgraph::index::SimpleEdgeSetIntersector 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_1geomgraph.html">geomgraph</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1geomgraph_1_1index.html">index</a></li><li class="navelem"><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SimpleEdgeSetIntersector.html">SimpleEdgeSetIntersector</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_1geomgraph_1_1index_1_1SimpleEdgeSetIntersector-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::geomgraph::index::SimpleEdgeSetIntersector Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Finds all intersections in one or two sets of edges, using the straightforward method of comparing all segments.
|
||
|
<a href="classgeos_1_1geomgraph_1_1index_1_1SimpleEdgeSetIntersector.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="SimpleEdgeSetIntersector_8h_source.html">SimpleEdgeSetIntersector.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Inheritance diagram for geos::geomgraph::index::SimpleEdgeSetIntersector:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geomgraph_1_1index_1_1SimpleEdgeSetIntersector__inherit__graph.svg" width="210" 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>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::geomgraph::index::SimpleEdgeSetIntersector:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geomgraph_1_1index_1_1SimpleEdgeSetIntersector__coll__graph.svg" width="210" 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:ab762bc8e0de2526f0f7ce9eefe7582b9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SimpleEdgeSetIntersector.html#ab762bc8e0de2526f0f7ce9eefe7582b9">SimpleEdgeSetIntersector</a> ()</td></tr>
|
||
|
<tr class="separator:ab762bc8e0de2526f0f7ce9eefe7582b9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:afc7ea47d94ba60b3487d2573baed8e5a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SimpleEdgeSetIntersector.html#afc7ea47d94ba60b3487d2573baed8e5a">computeIntersections</a> (std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * > *edges, <a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SegmentIntersector.html">SegmentIntersector</a> *si, bool testAllSegments) override</td></tr>
|
||
|
<tr class="memdesc:afc7ea47d94ba60b3487d2573baed8e5a"><td class="mdescLeft"> </td><td class="mdescRight">Computes all self-intersections between edges in a set of edges, allowing client to choose whether self-intersections are computed. <a href="#afc7ea47d94ba60b3487d2573baed8e5a">More...</a><br /></td></tr>
|
||
|
<tr class="separator:afc7ea47d94ba60b3487d2573baed8e5a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a45605b3dea0634289d858a396b328ace"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SimpleEdgeSetIntersector.html#a45605b3dea0634289d858a396b328ace">computeIntersections</a> (std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * > *edges0, std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * > *edges1, <a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SegmentIntersector.html">SegmentIntersector</a> *si) override</td></tr>
|
||
|
<tr class="memdesc:a45605b3dea0634289d858a396b328ace"><td class="mdescLeft"> </td><td class="mdescRight">Computes all mutual intersections between two sets of edges. <a href="#a45605b3dea0634289d858a396b328ace">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a45605b3dea0634289d858a396b328ace"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pub_methods_classgeos_1_1geomgraph_1_1index_1_1EdgeSetIntersector"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgeos_1_1geomgraph_1_1index_1_1EdgeSetIntersector')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classgeos_1_1geomgraph_1_1index_1_1EdgeSetIntersector.html">geos::geomgraph::index::EdgeSetIntersector</a></td></tr>
|
||
|
<tr class="memitem:afe1f019f78c952d180b907690ce41374 inherit pub_methods_classgeos_1_1geomgraph_1_1index_1_1EdgeSetIntersector"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1EdgeSetIntersector.html#afe1f019f78c952d180b907690ce41374">~EdgeSetIntersector</a> ()</td></tr>
|
||
|
<tr class="separator:afe1f019f78c952d180b907690ce41374 inherit pub_methods_classgeos_1_1geomgraph_1_1index_1_1EdgeSetIntersector"><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:a9f0bad5c7c3dfacc033c839a01539d1a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SimpleEdgeSetIntersector.html#a9f0bad5c7c3dfacc033c839a01539d1a">computeIntersects</a> (<a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> *e0, <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> *e1, <a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SegmentIntersector.html">SegmentIntersector</a> *si)</td></tr>
|
||
|
<tr class="separator:a9f0bad5c7c3dfacc033c839a01539d1a"><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:acd2fcaf36bd280a2621176203efdc614"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SimpleEdgeSetIntersector.html#acd2fcaf36bd280a2621176203efdc614">nOverlaps</a></td></tr>
|
||
|
<tr class="separator:acd2fcaf36bd280a2621176203efdc614"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Finds all intersections in one or two sets of edges, using the straightforward method of comparing all segments. </p>
|
||
|
<dl class="section note"><dt>Note</dt><dd>This algorithm is too slow for production use, but is useful for testing purposes. </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimpleEdgeSetIntersector_8h_source.html#l00043">43</a> of file <a class="el" href="SimpleEdgeSetIntersector_8h_source.html">SimpleEdgeSetIntersector.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="ab762bc8e0de2526f0f7ce9eefe7582b9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geomgraph::index::SimpleEdgeSetIntersector::SimpleEdgeSetIntersector </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="afc7ea47d94ba60b3487d2573baed8e5a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geomgraph::index::SimpleEdgeSetIntersector::computeIntersections </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * > * </td>
|
||
|
<td class="paramname"><em>edges</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SegmentIntersector.html">SegmentIntersector</a> * </td>
|
||
|
<td class="paramname"><em>si</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">bool </td>
|
||
|
<td class="paramname"><em>testAllSegments</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">override</span><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Computes all self-intersections between edges in a set of edges, allowing client to choose whether self-intersections are computed. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">edges</td><td>a list of edges to test for intersections </td></tr>
|
||
|
<tr><td class="paramname">si</td><td>the <a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SegmentIntersector.html" title="Computes the intersection of line segments, and adds the intersection to the edges containing the seg...">SegmentIntersector</a> to use </td></tr>
|
||
|
<tr><td class="paramname">testAllSegments</td><td>true if self-intersections are to be tested as well </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<p>Implements <a class="el" href="classgeos_1_1geomgraph_1_1index_1_1EdgeSetIntersector.html#abd43078c091d0058c85062d9ae70a0a8">geos::geomgraph::index::EdgeSetIntersector</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a45605b3dea0634289d858a396b328ace"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geomgraph::index::SimpleEdgeSetIntersector::computeIntersections </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * > * </td>
|
||
|
<td class="paramname"><em>edges0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * > * </td>
|
||
|
<td class="paramname"><em>edges1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SegmentIntersector.html">SegmentIntersector</a> * </td>
|
||
|
<td class="paramname"><em>si</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">override</span><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Computes all mutual intersections between two sets of edges. </p>
|
||
|
|
||
|
<p>Implements <a class="el" href="classgeos_1_1geomgraph_1_1index_1_1EdgeSetIntersector.html#a04f256aee161bbb16d70aec974d00230">geos::geomgraph::index::EdgeSetIntersector</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9f0bad5c7c3dfacc033c839a01539d1a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geomgraph::index::SimpleEdgeSetIntersector::computeIntersects </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * </td>
|
||
|
<td class="paramname"><em>e0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * </td>
|
||
|
<td class="paramname"><em>e1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1index_1_1SegmentIntersector.html">SegmentIntersector</a> * </td>
|
||
|
<td class="paramname"><em>si</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="acd2fcaf36bd280a2621176203efdc614"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int geos::geomgraph::index::SimpleEdgeSetIntersector::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="SimpleEdgeSetIntersector_8h_source.html#l00057">57</a> of file <a class="el" href="SimpleEdgeSetIntersector_8h_source.html">SimpleEdgeSetIntersector.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="SimpleEdgeSetIntersector_8h_source.html">SimpleEdgeSetIntersector.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>
|