Search Results for

    Show / Hide Table of Contents

    Class EdgeList

    A EdgeList is a list of Edges. It supports locating edges that are point-wise equals to a target edge.

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

    Properties

    | Edit this page View Source

    Edges

    Declaration
    public IList<Edge> Edges { get; }
    Property Value
    Type Description
    IList<Edge>
    | Edit this page View Source

    this[int]

    Declaration
    public Edge this[int index] { get; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type Description
    Edge

    Methods

    | Edit this page View Source

    Add(Edge)

    Insert an edge unless it is already in the list.

    Declaration
    public void Add(Edge e)
    Parameters
    Type Name Description
    Edge e

    An Edge

    | Edit this page View Source

    AddAll(IEnumerable<Edge>)

    Declaration
    public void AddAll(IEnumerable<Edge> edgeColl)
    Parameters
    Type Name Description
    IEnumerable<Edge> edgeColl
    | Edit this page View Source

    FindEdgeIndex(Edge)

    If the edge e is already in the list, return its index.

    Declaration
    public int FindEdgeIndex(Edge e)
    Parameters
    Type Name Description
    Edge e

    An Edge

    Returns
    Type Description
    int

    The index, if e is already in the list, -1 otherwise.

    | Edit this page View Source

    FindEqualEdge(Edge)

    If there is an edge equal to e already in the list, return it. Otherwise return null.

    Declaration
    public Edge FindEqualEdge(Edge e)
    Parameters
    Type Name Description
    Edge e

    An Edge

    Returns
    Type Description
    Edge

    The equal edge, if there is one already in the list, null otherwise.

    | Edit this page View Source

    Get(int)

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

    GetEnumerator()

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

    Remove(Edge)

    Remove the selected Edge element from the list if present.

    Declaration
    public void Remove(Edge e)
    Parameters
    Type Name Description
    Edge e

    Edge element to remove from list

    | Edit this page View Source

    Write(StreamWriter)

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