Search Results for

    Show / Hide Table of Contents

    Class DirectedEdgeStar

    A sorted collection of DirectedEdges which leave a Node in a PlanarGraph.

    Inheritance
    object
    DirectedEdgeStar
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Planargraph
    Assembly: NetTopologySuite.dll
    Syntax
    public class DirectedEdgeStar

    Properties

    | Edit this page View Source

    Coordinate

    Returns the coordinate for the node at which this star is based.

    Declaration
    public Coordinate Coordinate { get; }
    Property Value
    Type Description
    Coordinate
    | Edit this page View Source

    Degree

    Returns the number of edges around the Node associated with this DirectedEdgeStar.

    Declaration
    public int Degree { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Edges

    Returns the DirectedEdges, in ascending order by angle with the positive x-axis.

    Declaration
    public IList<DirectedEdge> Edges { get; }
    Property Value
    Type Description
    IList<DirectedEdge>

    Methods

    | Edit this page View Source

    Add(DirectedEdge)

    Adds a new member to this DirectedEdgeStar.

    Declaration
    public void Add(DirectedEdge de)
    Parameters
    Type Name Description
    DirectedEdge de
    | Edit this page View Source

    GetEnumerator()

    Returns an Iterator over the DirectedEdges, in ascending order by angle with the positive x-axis.

    Declaration
    public IEnumerator<DirectedEdge> GetEnumerator()
    Returns
    Type Description
    IEnumerator<DirectedEdge>
    | Edit this page View Source

    GetIndex(DirectedEdge)

    Returns the zero-based index of the given DirectedEdge, after sorting in ascending order by angle with the positive x-axis.

    Declaration
    public int GetIndex(DirectedEdge dirEdge)
    Parameters
    Type Name Description
    DirectedEdge dirEdge
    Returns
    Type Description
    int
    | Edit this page View Source

    GetIndex(Edge)

    Returns the zero-based index of the given Edge, after sorting in ascending order by angle with the positive x-axis.

    Declaration
    public int GetIndex(Edge edge)
    Parameters
    Type Name Description
    Edge edge
    Returns
    Type Description
    int
    | Edit this page View Source

    GetIndex(int)

    Returns the remainder when i is divided by the number of edges in this DirectedEdgeStar.

    Declaration
    public int GetIndex(int i)
    Parameters
    Type Name Description
    int i
    Returns
    Type Description
    int
    | Edit this page View Source

    GetNextCWEdge(DirectedEdge)

    Returns the DirectedEdge on the right-hand (CW) side of the given DirectedEdge (which must be a member of this DirectedEdgeStar).

    Declaration
    public DirectedEdge GetNextCWEdge(DirectedEdge dirEdge)
    Parameters
    Type Name Description
    DirectedEdge dirEdge
    Returns
    Type Description
    DirectedEdge
    | Edit this page View Source

    GetNextEdge(DirectedEdge)

    Returns the DirectedEdge on the left-hand side of the given DirectedEdge (which must be a member of this DirectedEdgeStar).

    Declaration
    public DirectedEdge GetNextEdge(DirectedEdge dirEdge)
    Parameters
    Type Name Description
    DirectedEdge dirEdge
    Returns
    Type Description
    DirectedEdge
    | Edit this page View Source

    Remove(DirectedEdge)

    Drops a member of this DirectedEdgeStar.

    Declaration
    public void Remove(DirectedEdge de)
    Parameters
    Type Name Description
    DirectedEdge de
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX