Search Results for

    Show / Hide Table of Contents

    Class UniqueCoordinateArrayFilter

    A ICoordinateFilter that extracts a unique array ofCoordinate s. The array of coordinates contains no duplicate points.

    It preserves the order of the input points.
    Inheritance
    object
    UniqueCoordinateArrayFilter
    Implements
    ICoordinateFilter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Utilities
    Assembly: NetTopologySuite.dll
    Syntax
    public class UniqueCoordinateArrayFilter : ICoordinateFilter

    Properties

    | Edit this page View Source

    Coordinates

    Returns the gathered Coordinates.

    Declaration
    public Coordinate[] Coordinates { get; }
    Property Value
    Type Description
    Coordinate[]

    The Coordinates collected by this ICoordinateArrayFilter

    Methods

    | Edit this page View Source

    Filter(Coordinate)

    Performs an operation with the provided coord. Note that there is no guarantee that the input coordinate is the actual object stored in the source geometry, so changes to the coordinate object may not be persistent.

    Declaration
    public void Filter(Coordinate coord)
    Parameters
    Type Name Description
    Coordinate coord

    A Coordinate to which the filter is applied.

    | Edit this page View Source

    FilterCoordinates(Coordinate[])

    Convenience method which allows running the filter over an array of Coordinates.

    Declaration
    public static Coordinate[] FilterCoordinates(Coordinate[] coords)
    Parameters
    Type Name Description
    Coordinate[] coords

    an array of coordinates

    Returns
    Type Description
    Coordinate[]

    an array of the unique coordinates

    Implements

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