Search Results for

    Show / Hide Table of Contents

    Class MCIndexNoder

    Nodes a set of ISegmentStrings using a index based on MonotoneChains and a ISpatialIndex<T>. The ISpatialIndex<T> used should be something that supports envelope (range) queries efficiently (such as a Quadtree" or HPRtree<T>.

    The noder supports using an overlap tolerance distance. This allows determining segment intersection using a buffer for uses involving snapping with a distance tolerance.
    Inheritance
    object
    SinglePassNoder
    MCIndexNoder
    Implements
    INoder
    Inherited Members
    SinglePassNoder.SegmentIntersector
    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 MCIndexNoder : SinglePassNoder, INoder

    Constructors

    | Edit this page View Source

    MCIndexNoder()

    Initializes a new instance of the MCIndexNoder class.

    Declaration
    public MCIndexNoder()
    | Edit this page View Source

    MCIndexNoder(ISegmentIntersector)

    Initializes a new instance of the MCIndexNoder class.

    Declaration
    public MCIndexNoder(ISegmentIntersector si)
    Parameters
    Type Name Description
    ISegmentIntersector si

    The ISegmentIntersector to use.

    | Edit this page View Source

    MCIndexNoder(ISegmentIntersector, double)

    Initializes a new instance of the MCIndexNoder class.

    Declaration
    public MCIndexNoder(ISegmentIntersector si, double overlapTolerance)
    Parameters
    Type Name Description
    ISegmentIntersector si

    The ISegmentIntersector to use.

    double overlapTolerance

    The expansion distance for overlap tests

    Properties

    | Edit this page View Source

    Index

    Declaration
    public ISpatialIndex<MonotoneChain> Index { get; }
    Property Value
    Type Description
    ISpatialIndex<MonotoneChain>
    | Edit this page View Source

    MonotoneChains

    Declaration
    public IList<MonotoneChain> MonotoneChains { get; }
    Property Value
    Type Description
    IList<MonotoneChain>

    Methods

    | Edit this page View Source

    ComputeNodes(IList<ISegmentString>)

    Computes the noding for a collection of ISegmentStrings. Some Noders may add all these nodes to the input ISegmentStrings; others may only add some or none at all.

    Declaration
    public override void ComputeNodes(IList<ISegmentString> inputSegStrings)
    Parameters
    Type Name Description
    IList<ISegmentString> inputSegStrings
    Overrides
    SinglePassNoder.ComputeNodes(IList<ISegmentString>)
    | 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 override IList<ISegmentString> GetNodedSubstrings()
    Returns
    Type Description
    IList<ISegmentString>
    Overrides
    SinglePassNoder.GetNodedSubstrings()

    Implements

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