Search Results for

    Show / Hide Table of Contents

    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
    object
    EdgeEndStar
    DirectedEdgeStar
    Inherited Members
    EdgeEndStar.edgeMap
    EdgeEndStar.edgeList
    EdgeEndStar.InsertEdgeEnd(EdgeEnd, EdgeEnd)
    EdgeEndStar.Coordinate
    EdgeEndStar.Degree
    EdgeEndStar.GetEnumerator()
    EdgeEndStar.Edges
    EdgeEndStar.GetNextCW(EdgeEnd)
    EdgeEndStar.IsAreaLabelsConsistent(GeometryGraph)
    EdgeEndStar.PropagateSideLabels(int)
    EdgeEndStar.FindIndex(EdgeEnd)
    EdgeEndStar.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: NetTopologySuite.GeometriesGraph
    Assembly: NetTopologySuite.dll
    Syntax
    public class DirectedEdgeStar : EdgeEndStar

    Properties

    | Edit this page View Source

    Label

    Declaration
    public Label Label { get; }
    Property Value
    Type Description
    Label

    Methods

    | Edit this page View Source

    ComputeDepths(DirectedEdge)

    Declaration
    public void ComputeDepths(DirectedEdge de)
    Parameters
    Type Name Description
    DirectedEdge de
    | Edit this page 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
    Type Name Description
    GeometryGraph[] geom
    Overrides
    EdgeEndStar.ComputeLabelling(GeometryGraph[])
    | Edit this page 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()
    | Edit this page View Source

    GetOutgoingDegree()

    Declaration
    public int GetOutgoingDegree()
    Returns
    Type Description
    int
    | Edit this page View Source

    GetOutgoingDegree(EdgeRing)

    Declaration
    public int GetOutgoingDegree(EdgeRing er)
    Parameters
    Type Name Description
    EdgeRing er
    Returns
    Type Description
    int
    | Edit this page View Source

    GetRightmostEdge()

    Declaration
    public DirectedEdge GetRightmostEdge()
    Returns
    Type Description
    DirectedEdge
    | Edit this page View Source

    Insert(EdgeEnd)

    Insert a directed edge in the list.

    Declaration
    public override void Insert(EdgeEnd ee)
    Parameters
    Type Name Description
    EdgeEnd ee
    Overrides
    EdgeEndStar.Insert(EdgeEnd)
    | Edit this page View Source

    LinkAllDirectedEdges()

    Declaration
    public void LinkAllDirectedEdges()
    | Edit this page View Source

    LinkMinimalDirectedEdges(EdgeRing)

    Declaration
    public void LinkMinimalDirectedEdges(EdgeRing er)
    Parameters
    Type Name Description
    EdgeRing er
    | Edit this page 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()
    | Edit this page View Source

    MergeSymLabels()

    For each dirEdge in the star, merge the label .

    Declaration
    public void MergeSymLabels()
    | Edit this page 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

    | Edit this page View Source

    Write(StreamWriter)

    Declaration
    public override void Write(StreamWriter outstream)
    Parameters
    Type Name Description
    StreamWriter outstream
    Overrides
    EdgeEndStar.Write(StreamWriter)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX