geos_390_docs/classgeos_1_1geomgraph_1_1E...

335 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::EdgeIntersection 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_1geomgraph.html">geomgraph</a></li><li class="navelem"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html">EdgeIntersection</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classgeos_1_1geomgraph_1_1EdgeIntersection-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::geomgraph::EdgeIntersection Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Represents a point on an edge which intersects with another edge.
<a href="classgeos_1_1geomgraph_1_1EdgeIntersection.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for geos::geomgraph::EdgeIntersection:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geomgraph_1_1EdgeIntersection__coll__graph.svg" width="323" 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>
<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:ad9c129c3b610293c1fc87f005c22f675"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html#ad9c129c3b610293c1fc87f005c22f675">EdgeIntersection</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;newCoord, size_t newSegmentIndex, double newDist)</td></tr>
<tr class="separator:ad9c129c3b610293c1fc87f005c22f675"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dc5982e0064cc3a762dd61bd4e31281"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html#a6dc5982e0064cc3a762dd61bd4e31281">isEndPoint</a> (size_t maxSegmentIndex) const </td></tr>
<tr class="separator:a6dc5982e0064cc3a762dd61bd4e31281"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c643ec778edbb5ac7b4dfe6594ded51"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html#a9c643ec778edbb5ac7b4dfe6594ded51">getCoordinate</a> () const </td></tr>
<tr class="separator:a9c643ec778edbb5ac7b4dfe6594ded51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50fce9ad1f99460205dfc08c90d98204"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html#a50fce9ad1f99460205dfc08c90d98204">getSegmentIndex</a> () const </td></tr>
<tr class="separator:a50fce9ad1f99460205dfc08c90d98204"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab01a2f5cbcaff2f47efe15b019634c7e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html#ab01a2f5cbcaff2f47efe15b019634c7e">getDistance</a> () const </td></tr>
<tr class="separator:ab01a2f5cbcaff2f47efe15b019634c7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a163c26a9955ea6287d259457fbc422f3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html#a163c26a9955ea6287d259457fbc422f3">operator==</a> (const <a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html">EdgeIntersection</a> &amp;other) const </td></tr>
<tr class="separator:a163c26a9955ea6287d259457fbc422f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af210032406f05ca94f819a040d05d652"><td class="memItemLeft" align="right" valign="top"><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_1geomgraph_1_1EdgeIntersection.html#af210032406f05ca94f819a040d05d652">coord</a></td></tr>
<tr class="separator:af210032406f05ca94f819a040d05d652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2e8689273ad164252f9e2bd4ad3feaf"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html#aa2e8689273ad164252f9e2bd4ad3feaf">dist</a></td></tr>
<tr class="separator:aa2e8689273ad164252f9e2bd4ad3feaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbdbc3202ef9dee43d63a263d7a3ddff"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html#afbdbc3202ef9dee43d63a263d7a3ddff">segmentIndex</a></td></tr>
<tr class="separator:afbdbc3202ef9dee43d63a263d7a3ddff"><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>Represents a point on an edge which intersects with another edge. </p>
<p>The intersection may either be a single point, or a line segment (in which case this point is the start of the line segment) The intersection point must be precise. </p>
<p>Definition at line <a class="el" href="EdgeIntersection_8h_source.html#l00045">45</a> of file <a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad9c129c3b610293c1fc87f005c22f675"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::geomgraph::EdgeIntersection::EdgeIntersection </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&#160;</td>
<td class="paramname"><em>newCoord</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>newSegmentIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>newDist</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">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="EdgeIntersection_8h_source.html#l00057">57</a> of file <a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a9c643ec778edbb5ac7b4dfe6594ded51"></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>&amp; geos::geomgraph::EdgeIntersection::getCoordinate </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="EdgeIntersection_8h_source.html#l00078">78</a> of file <a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab01a2f5cbcaff2f47efe15b019634c7e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double geos::geomgraph::EdgeIntersection::getDistance </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="EdgeIntersection_8h_source.html#l00090">90</a> of file <a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>.</p>
</div>
</div>
<a class="anchor" id="a50fce9ad1f99460205dfc08c90d98204"></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::geomgraph::EdgeIntersection::getSegmentIndex </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="EdgeIntersection_8h_source.html#l00084">84</a> of file <a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>.</p>
</div>
</div>
<a class="anchor" id="a6dc5982e0064cc3a762dd61bd4e31281"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::geomgraph::EdgeIntersection::isEndPoint </td>
<td>(</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>maxSegmentIndex</em></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="EdgeIntersection_8h_source.html#l00066">66</a> of file <a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>.</p>
</div>
</div>
<a class="anchor" id="a163c26a9955ea6287d259457fbc422f3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::geomgraph::EdgeIntersection::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html">EdgeIntersection</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></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="EdgeIntersection_8h_source.html#l00095">95</a> of file <a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>.</p>
<p>References <a class="el" href="EdgeIntersection_8h_source.html#l00052">dist</a>, and <a class="el" href="EdgeIntersection_8h_source.html#l00055">segmentIndex</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="af210032406f05ca94f819a040d05d652"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> geos::geomgraph::EdgeIntersection::coord</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="EdgeIntersection_8h_source.html#l00049">49</a> of file <a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>.</p>
<p>Referenced by <a class="el" href="EdgeIntersection_8h_source.html#l00144">geos::geomgraph::operator&lt;&lt;()</a>.</p>
</div>
</div>
<a class="anchor" id="aa2e8689273ad164252f9e2bd4ad3feaf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double geos::geomgraph::EdgeIntersection::dist</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="EdgeIntersection_8h_source.html#l00052">52</a> of file <a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>.</p>
<p>Referenced by <a class="el" href="EdgeIntersection_8h_source.html#l00108">geos::geomgraph::operator&lt;()</a>, <a class="el" href="EdgeIntersection_8h_source.html#l00144">geos::geomgraph::operator&lt;&lt;()</a>, and <a class="el" href="EdgeIntersection_8h_source.html#l00095">operator==()</a>.</p>
</div>
</div>
<a class="anchor" id="afbdbc3202ef9dee43d63a263d7a3ddff"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t geos::geomgraph::EdgeIntersection::segmentIndex</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="EdgeIntersection_8h_source.html#l00055">55</a> of file <a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>.</p>
<p>Referenced by <a class="el" href="EdgeIntersection_8h_source.html#l00108">geos::geomgraph::operator&lt;()</a>, <a class="el" href="EdgeIntersection_8h_source.html#l00144">geos::geomgraph::operator&lt;&lt;()</a>, and <a class="el" href="EdgeIntersection_8h_source.html#l00095">operator==()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.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>