920 lines
46 KiB
HTML
920 lines
46 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::PlanarGraph 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="classgeos_1_1geomgraph_1_1PlanarGraph.html">PlanarGraph</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
||
|
<a href="#pro-methods">Protected Member Functions</a> |
|
||
|
<a href="#pro-attribs">Protected Attributes</a> |
|
||
|
<a href="#pri-methods">Private Member Functions</a> |
|
||
|
<a href="classgeos_1_1geomgraph_1_1PlanarGraph-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::geomgraph::PlanarGraph Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Represents a directed graph which is embeddable in a planar surface.
|
||
|
<a href="classgeos_1_1geomgraph_1_1PlanarGraph.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="geomgraph_2PlanarGraph_8h_source.html">PlanarGraph.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Inheritance diagram for geos::geomgraph::PlanarGraph:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geomgraph_1_1PlanarGraph__inherit__graph.svg" width="235" 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::geomgraph::PlanarGraph:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geomgraph_1_1PlanarGraph__coll__graph.svg" width="236" height="223"><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:acdbab93abb0dc25f6e6bb57bd08f4c74"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#acdbab93abb0dc25f6e6bb57bd08f4c74">PlanarGraph</a> (const <a class="el" href="classgeos_1_1geomgraph_1_1NodeFactory.html">NodeFactory</a> &nodeFact)</td></tr>
|
||
|
<tr class="separator:acdbab93abb0dc25f6e6bb57bd08f4c74"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af11e094a24477957c3334920e45b2224"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#af11e094a24477957c3334920e45b2224">PlanarGraph</a> ()</td></tr>
|
||
|
<tr class="separator:af11e094a24477957c3334920e45b2224"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7d416d3460c3e6db9246e2cd5c6d64da"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a7d416d3460c3e6db9246e2cd5c6d64da">~PlanarGraph</a> ()</td></tr>
|
||
|
<tr class="separator:a7d416d3460c3e6db9246e2cd5c6d64da"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1ecd142ef6db53d77ba4e6470d6ef2b7"><td class="memItemLeft" align="right" valign="top">virtual std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a1ecd142ef6db53d77ba4e6470d6ef2b7">getEdgeIterator</a> ()</td></tr>
|
||
|
<tr class="separator:a1ecd142ef6db53d77ba4e6470d6ef2b7"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a45929a3eb0d796fb165182f6c4e889b9"><td class="memItemLeft" align="right" valign="top">virtual std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">EdgeEnd</a> * > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a45929a3eb0d796fb165182f6c4e889b9">getEdgeEnds</a> ()</td></tr>
|
||
|
<tr class="separator:a45929a3eb0d796fb165182f6c4e889b9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae6f0f27839caaadacfe2e343bb3b5859"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#ae6f0f27839caaadacfe2e343bb3b5859">isBoundaryNode</a> (int geomIndex, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &coord)</td></tr>
|
||
|
<tr class="separator:ae6f0f27839caaadacfe2e343bb3b5859"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aebd4ef91b37426f3e3d0e223985217a8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#aebd4ef91b37426f3e3d0e223985217a8">add</a> (<a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">EdgeEnd</a> *e)</td></tr>
|
||
|
<tr class="separator:aebd4ef91b37426f3e3d0e223985217a8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a26e6fce205d09645c7f42c9d9d9b1e7e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeos_1_1geomgraph_1_1NodeMap.html#ae5d710b76966a68388823434fffc0aa9">NodeMap::iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a26e6fce205d09645c7f42c9d9d9b1e7e">getNodeIterator</a> ()</td></tr>
|
||
|
<tr class="separator:a26e6fce205d09645c7f42c9d9d9b1e7e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab55f783d90436cfc332e00352f08879a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#ab55f783d90436cfc332e00352f08879a">getNodes</a> (std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Node.html">Node</a> * > &)</td></tr>
|
||
|
<tr class="separator:ab55f783d90436cfc332e00352f08879a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab95d27e28bde5acad29c90b06c435b07"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeos_1_1geomgraph_1_1Node.html">Node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#ab95d27e28bde5acad29c90b06c435b07">addNode</a> (<a class="el" href="classgeos_1_1geomgraph_1_1Node.html">Node</a> *node)</td></tr>
|
||
|
<tr class="separator:ab95d27e28bde5acad29c90b06c435b07"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9042a61b5fe1f0c3c029c78da5602cc3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeos_1_1geomgraph_1_1Node.html">Node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a9042a61b5fe1f0c3c029c78da5602cc3">addNode</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &coord)</td></tr>
|
||
|
<tr class="separator:a9042a61b5fe1f0c3c029c78da5602cc3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae0ae0635a8cf9b0a27e1ae6c963074f0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeos_1_1geomgraph_1_1Node.html">Node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#ae0ae0635a8cf9b0a27e1ae6c963074f0">find</a> (<a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &coord)</td></tr>
|
||
|
<tr class="separator:ae0ae0635a8cf9b0a27e1ae6c963074f0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ace4497331806c06a77a42e1e406e4244"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#ace4497331806c06a77a42e1e406e4244">addEdges</a> (const std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * > &edgesToAdd)</td></tr>
|
||
|
<tr class="memdesc:ace4497331806c06a77a42e1e406e4244"><td class="mdescLeft"> </td><td class="mdescRight">Add a set of edges to the graph. For each edge two DirectedEdges will be created. DirectedEdges are NOT linked by this method. <a href="#ace4497331806c06a77a42e1e406e4244">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ace4497331806c06a77a42e1e406e4244"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a26be5df2cae967c5739375ac17394821"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a26be5df2cae967c5739375ac17394821">linkResultDirectedEdges</a> ()</td></tr>
|
||
|
<tr class="separator:a26be5df2cae967c5739375ac17394821"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a31ee5909b6359ad60de9b1d6e69cc485"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a31ee5909b6359ad60de9b1d6e69cc485">linkAllDirectedEdges</a> ()</td></tr>
|
||
|
<tr class="separator:a31ee5909b6359ad60de9b1d6e69cc485"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:adef38fcf5bfe7e50cea21cd192102b0f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">EdgeEnd</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#adef38fcf5bfe7e50cea21cd192102b0f">findEdgeEnd</a> (<a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> *e)</td></tr>
|
||
|
<tr class="memdesc:adef38fcf5bfe7e50cea21cd192102b0f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html" title="Models the end of an edge incident on a node. ">EdgeEnd</a> which has edge e as its base edge (MD 18 Feb 2002 - this should return a pair of edges) <a href="#adef38fcf5bfe7e50cea21cd192102b0f">More...</a><br /></td></tr>
|
||
|
<tr class="separator:adef38fcf5bfe7e50cea21cd192102b0f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a11f4d623bf8b2d02ac07f4f0c5bf5a68"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a11f4d623bf8b2d02ac07f4f0c5bf5a68">findEdge</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p1)</td></tr>
|
||
|
<tr class="memdesc:a11f4d623bf8b2d02ac07f4f0c5bf5a68"><td class="mdescLeft"> </td><td class="mdescRight">Returns the edge whose first two coordinates are p0 and p1. <a href="#a11f4d623bf8b2d02ac07f4f0c5bf5a68">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a11f4d623bf8b2d02ac07f4f0c5bf5a68"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2157ecd5b89d1b9e4ddf369e7bb96b7b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a2157ecd5b89d1b9e4ddf369e7bb96b7b">findEdgeInSameDirection</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p1)</td></tr>
|
||
|
<tr class="memdesc:a2157ecd5b89d1b9e4ddf369e7bb96b7b"><td class="mdescLeft"> </td><td class="mdescRight">Returns the edge which starts at p0 and whose first segment is parallel to p1. <a href="#a2157ecd5b89d1b9e4ddf369e7bb96b7b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a2157ecd5b89d1b9e4ddf369e7bb96b7b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a099b5b053eb0ab7afa22c1e5e9f8794f"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a099b5b053eb0ab7afa22c1e5e9f8794f">printEdges</a> ()</td></tr>
|
||
|
<tr class="separator:a099b5b053eb0ab7afa22c1e5e9f8794f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae274d285e2611fa37f1bc8eab74e645c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeos_1_1geomgraph_1_1NodeMap.html">NodeMap</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#ae274d285e2611fa37f1bc8eab74e645c">getNodeMap</a> ()</td></tr>
|
||
|
<tr class="separator:ae274d285e2611fa37f1bc8eab74e645c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
||
|
Static Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:af0a26502d8cf72fa42d570abd9be725b"><td class="memTemplParams" colspan="2">template<typename It > </td></tr>
|
||
|
<tr class="memitem:af0a26502d8cf72fa42d570abd9be725b"><td class="memTemplItemLeft" align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#af0a26502d8cf72fa42d570abd9be725b">linkResultDirectedEdges</a> (It first, It last)</td></tr>
|
||
|
<tr class="memdesc:af0a26502d8cf72fa42d570abd9be725b"><td class="mdescLeft"> </td><td class="mdescRight">For nodes in the collection (first..last), link the DirectedEdges at the node that are in the result. <a href="#af0a26502d8cf72fa42d570abd9be725b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:af0a26502d8cf72fa42d570abd9be725b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
||
|
Protected Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a8a1446df0cdde2e7b589fd381ecd06e6"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a8a1446df0cdde2e7b589fd381ecd06e6">insertEdge</a> (<a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> *e)</td></tr>
|
||
|
<tr class="separator:a8a1446df0cdde2e7b589fd381ecd06e6"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
||
|
Protected Attributes</h2></td></tr>
|
||
|
<tr class="memitem:ad3ecb348be80ecd85f0dcee548706127"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#ad3ecb348be80ecd85f0dcee548706127">edges</a></td></tr>
|
||
|
<tr class="separator:ad3ecb348be80ecd85f0dcee548706127"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a777c5bc3eb4a733c3d1653e73237ef2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geomgraph_1_1NodeMap.html">NodeMap</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a777c5bc3eb4a733c3d1653e73237ef2a">nodes</a></td></tr>
|
||
|
<tr class="separator:a777c5bc3eb4a733c3d1653e73237ef2a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a61af6fb669274c0213387a7fe2f47470"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">EdgeEnd</a> * > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a61af6fb669274c0213387a7fe2f47470">edgeEndList</a></td></tr>
|
||
|
<tr class="separator:a61af6fb669274c0213387a7fe2f47470"><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:a7a33b7f00100b67f0b3e3b02335ffd6c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a7a33b7f00100b67f0b3e3b02335ffd6c">matchInSameDirection</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &ep0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &ep1)</td></tr>
|
||
|
<tr class="memdesc:a7a33b7f00100b67f0b3e3b02335ffd6c"><td class="mdescLeft"> </td><td class="mdescRight">The coordinate pairs match if they define line segments lying in the same direction. <a href="#a7a33b7f00100b67f0b3e3b02335ffd6c">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a7a33b7f00100b67f0b3e3b02335ffd6c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae0b845e8ec13895d2294829b444a9770"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#ae0b845e8ec13895d2294829b444a9770">PlanarGraph</a> (const <a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html">PlanarGraph</a> &)=delete</td></tr>
|
||
|
<tr class="separator:ae0b845e8ec13895d2294829b444a9770"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4668dd053cd4db66968d733a8413f9be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html">PlanarGraph</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html#a4668dd053cd4db66968d733a8413f9be">operator=</a> (const <a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html">PlanarGraph</a> &)=delete</td></tr>
|
||
|
<tr class="separator:a4668dd053cd4db66968d733a8413f9be"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Represents a directed graph which is embeddable in a planar surface. </p>
|
||
|
<p>The computation of the IntersectionMatrix relies on the use of a structure called a "topology graph". The topology graph contains nodes and edges corresponding to the nodes and line segments of a Geometry. Each node and edge in the graph is labeled with its topological location relative to the source geometry.</p>
|
||
|
<p>Note that there is no requirement that points of self-intersection be a vertex. Thus to obtain a correct topology graph, Geometry objects must be self-noded before constructing their graphs.</p>
|
||
|
<p>Two fundamental operations are supported by topology graphs:</p>
|
||
|
<ul>
|
||
|
<li>Computing the intersections between all the edges and nodes of a single graph</li>
|
||
|
<li>Computing the intersections between the edges and nodes of two different graphs </li>
|
||
|
</ul>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="geomgraph_2PlanarGraph_8h_source.html#l00075">75</a> of file <a class="el" href="geomgraph_2PlanarGraph_8h_source.html">geomgraph/PlanarGraph.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="acdbab93abb0dc25f6e6bb57bd08f4c74"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geomgraph::PlanarGraph::PlanarGraph </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geomgraph_1_1NodeFactory.html">NodeFactory</a> & </td>
|
||
|
<td class="paramname"><em>nodeFact</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="af11e094a24477957c3334920e45b2224"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geomgraph::PlanarGraph::PlanarGraph </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7d416d3460c3e6db9246e2cd5c6d64da"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual geos::geomgraph::PlanarGraph::~PlanarGraph </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae0b845e8ec13895d2294829b444a9770"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geomgraph::PlanarGraph::PlanarGraph </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html">PlanarGraph</a> & </td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="aebd4ef91b37426f3e3d0e223985217a8"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual void geos::geomgraph::PlanarGraph::add </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">EdgeEnd</a> * </td>
|
||
|
<td class="paramname"><em>e</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ace4497331806c06a77a42e1e406e4244"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual void geos::geomgraph::PlanarGraph::addEdges </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * > & </td>
|
||
|
<td class="paramname"><em>edgesToAdd</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Add a set of edges to the graph. For each edge two DirectedEdges will be created. DirectedEdges are NOT linked by this method. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab95d27e28bde5acad29c90b06c435b07"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual <a class="el" href="classgeos_1_1geomgraph_1_1Node.html">Node</a>* geos::geomgraph::PlanarGraph::addNode </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1Node.html">Node</a> * </td>
|
||
|
<td class="paramname"><em>node</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9042a61b5fe1f0c3c029c78da5602cc3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual <a class="el" href="classgeos_1_1geomgraph_1_1Node.html">Node</a>* geos::geomgraph::PlanarGraph::addNode </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>coord</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae0ae0635a8cf9b0a27e1ae6c963074f0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual <a class="el" href="classgeos_1_1geomgraph_1_1Node.html">Node</a>* geos::geomgraph::PlanarGraph::find </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>coord</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the node if found; null otherwise </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a11f4d623bf8b2d02ac07f4f0c5bf5a68"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a>* geos::geomgraph::PlanarGraph::findEdge </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </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> & </td>
|
||
|
<td class="paramname"><em>p1</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">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns the edge whose first two coordinates are p0 and p1. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the edge, if found <code>null</code> if the edge was not found </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="adef38fcf5bfe7e50cea21cd192102b0f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">EdgeEnd</a>* geos::geomgraph::PlanarGraph::findEdgeEnd </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * </td>
|
||
|
<td class="paramname"><em>e</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns the <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html" title="Models the end of an edge incident on a node. ">EdgeEnd</a> which has edge e as its base edge (MD 18 Feb 2002 - this should return a pair of edges) </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the edge, if found <code>null</code> if the edge was not found </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a2157ecd5b89d1b9e4ddf369e7bb96b7b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual <a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a>* geos::geomgraph::PlanarGraph::findEdgeInSameDirection </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </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> & </td>
|
||
|
<td class="paramname"><em>p1</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">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns the edge which starts at p0 and whose first segment is parallel to p1. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the edge, if found <code>null</code> if the edge was not found </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a45929a3eb0d796fb165182f6c4e889b9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual std::vector<<a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">EdgeEnd</a>*>* geos::geomgraph::PlanarGraph::getEdgeEnds </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a1ecd142ef6db53d77ba4e6470d6ef2b7"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual std::vector<<a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a>*>::iterator geos::geomgraph::PlanarGraph::getEdgeIterator </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a26e6fce205d09645c7f42c9d9d9b1e7e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual <a class="el" href="classgeos_1_1geomgraph_1_1NodeMap.html#ae5d710b76966a68388823434fffc0aa9">NodeMap::iterator</a> geos::geomgraph::PlanarGraph::getNodeIterator </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae274d285e2611fa37f1bc8eab74e645c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual <a class="el" href="classgeos_1_1geomgraph_1_1NodeMap.html">NodeMap</a>* geos::geomgraph::PlanarGraph::getNodeMap </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab55f783d90436cfc332e00352f08879a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual void geos::geomgraph::PlanarGraph::getNodes </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1geomgraph_1_1Node.html">Node</a> * > & </td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8a1446df0cdde2e7b589fd381ecd06e6"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual void geos::geomgraph::PlanarGraph::insertEdge </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a> * </td>
|
||
|
<td class="paramname"><em>e</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae6f0f27839caaadacfe2e343bb3b5859"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual bool geos::geomgraph::PlanarGraph::isBoundaryNode </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>geomIndex</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> & </td>
|
||
|
<td class="paramname"><em>coord</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">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a31ee5909b6359ad60de9b1d6e69cc485"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual void geos::geomgraph::PlanarGraph::linkAllDirectedEdges </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="af0a26502d8cf72fa42d570abd9be725b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<div class="memtemplate">
|
||
|
template<typename It > </div>
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static void geos::geomgraph::PlanarGraph::linkResultDirectedEdges </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">It </td>
|
||
|
<td class="paramname"><em>first</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">It </td>
|
||
|
<td class="paramname"><em>last</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">inline</span><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>For nodes in the collection (first..last), link the DirectedEdges at the node that are in the result. </p>
|
||
|
<p>This allows clients to link only a subset of nodes in the graph, for efficiency (because they know that only a subset is of interest). </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="geomgraph_2PlanarGraph_8h_source.html#l00088">88</a> of file <a class="el" href="geomgraph_2PlanarGraph_8h_source.html">geomgraph/PlanarGraph.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="classgeos_1_1geomgraph_1_1Node.html#aa91d4ee54e4ccdf476467718a0ff3f09">geos::geomgraph::Node::getEdges()</a>, and <a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdgeStar.html#a270d057a50781283471fdbe44e7ac378">geos::geomgraph::DirectedEdgeStar::linkResultDirectedEdges()</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_1geomgraph_1_1PlanarGraph_af0a26502d8cf72fa42d570abd9be725b_cgraph.svg" width="531" height="123"><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="a26be5df2cae967c5739375ac17394821"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual void geos::geomgraph::PlanarGraph::linkResultDirectedEdges </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7a33b7f00100b67f0b3e3b02335ffd6c"></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::PlanarGraph::matchInSameDirection </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </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> & </td>
|
||
|
<td class="paramname"><em>p1</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> & </td>
|
||
|
<td class="paramname"><em>ep0</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> & </td>
|
||
|
<td class="paramname"><em>ep1</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">
|
||
|
|
||
|
<p>The coordinate pairs match if they define line segments lying in the same direction. </p>
|
||
|
<p>E.g. the segments are parallel and in the same quadrant (as opposed to parallel and opposite!). </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4668dd053cd4db66968d733a8413f9be"></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_1geomgraph_1_1PlanarGraph.html">PlanarGraph</a>& geos::geomgraph::PlanarGraph::operator= </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geomgraph_1_1PlanarGraph.html">PlanarGraph</a> & </td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a099b5b053eb0ab7afa22c1e5e9f8794f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">virtual std::string geos::geomgraph::PlanarGraph::printEdges </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a61af6fb669274c0213387a7fe2f47470"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<<a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html">EdgeEnd</a>*>* geos::geomgraph::PlanarGraph::edgeEndList</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="geomgraph_2PlanarGraph_8h_source.html#l00180">180</a> of file <a class="el" href="geomgraph_2PlanarGraph_8h_source.html">geomgraph/PlanarGraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad3ecb348be80ecd85f0dcee548706127"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<<a class="el" href="classgeos_1_1geomgraph_1_1Edge.html">Edge</a>*>* geos::geomgraph::PlanarGraph::edges</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="geomgraph_2PlanarGraph_8h_source.html#l00176">176</a> of file <a class="el" href="geomgraph_2PlanarGraph_8h_source.html">geomgraph/PlanarGraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a777c5bc3eb4a733c3d1653e73237ef2a"></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_1geomgraph_1_1NodeMap.html">NodeMap</a>* geos::geomgraph::PlanarGraph::nodes</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="geomgraph_2PlanarGraph_8h_source.html#l00178">178</a> of file <a class="el" href="geomgraph_2PlanarGraph_8h_source.html">geomgraph/PlanarGraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="geomgraph_2PlanarGraph_8h_source.html">geomgraph/PlanarGraph.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>
|