Search Results for

    Show / Hide Table of Contents

    Class NodeMap

    A map of nodes, indexed by the coordinate of the node.

    Inheritance
    object
    NodeMap
    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 NodeMap

    Properties

    | Edit this page View Source

    Count

    Returns the number of Nodes in this NodeMap.

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

    Values

    Returns the Nodes in this NodeMap, sorted in ascending order by angle with the positive x-axis.

    Declaration
    public ICollection<Node> Values { get; }
    Property Value
    Type Description
    ICollection<Node>

    Methods

    | Edit this page View Source

    Add(Node)

    Adds a node to the map, replacing any that is already at that location.

    Declaration
    public Node Add(Node n)
    Parameters
    Type Name Description
    Node n
    Returns
    Type Description
    Node

    The added node.

    | Edit this page View Source

    Find(Coordinate)

    Returns the Node at the given location, or null if no Node was there.

    Declaration
    public Node Find(Coordinate coord)
    Parameters
    Type Name Description
    Coordinate coord
    Returns
    Type Description
    Node
    | Edit this page View Source

    GetEnumerator()

    Returns an Iterator over the Nodes in this NodeMap, sorted in ascending order by angle with the positive x-axis.

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

    Remove(Coordinate)

    Removes the Node at the given location, and returns it (or null if no Node was there).

    Declaration
    public Node Remove(Coordinate pt)
    Parameters
    Type Name Description
    Coordinate pt
    Returns
    Type Description
    Node
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX