A subgraph of a PlanarGraph. A subgraph may contain any subset of Edges from the parent graph. It will also automatically contain all DirectedEdges and Nodes associated with those edges. No new objects are created when edges are added - all associated components must already exist in the parent graph.
More...
A subgraph of a PlanarGraph. A subgraph may contain any subset of Edges from the parent graph. It will also automatically contain all DirectedEdges and Nodes associated with those edges. No new objects are created when edges are added - all associated components must already exist in the parent graph.
NetTopologySuite.Planargraph.Subgraph.Subgraph |
( |
PlanarGraph |
parentGraph | ) |
|
Creates a new subgraph of the given PlanarGraph.
- Parameters
-
void NetTopologySuite.Planargraph.Subgraph.Add |
( |
Edge |
e | ) |
|
bool NetTopologySuite.Planargraph.Subgraph.Contains |
( |
Edge |
e | ) |
|
Tests whether an Edge is contained in this subgraph.
- Parameters
-
- Returns
true
if the Edge is contained in this subgraph.
IEnumerator<DirectedEdge> NetTopologySuite.Planargraph.Subgraph.GetDirEdgeEnumerator |
( |
| ) |
|
Returns an IEnumerator{DirectedEdge} over the DirectedEdges in this graph, in the order in which they were added.
- Returns
IEnumerator<Edge> NetTopologySuite.Planargraph.Subgraph.GetEdgeEnumerator |
( |
| ) |
|
Returns an IEnumerator{Edge} over the Edges in this graph, in the order in which they were added.
- Returns
IEnumerator<Node> NetTopologySuite.Planargraph.Subgraph.GetNodeEnumerator |
( |
| ) |
|
Returns an IEnumerator{Node} over the Nodes in this graph.
- Returns
PlanarGraph NetTopologySuite.Planargraph.Subgraph.GetParent |
( |
| ) |
|
Gets the PlanarGraph which this subgraph is part of.
- Returns
Set<Edge> NetTopologySuite.Planargraph.Subgraph.edges = new Set<Edge>() |
|
protected |
PlanarGraph NetTopologySuite.Planargraph.Subgraph.parentGraph |
|
protected |
The documentation for this class was generated from the following file:
- NetTopologySuite/NetTopologySuite/Planargraph/Subgraph.cs