geos_390_docs/classgeos_1_1noding_1_1Segm...

703 lines
39 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::SegmentIntersectionDetector 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_1SegmentIntersectionDetector.html">SegmentIntersectionDetector</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_1SegmentIntersectionDetector-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::noding::SegmentIntersectionDetector Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Detects and records an intersection between two <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s, if one exists.
<a href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::noding::SegmentIntersectionDetector:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1SegmentIntersectionDetector__inherit__graph.svg" width="255" height="131"><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::noding::SegmentIntersectionDetector:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1SegmentIntersectionDetector__coll__graph.svg" width="100%" height="483"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</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:ad6e3f17c5da08d28e5bd9931d0fd6a13"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#ad6e3f17c5da08d28e5bd9931d0fd6a13">SegmentIntersectionDetector</a> (<a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> *p_li)</td></tr>
<tr class="separator:ad6e3f17c5da08d28e5bd9931d0fd6a13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e56f65f5a2bf3e8de528e14b676402f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a3e56f65f5a2bf3e8de528e14b676402f">~SegmentIntersectionDetector</a> () override</td></tr>
<tr class="separator:a3e56f65f5a2bf3e8de528e14b676402f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9c16b9b6ae284e5657d286c2d351b7c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#af9c16b9b6ae284e5657d286c2d351b7c">setFindProper</a> (bool p_findProper)</td></tr>
<tr class="separator:af9c16b9b6ae284e5657d286c2d351b7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a800cecfbc863f687752665a7ca2a4dfa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a800cecfbc863f687752665a7ca2a4dfa">setFindAllIntersectionTypes</a> (bool p_findAllTypes)</td></tr>
<tr class="separator:a800cecfbc863f687752665a7ca2a4dfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb04288ed28b12593d58f0d767ec9064"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#adb04288ed28b12593d58f0d767ec9064">hasIntersection</a> () const </td></tr>
<tr class="memdesc:adb04288ed28b12593d58f0d767ec9064"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether an intersection was found. <a href="#adb04288ed28b12593d58f0d767ec9064">More...</a><br /></td></tr>
<tr class="separator:adb04288ed28b12593d58f0d767ec9064"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a506450066c5a2897ca109c269c47fd89"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a506450066c5a2897ca109c269c47fd89">hasProperIntersection</a> () const </td></tr>
<tr class="memdesc:a506450066c5a2897ca109c269c47fd89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether a proper intersection was found. <a href="#a506450066c5a2897ca109c269c47fd89">More...</a><br /></td></tr>
<tr class="separator:a506450066c5a2897ca109c269c47fd89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7542ef3ed118313eabce3a8ddf766ed"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#aa7542ef3ed118313eabce3a8ddf766ed">hasNonProperIntersection</a> () const </td></tr>
<tr class="memdesc:aa7542ef3ed118313eabce3a8ddf766ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether a non-proper intersection was found. <a href="#aa7542ef3ed118313eabce3a8ddf766ed">More...</a><br /></td></tr>
<tr class="separator:aa7542ef3ed118313eabce3a8ddf766ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a613decc3353c89436107dcac49d97b5d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a613decc3353c89436107dcac49d97b5d">getIntersection</a> () const </td></tr>
<tr class="memdesc:a613decc3353c89436107dcac49d97b5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the computed location of the intersection. Due to round-off, the location may not be exact. <a href="#a613decc3353c89436107dcac49d97b5d">More...</a><br /></td></tr>
<tr class="separator:a613decc3353c89436107dcac49d97b5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a378dc2d15f6a4f759daf5d9b32e5f259"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a378dc2d15f6a4f759daf5d9b32e5f259">getIntersectionSegments</a> () const </td></tr>
<tr class="memdesc:a378dc2d15f6a4f759daf5d9b32e5f259"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the endpoints of the intersecting segments. <a href="#a378dc2d15f6a4f759daf5d9b32e5f259">More...</a><br /></td></tr>
<tr class="separator:a378dc2d15f6a4f759daf5d9b32e5f259"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c0d1bc0b9f34788419661eb950cbe50"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a2c0d1bc0b9f34788419661eb950cbe50">isDone</a> () const override</td></tr>
<tr class="memdesc:a2c0d1bc0b9f34788419661eb950cbe50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports whether the client of this class needs to continue testing all intersections in an arrangement. <a href="#a2c0d1bc0b9f34788419661eb950cbe50">More...</a><br /></td></tr>
<tr class="separator:a2c0d1bc0b9f34788419661eb950cbe50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7ab630428e9c06500be34a706726495"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#aa7ab630428e9c06500be34a706726495">processIntersections</a> (<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">noding::SegmentString</a> *e0, size_t segIndex0, <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">noding::SegmentString</a> *e1, size_t segIndex1) override</td></tr>
<tr class="memdesc:aa7ab630428e9c06500be34a706726495"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is called by clients of the <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html" title="Processes possible intersections detected by a Noder. ">SegmentIntersector</a> class to process intersections for two segments of the <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s being intersected. <a href="#aa7ab630428e9c06500be34a706726495">More...</a><br /></td></tr>
<tr class="separator:aa7ab630428e9c06500be34a706726495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgeos_1_1noding_1_1SegmentIntersector"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgeos_1_1noding_1_1SegmentIntersector')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html">geos::noding::SegmentIntersector</a></td></tr>
<tr class="memitem:abaed578d309e9cc6816f532a12e6019e inherit pub_methods_classgeos_1_1noding_1_1SegmentIntersector"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#abaed578d309e9cc6816f532a12e6019e">~SegmentIntersector</a> ()</td></tr>
<tr class="separator:abaed578d309e9cc6816f532a12e6019e inherit pub_methods_classgeos_1_1noding_1_1SegmentIntersector"><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:aa7f4f76c25c8ae557c23a8032cce05dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#aa7f4f76c25c8ae557c23a8032cce05dd">li</a></td></tr>
<tr class="separator:aa7f4f76c25c8ae557c23a8032cce05dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2589988631b7f8ad3c18f5c7f47e691a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a2589988631b7f8ad3c18f5c7f47e691a">findProper</a></td></tr>
<tr class="separator:a2589988631b7f8ad3c18f5c7f47e691a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a5c04756b0d94cc1234adea4a1e3af9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a2a5c04756b0d94cc1234adea4a1e3af9">findAllTypes</a></td></tr>
<tr class="separator:a2a5c04756b0d94cc1234adea4a1e3af9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf83a07183f54e653fe563a7f22b83f0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#acf83a07183f54e653fe563a7f22b83f0">_hasIntersection</a></td></tr>
<tr class="separator:acf83a07183f54e653fe563a7f22b83f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7b5cde62e042ed9914552aafd204dbf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#ad7b5cde62e042ed9914552aafd204dbf">_hasProperIntersection</a></td></tr>
<tr class="separator:ad7b5cde62e042ed9914552aafd204dbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac94658546e862fe0a43c946c4bc0db2f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#ac94658546e862fe0a43c946c4bc0db2f">_hasNonProperIntersection</a></td></tr>
<tr class="separator:ac94658546e862fe0a43c946c4bc0db2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a617107e28a1256ed9f0eb0d0f95d792d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a617107e28a1256ed9f0eb0d0f95d792d">intPt</a></td></tr>
<tr class="separator:a617107e28a1256ed9f0eb0d0f95d792d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ade0e1ea9895decf8a1a101d3a3364a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1CoordinateArraySequence.html">geom::CoordinateArraySequence</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#a4ade0e1ea9895decf8a1a101d3a3364a">intSegments</a></td></tr>
<tr class="separator:a4ade0e1ea9895decf8a1a101d3a3364a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classgeos_1_1noding_1_1SegmentIntersector"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classgeos_1_1noding_1_1SegmentIntersector')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html">geos::noding::SegmentIntersector</a></td></tr>
<tr class="memitem:aad5d64d5214d60e5e867379dc7d9c9ea inherit pro_methods_classgeos_1_1noding_1_1SegmentIntersector"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#aad5d64d5214d60e5e867379dc7d9c9ea">SegmentIntersector</a> ()</td></tr>
<tr class="separator:aad5d64d5214d60e5e867379dc7d9c9ea inherit pro_methods_classgeos_1_1noding_1_1SegmentIntersector"><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>Detects and records an intersection between two <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s, if one exists. </p>
<p>This strategy can be configured to search for proper intersections. In this case, the presence of any intersection will still be recorded, but searching will continue until either a proper intersection has been found or no intersections are detected.</p>
<p>Only a single intersection is recorded.</p>
<dl class="section version"><dt>Version</dt><dd>1.7 </dd></dl>
<p>Definition at line <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00042">42</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad6e3f17c5da08d28e5bd9931d0fd6a13"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::noding::SegmentIntersectionDetector::SegmentIntersectionDetector </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> *&#160;</td>
<td class="paramname"><em>p_li</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="SegmentIntersectionDetector_8h_source.html#l00058">58</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3e56f65f5a2bf3e8de528e14b676402f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::noding::SegmentIntersectionDetector::~SegmentIntersectionDetector </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 class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00070">70</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>References <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00054">intSegments</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a613decc3353c89436107dcac49d97b5d"></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_1Coordinate.html">geom::Coordinate</a>* geos::noding::SegmentIntersectionDetector::getIntersection </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 computed location of the intersection. Due to round-off, the location may not be exact. </p>
<dl class="section return"><dt>Returns</dt><dd>the coordinate for the intersection location </dd></dl>
<p>Definition at line <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00129">129</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>References <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00053">intPt</a>.</p>
</div>
</div>
<a class="anchor" id="a378dc2d15f6a4f759daf5d9b32e5f259"></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::noding::SegmentIntersectionDetector::getIntersectionSegments </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 endpoints of the intersecting segments. </p>
<dl class="section return"><dt>Returns</dt><dd>an array of the segment endpoints (p00, p01, p10, p11) </dd></dl>
<p>Definition at line <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00141">141</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>References <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00054">intSegments</a>.</p>
</div>
</div>
<a class="anchor" id="adb04288ed28b12593d58f0d767ec9064"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::SegmentIntersectionDetector::hasIntersection </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>Tests whether an intersection was found. </p>
<dl class="section return"><dt>Returns</dt><dd>true if an intersection was found </dd></dl>
<p>Definition at line <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00095">95</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>References <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00049">_hasIntersection</a>.</p>
</div>
</div>
<a class="anchor" id="aa7542ef3ed118313eabce3a8ddf766ed"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::SegmentIntersectionDetector::hasNonProperIntersection </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>Tests whether a non-proper intersection was found. </p>
<dl class="section return"><dt>Returns</dt><dd>true if a non-proper intersection was found </dd></dl>
<p>Definition at line <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00117">117</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>References <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00051">_hasNonProperIntersection</a>.</p>
</div>
</div>
<a class="anchor" id="a506450066c5a2897ca109c269c47fd89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::SegmentIntersectionDetector::hasProperIntersection </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>Tests whether a proper intersection was found. </p>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if a proper intersection was found </dd></dl>
<p>Definition at line <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00106">106</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>References <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00050">_hasProperIntersection</a>.</p>
</div>
</div>
<a class="anchor" id="a2c0d1bc0b9f34788419661eb950cbe50"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::SegmentIntersectionDetector::isDone </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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reports whether the client of this class needs to continue testing all intersections in an arrangement. </p>
<dl class="section return"><dt>Returns</dt><dd>true if there is not need to continue testing segments</dd></dl>
<p>The default implementation always return false (process all intersections). </p>
<p>Reimplemented from <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#a2402e2ce3a39edad9f5d283be73b5d1d">geos::noding::SegmentIntersector</a>.</p>
<p>Definition at line <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00147">147</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>References <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00049">_hasIntersection</a>, <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00051">_hasNonProperIntersection</a>, <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00050">_hasProperIntersection</a>, and <a class="el" href="classgeos_1_1noding_1_1SegmentIntersectionDetector.html#aa7ab630428e9c06500be34a706726495">processIntersections()</a>.</p>
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1SegmentIntersectionDetector_a2c0d1bc0b9f34788419661eb950cbe50_cgraph.svg" width="547" height="55"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</p>
</div>
</div>
<a class="anchor" id="aa7ab630428e9c06500be34a706726495"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::noding::SegmentIntersectionDetector::processIntersections </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">noding::SegmentString</a> *&#160;</td>
<td class="paramname"><em>e0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>segIndex0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">noding::SegmentString</a> *&#160;</td>
<td class="paramname"><em>e1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>segIndex1</em>&#160;</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>This method is called by clients of the <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html" title="Processes possible intersections detected by a Noder. ">SegmentIntersector</a> class to process intersections for two segments of the <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s being intersected. </p>
<dl class="section note"><dt>Note</dt><dd>Some clients (such as <code>MonotoneChains</code>) may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test). </dd></dl>
<p>Implements <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#ab37c13c8ccf0a75ad60df76fab4e4175">geos::noding::SegmentIntersector</a>.</p>
<p>Referenced by <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00147">isDone()</a>.</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1SegmentIntersectionDetector_aa7ab630428e9c06500be34a706726495_icgraph.svg" width="547" height="55"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</p>
</div>
</div>
<a class="anchor" id="a800cecfbc863f687752665a7ca2a4dfa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::noding::SegmentIntersectionDetector::setFindAllIntersectionTypes </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>p_findAllTypes</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="SegmentIntersectionDetector_8h_source.html#l00084">84</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
</div>
</div>
<a class="anchor" id="af9c16b9b6ae284e5657d286c2d351b7c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::noding::SegmentIntersectionDetector::setFindProper </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>p_findProper</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="SegmentIntersectionDetector_8h_source.html#l00078">78</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="acf83a07183f54e653fe563a7f22b83f0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::SegmentIntersectionDetector::_hasIntersection</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="SegmentIntersectionDetector_8h_source.html#l00049">49</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>Referenced by <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00095">hasIntersection()</a>, and <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00147">isDone()</a>.</p>
</div>
</div>
<a class="anchor" id="ac94658546e862fe0a43c946c4bc0db2f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::SegmentIntersectionDetector::_hasNonProperIntersection</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="SegmentIntersectionDetector_8h_source.html#l00051">51</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>Referenced by <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00117">hasNonProperIntersection()</a>, and <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00147">isDone()</a>.</p>
</div>
</div>
<a class="anchor" id="ad7b5cde62e042ed9914552aafd204dbf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::SegmentIntersectionDetector::_hasProperIntersection</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="SegmentIntersectionDetector_8h_source.html#l00050">50</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>Referenced by <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00106">hasProperIntersection()</a>, and <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00147">isDone()</a>.</p>
</div>
</div>
<a class="anchor" id="a2a5c04756b0d94cc1234adea4a1e3af9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::SegmentIntersectionDetector::findAllTypes</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="SegmentIntersectionDetector_8h_source.html#l00047">47</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2589988631b7f8ad3c18f5c7f47e691a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::SegmentIntersectionDetector::findProper</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="SegmentIntersectionDetector_8h_source.html#l00046">46</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
</div>
</div>
<a class="anchor" id="a617107e28a1256ed9f0eb0d0f95d792d"></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_1Coordinate.html">geom::Coordinate</a>* geos::noding::SegmentIntersectionDetector::intPt</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="SegmentIntersectionDetector_8h_source.html#l00053">53</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>Referenced by <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00129">getIntersection()</a>.</p>
</div>
</div>
<a class="anchor" id="a4ade0e1ea9895decf8a1a101d3a3364a"></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_1CoordinateArraySequence.html">geom::CoordinateArraySequence</a>* geos::noding::SegmentIntersectionDetector::intSegments</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="SegmentIntersectionDetector_8h_source.html#l00054">54</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
<p>Referenced by <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00141">getIntersectionSegments()</a>, and <a class="el" href="SegmentIntersectionDetector_8h_source.html#l00070">~SegmentIntersectionDetector()</a>.</p>
</div>
</div>
<a class="anchor" id="aa7f4f76c25c8ae557c23a8032cce05dd"></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_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a>* geos::noding::SegmentIntersectionDetector::li</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="SegmentIntersectionDetector_8h_source.html#l00044">44</a> of file <a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SegmentIntersectionDetector_8h_source.html">SegmentIntersectionDetector.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>