588 lines
32 KiB
HTML
588 lines
32 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::planargraph::Subgraph 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_1planargraph.html">planargraph</a></li><li class="navelem"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html">Subgraph</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pro-methods">Protected Member Functions</a> |
|
||
|
<a href="#pro-attribs">Protected Attributes</a> |
|
||
|
<a href="classgeos_1_1planargraph_1_1Subgraph-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::planargraph::Subgraph Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>A subgraph of a <a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html" title="Represents a directed graph which is embeddable in a planar surface. ">PlanarGraph</a>.
|
||
|
<a href="classgeos_1_1planargraph_1_1Subgraph.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::planargraph::Subgraph:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1planargraph_1_1Subgraph__coll__graph.svg" width="270" height="271"><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:a8630d3ccec1933d4f80f46d74891f70f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a8630d3ccec1933d4f80f46d74891f70f">Subgraph</a> (<a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html">PlanarGraph</a> &parent)</td></tr>
|
||
|
<tr class="memdesc:a8630d3ccec1933d4f80f46d74891f70f"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new subgraph of the given <a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html" title="Represents a directed graph which is embeddable in a planar surface. ">PlanarGraph</a>. <a href="#a8630d3ccec1933d4f80f46d74891f70f">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a8630d3ccec1933d4f80f46d74891f70f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2df790a8b39e5624b132a966ce28b1a9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html">PlanarGraph</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a2df790a8b39e5624b132a966ce28b1a9">getParent</a> () const </td></tr>
|
||
|
<tr class="memdesc:a2df790a8b39e5624b132a966ce28b1a9"><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html" title="Represents a directed graph which is embeddable in a planar surface. ">PlanarGraph</a> which this subgraph is part of. <a href="#a2df790a8b39e5624b132a966ce28b1a9">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a2df790a8b39e5624b132a966ce28b1a9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa2463e015559901fc7c53353689ce942"><td class="memItemLeft" align="right" valign="top">std::pair< std::set< <a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a> * >::iterator, bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#aa2463e015559901fc7c53353689ce942">add</a> (<a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a> *e)</td></tr>
|
||
|
<tr class="memdesc:aa2463e015559901fc7c53353689ce942"><td class="mdescLeft"> </td><td class="mdescRight">Adds an <a class="el" href="classgeos_1_1planargraph_1_1Edge.html" title="Represents an undirected edge of a PlanarGraph. ">Edge</a> to the subgraph. <a href="#aa2463e015559901fc7c53353689ce942">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aa2463e015559901fc7c53353689ce942"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9e05f70a3d04d371d53ddd7682cd5215"><td class="memItemLeft" align="right" valign="top">std::vector< const <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> * >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a9e05f70a3d04d371d53ddd7682cd5215">getDirEdgeBegin</a> ()</td></tr>
|
||
|
<tr class="memdesc:a9e05f70a3d04d371d53ddd7682cd5215"><td class="mdescLeft"> </td><td class="mdescRight">Returns an iterator over the <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph. ">DirectedEdge</a> in this graph, in the order in which they were added. <a href="#a9e05f70a3d04d371d53ddd7682cd5215">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a9e05f70a3d04d371d53ddd7682cd5215"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a41c2167709f02478311b784031318e9d"><td class="memItemLeft" align="right" valign="top">std::set< <a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a> * >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a41c2167709f02478311b784031318e9d">edgeBegin</a> ()</td></tr>
|
||
|
<tr class="memdesc:a41c2167709f02478311b784031318e9d"><td class="mdescLeft"> </td><td class="mdescRight">Returns an iterator over the <a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a>s in this graph, in the order in which they were added. <a href="#a41c2167709f02478311b784031318e9d">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a41c2167709f02478311b784031318e9d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5b90d2be057c969c48a616a23dcfdfae"><td class="memItemLeft" align="right" valign="top">std::set< <a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a> * >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a5b90d2be057c969c48a616a23dcfdfae">edgeEnd</a> ()</td></tr>
|
||
|
<tr class="separator:a5b90d2be057c969c48a616a23dcfdfae"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6b6f87cfeb8de147d7f0197294e3b90b"><td class="memItemLeft" align="right" valign="top">NodeMap::container::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a6b6f87cfeb8de147d7f0197294e3b90b">nodeBegin</a> ()</td></tr>
|
||
|
<tr class="memdesc:a6b6f87cfeb8de147d7f0197294e3b90b"><td class="mdescLeft"> </td><td class="mdescRight">Returns a iterators over the planar <a class="el" href="classgeos_1_1planargraph_1_1NodeMap.html#a972626cf00c019d7413903a3c33ab2a9">NodeMap::container</a> in this graph. <a href="#a6b6f87cfeb8de147d7f0197294e3b90b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a6b6f87cfeb8de147d7f0197294e3b90b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3073d60ec46d1317df16104b798a560f"><td class="memItemLeft" align="right" valign="top">NodeMap::container::const_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a3073d60ec46d1317df16104b798a560f">nodeEnd</a> () const </td></tr>
|
||
|
<tr class="separator:a3073d60ec46d1317df16104b798a560f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9dd0a53b701637a1de6d5ae0d69b83e6"><td class="memItemLeft" align="right" valign="top">NodeMap::container::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a9dd0a53b701637a1de6d5ae0d69b83e6">nodeEnd</a> ()</td></tr>
|
||
|
<tr class="separator:a9dd0a53b701637a1de6d5ae0d69b83e6"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8788aadec535bcabccb72d9d30b95b6e"><td class="memItemLeft" align="right" valign="top">NodeMap::container::const_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a8788aadec535bcabccb72d9d30b95b6e">nodeBegin</a> () const </td></tr>
|
||
|
<tr class="separator:a8788aadec535bcabccb72d9d30b95b6e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a210b99e0f607b610a08df16ea83523a0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a210b99e0f607b610a08df16ea83523a0">contains</a> (<a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a> *e)</td></tr>
|
||
|
<tr class="memdesc:a210b99e0f607b610a08df16ea83523a0"><td class="mdescLeft"> </td><td class="mdescRight">Tests whether an <a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a> is contained in this subgraph. <a href="#a210b99e0f607b610a08df16ea83523a0">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a210b99e0f607b610a08df16ea83523a0"><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:aead46c0716d9ea8f7e64014f088b65ad"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#aead46c0716d9ea8f7e64014f088b65ad">Subgraph</a> (const <a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html">Subgraph</a> &other)=delete</td></tr>
|
||
|
<tr class="separator:aead46c0716d9ea8f7e64014f088b65ad"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4dddfedf7bb2c496b7a5862dcfe3ef25"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html">Subgraph</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a4dddfedf7bb2c496b7a5862dcfe3ef25">operator=</a> (const <a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html">Subgraph</a> &rhs)=delete</td></tr>
|
||
|
<tr class="separator:a4dddfedf7bb2c496b7a5862dcfe3ef25"><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:a777972a95f270d3a8fff79f422a229e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html">PlanarGraph</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a777972a95f270d3a8fff79f422a229e6">parentGraph</a></td></tr>
|
||
|
<tr class="separator:a777972a95f270d3a8fff79f422a229e6"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3e6bbb90c7519cc5b9aae8dab7e5fdd6"><td class="memItemLeft" align="right" valign="top">std::set< <a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#a3e6bbb90c7519cc5b9aae8dab7e5fdd6">edges</a></td></tr>
|
||
|
<tr class="separator:a3e6bbb90c7519cc5b9aae8dab7e5fdd6"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae811468e8c1b6984a05762129bcf649c"><td class="memItemLeft" align="right" valign="top">std::vector< const <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#ae811468e8c1b6984a05762129bcf649c">dirEdges</a></td></tr>
|
||
|
<tr class="separator:ae811468e8c1b6984a05762129bcf649c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab623d1a1f693836a9c6cfc2d6f529086"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1planargraph_1_1NodeMap.html">NodeMap</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html#ab623d1a1f693836a9c6cfc2d6f529086">nodeMap</a></td></tr>
|
||
|
<tr class="separator:ab623d1a1f693836a9c6cfc2d6f529086"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>A subgraph of a <a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html" title="Represents a directed graph which is embeddable in a planar surface. ">PlanarGraph</a>. </p>
|
||
|
<p>A subgraph may contain any subset of <a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a>s from the parent graph. It will also automatically contain all <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a>s and <a class="el" href="classgeos_1_1planargraph_1_1Node.html">Node</a>s associated with those edges. No new objects are created when edges are added - all associated components must already exist in the parent graph.</p>
|
||
|
<dl class="section note"><dt>Note</dt><dd>Actually we'll be copying Coordinates in <a class="el" href="classgeos_1_1planargraph_1_1NodeMap.html" title="A map of Node, indexed by the coordinate of the node. ">NodeMap</a>. I guess that'll need to be changed soon. </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Subgraph_8h_source.html#l00053">53</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="a8630d3ccec1933d4f80f46d74891f70f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::planargraph::Subgraph::Subgraph </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html">PlanarGraph</a> & </td>
|
||
|
<td class="paramname"><em>parent</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>Creates a new subgraph of the given <a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html" title="Represents a directed graph which is embeddable in a planar surface. ">PlanarGraph</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">parent</td><td>the parent graph </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Subgraph_8h_source.html#l00060">60</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aead46c0716d9ea8f7e64014f088b65ad"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::planargraph::Subgraph::Subgraph </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html">Subgraph</a> & </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</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="aa2463e015559901fc7c53353689ce942"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::pair<std::set<<a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a>*>::iterator, bool> geos::planargraph::Subgraph::add </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a> * </td>
|
||
|
<td class="paramname"><em>e</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Adds an <a class="el" href="classgeos_1_1planargraph_1_1Edge.html" title="Represents an undirected edge of a PlanarGraph. ">Edge</a> to the subgraph. </p>
|
||
|
<p>The associated <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a>s and <a class="el" href="classgeos_1_1planargraph_1_1Node.html">Node</a>s are also added.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">e</td><td>the edge to add</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>a pair with first element being an iterator to the <a class="el" href="classgeos_1_1planargraph_1_1Edge.html" title="Represents an undirected edge of a PlanarGraph. ">Edge</a> in set and second element being a boolean value indicating wheter the <a class="el" href="classgeos_1_1planargraph_1_1Edge.html" title="Represents an undirected edge of a PlanarGraph. ">Edge</a> has been inserted now or was already in the set. </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a210b99e0f607b610a08df16ea83523a0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::planargraph::Subgraph::contains </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1planargraph_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">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Tests whether an <a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a> is contained in this subgraph. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">e</td><td>the edge to test </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the edge is contained in this subgraph </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Subgraph_8h_source.html#l00159">159</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a41c2167709f02478311b784031318e9d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::set<<a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a>*>::iterator geos::planargraph::Subgraph::edgeBegin </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> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns an iterator over the <a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a>s in this graph, in the order in which they were added. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>an iterator over the edges</dd></dl>
|
||
|
<dl class="section see"><dt>See also</dt><dd>add(Edge) </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Subgraph_8h_source.html#l00117">117</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5b90d2be057c969c48a616a23dcfdfae"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::set<<a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a>*>::iterator geos::planargraph::Subgraph::edgeEnd </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> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Subgraph_8h_source.html#l00122">122</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9e05f70a3d04d371d53ddd7682cd5215"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<const <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a>*>::iterator geos::planargraph::Subgraph::getDirEdgeBegin </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> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns an iterator over the <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph. ">DirectedEdge</a> in this graph, in the order in which they were added. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>an iterator over the directed edges</dd></dl>
|
||
|
<dl class="section see"><dt>See also</dt><dd>add(Edge) </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Subgraph_8h_source.html#l00102">102</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a2df790a8b39e5624b132a966ce28b1a9"></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_1planargraph_1_1PlanarGraph.html">PlanarGraph</a>& geos::planargraph::Subgraph::getParent </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 <a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html" title="Represents a directed graph which is embeddable in a planar surface. ">PlanarGraph</a> which this subgraph is part of. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the parent <a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html" title="Represents a directed graph which is embeddable in a planar surface. ">PlanarGraph</a> </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Subgraph_8h_source.html#l00072">72</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6b6f87cfeb8de147d7f0197294e3b90b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">NodeMap::container::iterator geos::planargraph::Subgraph::nodeBegin </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> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns a iterators over the planar <a class="el" href="classgeos_1_1planargraph_1_1NodeMap.html#a972626cf00c019d7413903a3c33ab2a9">NodeMap::container</a> in this graph. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Subgraph_8h_source.html#l00132">132</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8788aadec535bcabccb72d9d30b95b6e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">NodeMap::container::const_iterator geos::planargraph::Subgraph::nodeBegin </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="Subgraph_8h_source.html#l00147">147</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3073d60ec46d1317df16104b798a560f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">NodeMap::container::const_iterator geos::planargraph::Subgraph::nodeEnd </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="Subgraph_8h_source.html#l00137">137</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9dd0a53b701637a1de6d5ae0d69b83e6"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">NodeMap::container::iterator geos::planargraph::Subgraph::nodeEnd </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> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Subgraph_8h_source.html#l00142">142</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4dddfedf7bb2c496b7a5862dcfe3ef25"></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_1planargraph_1_1Subgraph.html">Subgraph</a>& geos::planargraph::Subgraph::operator= </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1planargraph_1_1Subgraph.html">Subgraph</a> & </td>
|
||
|
<td class="paramname"><em>rhs</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">delete</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="ae811468e8c1b6984a05762129bcf649c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<const <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a>*> geos::planargraph::Subgraph::dirEdges</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="Subgraph_8h_source.html#l00168">168</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3e6bbb90c7519cc5b9aae8dab7e5fdd6"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::set<<a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a>*> geos::planargraph::Subgraph::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="Subgraph_8h_source.html#l00167">167</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab623d1a1f693836a9c6cfc2d6f529086"></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_1planargraph_1_1NodeMap.html">NodeMap</a> geos::planargraph::Subgraph::nodeMap</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="Subgraph_8h_source.html#l00169">169</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a777972a95f270d3a8fff79f422a229e6"></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_1planargraph_1_1PlanarGraph.html">PlanarGraph</a>& geos::planargraph::Subgraph::parentGraph</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="Subgraph_8h_source.html#l00166">166</a> of file <a class="el" href="Subgraph_8h_source.html">Subgraph.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="Subgraph_8h_source.html">Subgraph.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>
|