Search Results for

    Show / Hide Table of Contents

    Class EdgeGraphBuilder

    Builds an edge graph from geometries containing edges.

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

    Constructors

    | Edit this page View Source

    EdgeGraphBuilder()

    Creates a new EdgeGraphBuilder.

    Declaration
    public EdgeGraphBuilder()

    Methods

    | Edit this page View Source

    Add(Geometry)

    Adds the edges of a Geometry to the graph. May be called multiple times. Any dimension of Geometry may be added; the constituent edges are extracted.

    Declaration
    public void Add(Geometry geometry)
    Parameters
    Type Name Description
    Geometry geometry

    geometry to be added

    | Edit this page View Source

    Add(IEnumerable<Geometry>)

    Adds the edges in a collection of Geometrys to the graph. May be called multiple times. Any dimension of Geometry may be added.

    Declaration
    public void Add(IEnumerable<Geometry> geometries)
    Parameters
    Type Name Description
    IEnumerable<Geometry> geometries

    the geometries to be added

    | Edit this page View Source

    Build(IEnumerable<Geometry>)

    Factory method to build an EdgeGraph.

    Declaration
    public static EdgeGraph Build(IEnumerable<Geometry> geoms)
    Parameters
    Type Name Description
    IEnumerable<Geometry> geoms

    The geometries to make up the EdgeGraph

    Returns
    Type Description
    EdgeGraph

    An EdgeGraph of the geoms

    | Edit this page View Source

    GetGraph()

    Gets the created EdgeGraph

    Declaration
    public EdgeGraph GetGraph()
    Returns
    Type Description
    EdgeGraph

    The created EdgeGraph

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX