Search Results for

    Show / Hide Table of Contents

    Class MonotoneChainBuilder

    Constructs MonotoneChains for sequences of Coordinates.

    Inheritance
    object
    MonotoneChainBuilder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Index.Chain
    Assembly: NetTopologySuite.dll
    Syntax
    public class MonotoneChainBuilder

    Methods

    | Edit this page View Source

    GetChainStartIndices(Coordinate[])

    Return an array containing lists of start/end indexes of the monotone chains for the given list of coordinates. The last entry in the array points to the end point of the point array, for use as a sentinel.

    Declaration
    [Obsolete]
    public static int[] GetChainStartIndices(Coordinate[] pts)
    Parameters
    Type Name Description
    Coordinate[] pts
    Returns
    Type Description
    int[]
    | Edit this page View Source

    GetChains(Coordinate[])

    Computes a list of the MonotoneChains for a list of coordinates.

    Declaration
    public static ReadOnlyCollection<MonotoneChain> GetChains(Coordinate[] pts)
    Parameters
    Type Name Description
    Coordinate[] pts

    The list of points to compute chains for

    Returns
    Type Description
    ReadOnlyCollection<MonotoneChain>

    A list of the monotone chains for the points

    | Edit this page View Source

    GetChains(Coordinate[], object)

    Return a list of the MonotoneChains for the given list of coordinates.

    Declaration
    public static ReadOnlyCollection<MonotoneChain> GetChains(Coordinate[] pts, object context)
    Parameters
    Type Name Description
    Coordinate[] pts

    The list of points to compute chains for

    object context

    A data object to attach to each chain

    Returns
    Type Description
    ReadOnlyCollection<MonotoneChain>

    A list of the monotone chains for the points

    | Edit this page View Source

    ToIntArray(IList<int>)

    Declaration
    [Obsolete]
    public static int[] ToIntArray(IList<int> list)
    Parameters
    Type Name Description
    IList<int> list
    Returns
    Type Description
    int[]
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX