Search Results for

    Show / Hide Table of Contents

    Class IteratedNoder

    Nodes a set of ISegmentStrings completely. The set of ISegmentStrings is fully noded; i.e. noding is repeated until no further intersections are detected.

    Iterated noding using a Floating precision model is not guaranteed to converge, due to round off error. This problem is detected and an exception is thrown. Clients can choose to rerun the noding using a lower precision model.

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

    Constructors

    | Edit this page View Source

    IteratedNoder(PrecisionModel)

    Initializes a new instance of the IteratedNoder class.

    Declaration
    public IteratedNoder(PrecisionModel pm)
    Parameters
    Type Name Description
    PrecisionModel pm

    Fields

    | Edit this page View Source

    MaxIterations

    Declaration
    public const int MaxIterations = 5
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    MaximumIterations

    Gets/Sets the maximum number of noding iterations performed before the noding is aborted. Experience suggests that this should rarely need to be changed from the default. The default is MaxIterations.

    Declaration
    public int MaximumIterations { get; set; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    ComputeNodes(IList<ISegmentString>)

    Fully nodes a list of ISegmentStrings, i.e. performs noding iteratively until no intersections are found between segments. Maintains labelling of edges correctly through the noding.

    Declaration
    public void ComputeNodes(IList<ISegmentString> segStrings)
    Parameters
    Type Name Description
    IList<ISegmentString> segStrings

    A collection of SegmentStrings to be noded.

    Exceptions
    Type Condition
    TopologyException

    If the iterated noding fails to converge.

    | Edit this page View Source

    GetNodedSubstrings()

    Returns a IList 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
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX