Search Results for

    Show / Hide Table of Contents

    Class EdgeNodingValidator

    Validates that a collection of Edge is correctly noded. Throws an appropriate exception if an noding error is found. Uses FastNodingValidator to perform the validation.

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

    Constructors

    | Edit this page View Source

    EdgeNodingValidator(IEnumerable<Edge>)

    Creates a new validator for the given collection of Edges.

    Declaration
    public EdgeNodingValidator(IEnumerable<Edge> edges)
    Parameters
    Type Name Description
    IEnumerable<Edge> edges

    Methods

    | Edit this page View Source

    CheckValid()

    Checks whether the supplied edges are correctly noded.

    Declaration
    public void CheckValid()
    Exceptions
    Type Condition
    TopologyException

    If the SegmentStrings are not correctly noded

    | Edit this page View Source

    CheckValid(IEnumerable<Edge>)

    Checks whether the supplied Edges are correctly noded.

    Declaration
    public static void CheckValid(IEnumerable<Edge> edges)
    Parameters
    Type Name Description
    IEnumerable<Edge> edges

    an enumeration of Edges.

    Exceptions
    Type Condition
    TopologyException

    If the SegmentStrings are not correctly noded

    | Edit this page View Source

    ToSegmentStrings(IEnumerable<Edge>)

    Builds an enumeration of segment strings from the provided edges.

    Declaration
    public static IEnumerable<ISegmentString> ToSegmentStrings(IEnumerable<Edge> edges)
    Parameters
    Type Name Description
    IEnumerable<Edge> edges

    An enumeration of Edges

    Returns
    Type Description
    IEnumerable<ISegmentString>

    An enumeration of ISegmentStrings

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