Search Results for

    Show / Hide Table of Contents

    Class ValidatingNoder

    A wrapper for INoders which validates the output arrangement is correctly noded. An arrangement of line segments is fully noded if there is no line segment which has another segment intersecting its interior. If the noding is not correct, a TopologyException is thrown with details of the first invalid location found.

    Inheritance
    object
    ValidatingNoder
    Implements
    INoder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Noding
    Assembly: NetTopologySuite.dll
    Syntax
    public sealed class ValidatingNoder : INoder

    Constructors

    | Edit this page View Source

    ValidatingNoder(INoder)

    Creates a noding validator wrapping the given noder

    Declaration
    public ValidatingNoder(INoder noder)
    Parameters
    Type Name Description
    INoder noder

    The noder to validate

    Methods

    | Edit this page View Source

    ComputeNodes(IList<ISegmentString>)

    Checks whether the output of the wrapped noder is fully noded. Throws an exception if it is not.

    Declaration
    public void ComputeNodes(IList<ISegmentString> segStrings)
    Parameters
    Type Name Description
    IList<ISegmentString> segStrings
    Exceptions
    Type Condition
    TopologyException
    | Edit this page View Source

    GetNodedSubstrings()

    Returns a IList<T> of fully noded ISegmentStrings. The ISegmentStrings have the same context as their parent.

    Declaration
    public IList<ISegmentString> GetNodedSubstrings()
    Returns
    Type Description
    IList<ISegmentString>

    Implements

    INoder

    See Also

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