Table of Contents

Class ValidatingNoder

Namespace
NetTopologySuite.Noding
Assembly
NetTopologySuite.dll

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.

public sealed class ValidatingNoder : INoder
Inheritance
ValidatingNoder
Implements
Inherited Members

Constructors

ValidatingNoder(INoder)

Creates a noding validator wrapping the given noder

public ValidatingNoder(INoder noder)

Parameters

noder INoder

The noder to validate

See Also

Methods

ComputeNodes(IList<ISegmentString>)

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

public void ComputeNodes(IList<ISegmentString> segStrings)

Parameters

segStrings IList<ISegmentString>

Exceptions

TopologyException
See Also

GetNodedSubstrings()

public IList<ISegmentString> GetNodedSubstrings()

Returns

IList<ISegmentString>
See Also

See Also