Class DirectedEdgeStar
A DirectedEdgeStar is an ordered list of outgoing DirectedEdges around a node.
It supports labelling the edges as well as linking the edges to form both
MaximalEdgeRings and MinimalEdgeRings.
Inheritance
DirectedEdgeStar
Assembly: NetTopologySuite.dll
Syntax
public class DirectedEdgeStar : EdgeEndStar
Properties
|
Improve this Doc
View Source
Label
Declaration
public Label Label { get; }
Property Value
Methods
|
Improve this Doc
View Source
ComputeDepths(DirectedEdge)
Declaration
public void ComputeDepths(DirectedEdge de)
Parameters
|
Improve this Doc
View Source
ComputeLabelling(GeometryGraph[])
Compute the labelling for all dirEdges in this star, as well
as the overall labelling.
Declaration
public override void ComputeLabelling(GeometryGraph[] geom)
Parameters
Overrides
|
Improve this Doc
View Source
FindCoveredLineEdges()
Traverse the star of edges, maintaining the current location in the result
area at this node (if any).
If any L edges are found in the interior of the result, mark them as covered.
Declaration
public void FindCoveredLineEdges()
|
Improve this Doc
View Source
GetOutgoingDegree()
Declaration
public int GetOutgoingDegree()
Returns
|
Improve this Doc
View Source
GetOutgoingDegree(EdgeRing)
Declaration
public int GetOutgoingDegree(EdgeRing er)
Parameters
Returns
|
Improve this Doc
View Source
GetRightmostEdge()
Declaration
public DirectedEdge GetRightmostEdge()
Returns
|
Improve this Doc
View Source
Insert(EdgeEnd)
Insert a directed edge in the list.
Declaration
public override void Insert(EdgeEnd ee)
Parameters
Overrides
|
Improve this Doc
View Source
LinkAllDirectedEdges()
Declaration
public void LinkAllDirectedEdges()
|
Improve this Doc
View Source
LinkMinimalDirectedEdges(EdgeRing)
Declaration
public void LinkMinimalDirectedEdges(EdgeRing er)
Parameters
|
Improve this Doc
View Source
LinkResultDirectedEdges()
Traverse the star of DirectedEdges, linking the included edges together.
To link two dirEdges, the next pointer for an incoming dirEdge
is set to the next outgoing edge.
DirEdges are only linked if:
they belong to an area (i.e. they have sides)
they are marked as being in the result
Edges are linked in CCW order (the order they are stored).
This means that rings have their face on the Right
(in other words, the topological location of the face is given by the RHS label of the DirectedEdge).
PRECONDITION: No pair of dirEdges are both marked as being in the result.
Declaration
public void LinkResultDirectedEdges()
|
Improve this Doc
View Source
MergeSymLabels()
For each dirEdge in the star, merge the label .
Declaration
public void MergeSymLabels()
|
Improve this Doc
View Source
UpdateLabelling(Label)
Update incomplete dirEdge labels from the labeling for the node.
Declaration
public void UpdateLabelling(Label nodeLabel)
Parameters
Type |
Name |
Description |
Label |
nodeLabel |
The label to apply
|
|
Improve this Doc
View Source
Write(StreamWriter)
Declaration
public override void Write(StreamWriter outstream)
Parameters
Overrides