geos_390_docs/classgeos_1_1operation_1_1o...

382 lines
18 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::operation::overlayng::EdgeKey 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_1operation.html">operation</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1operation_1_1overlayng.html">overlayng</a></li><li class="navelem"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::operation::overlayng::EdgeKey Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="EdgeKey_8h_source.html">EdgeKey.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:a9570a4b3f2d6d83c5fd5864cb7a38fd5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#a9570a4b3f2d6d83c5fd5864cb7a38fd5">EdgeKey</a> (const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1Edge.html">Edge</a> *edge)</td></tr>
<tr class="separator:a9570a4b3f2d6d83c5fd5864cb7a38fd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2933bfaf6e65326a4220bed80b4ef12"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#ae2933bfaf6e65326a4220bed80b4ef12">compareTo</a> (const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> *ek) const </td></tr>
<tr class="separator:ae2933bfaf6e65326a4220bed80b4ef12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68277f75457ddba5592e6602ad3e56a2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#a68277f75457ddba5592e6602ad3e56a2">equals</a> (const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> *ek) const </td></tr>
<tr class="separator:a68277f75457ddba5592e6602ad3e56a2"><td class="memSeparator" colspan="2">&#160;</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:aa7fd186c0c7fa34948bf8311fe3ff226"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#aa7fd186c0c7fa34948bf8311fe3ff226">initPoints</a> (const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1Edge.html">Edge</a> *edge)</td></tr>
<tr class="separator:aa7fd186c0c7fa34948bf8311fe3ff226"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00e6380dac11da2b0899d6f6b9fc2f63"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#a00e6380dac11da2b0899d6f6b9fc2f63">init</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;p1)</td></tr>
<tr class="separator:a00e6380dac11da2b0899d6f6b9fc2f63"><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:afab3748d20d0caeb8f1af315bcf38ef2"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#afab3748d20d0caeb8f1af315bcf38ef2">p0x</a></td></tr>
<tr class="separator:afab3748d20d0caeb8f1af315bcf38ef2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a545993e803c4bd2d946101584bbf2869"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#a545993e803c4bd2d946101584bbf2869">p0y</a></td></tr>
<tr class="separator:a545993e803c4bd2d946101584bbf2869"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad15714d579232d1bf018745875880cd1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#ad15714d579232d1bf018745875880cd1">p1x</a></td></tr>
<tr class="separator:ad15714d579232d1bf018745875880cd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add864f96acd51dd2c4f2039756a29e0e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#add864f96acd51dd2c4f2039756a29e0e">p1y</a></td></tr>
<tr class="separator:add864f96acd51dd2c4f2039756a29e0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a8e839f634fa1a0a9112b23aede1abc6e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#a8e839f634fa1a0a9112b23aede1abc6e">operator&lt;</a> (const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> &amp;ek1, const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> &amp;ek2)</td></tr>
<tr class="separator:a8e839f634fa1a0a9112b23aede1abc6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f852c2e87245ba4bf09c75da0578dc6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html#a4f852c2e87245ba4bf09c75da0578dc6">operator==</a> (const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> &amp;ek1, const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> &amp;ek2)</td></tr>
<tr class="separator:a4f852c2e87245ba4bf09c75da0578dc6"><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>A key for sorting and comparing edges in a noded arrangement. Relies on the fact that in a correctly noded arrangement edges are identical (up to direction) iff they have their first segment in common.</p>
<dl class="section author"><dt>Author</dt><dd>mdavis </dd></dl>
<p>Definition at line <a class="el" href="EdgeKey_8h_source.html#l00050">50</a> of file <a class="el" href="EdgeKey_8h_source.html">EdgeKey.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9570a4b3f2d6d83c5fd5864cb7a38fd5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">geos::operation::overlayng::EdgeKey::EdgeKey </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1Edge.html">Edge</a> *&#160;</td>
<td class="paramname"><em>edge</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae2933bfaf6e65326a4220bed80b4ef12"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int geos::operation::overlayng::EdgeKey::compareTo </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> *&#160;</td>
<td class="paramname"><em>ek</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a68277f75457ddba5592e6602ad3e56a2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool geos::operation::overlayng::EdgeKey::equals </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> *&#160;</td>
<td class="paramname"><em>ek</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a00e6380dac11da2b0899d6f6b9fc2f63"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::operation::overlayng::EdgeKey::init </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>p0</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> &amp;&#160;</td>
<td class="paramname"><em>p1</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">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa7fd186c0c7fa34948bf8311fe3ff226"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::operation::overlayng::EdgeKey::initPoints </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1Edge.html">Edge</a> *&#160;</td>
<td class="paramname"><em>edge</em></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">Friends And Related Function Documentation</h2>
<a class="anchor" id="a8e839f634fa1a0a9112b23aede1abc6e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator&lt; </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> &amp;&#160;</td>
<td class="paramname"><em>ek1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> &amp;&#160;</td>
<td class="paramname"><em>ek2</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">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a4f852c2e87245ba4bf09c75da0578dc6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> &amp;&#160;</td>
<td class="paramname"><em>ek1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1overlayng_1_1EdgeKey.html">EdgeKey</a> &amp;&#160;</td>
<td class="paramname"><em>ek2</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">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="afab3748d20d0caeb8f1af315bcf38ef2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double geos::operation::overlayng::EdgeKey::p0x</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="EdgeKey_8h_source.html#l00055">55</a> of file <a class="el" href="EdgeKey_8h_source.html">EdgeKey.h</a>.</p>
</div>
</div>
<a class="anchor" id="a545993e803c4bd2d946101584bbf2869"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double geos::operation::overlayng::EdgeKey::p0y</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="EdgeKey_8h_source.html#l00056">56</a> of file <a class="el" href="EdgeKey_8h_source.html">EdgeKey.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad15714d579232d1bf018745875880cd1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double geos::operation::overlayng::EdgeKey::p1x</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="EdgeKey_8h_source.html#l00057">57</a> of file <a class="el" href="EdgeKey_8h_source.html">EdgeKey.h</a>.</p>
</div>
</div>
<a class="anchor" id="add864f96acd51dd2c4f2039756a29e0e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double geos::operation::overlayng::EdgeKey::p1y</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="EdgeKey_8h_source.html#l00058">58</a> of file <a class="el" href="EdgeKey_8h_source.html">EdgeKey.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="EdgeKey_8h_source.html">EdgeKey.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>