Search Results for

    Show / Hide Table of Contents

    Class CoordinateArrays.BidirectionalComparator

    A comparator for Coordinate arrays modulo their directionality. E.g. if two coordinate arrays are identical but reversed they will compare as equal under this ordering. If the arrays are not equal, the ordering returned is the ordering in the forward direction.

    Inheritance
    object
    CoordinateArrays.BidirectionalComparator
    Implements
    IComparer<Coordinate[]>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Geometries
    Assembly: NetTopologySuite.dll
    Syntax
    public class CoordinateArrays.BidirectionalComparator : IComparer<Coordinate[]>

    Methods

    | Edit this page View Source

    Compare(Coordinate[], Coordinate[])

    Compares the specified Coordinates arrays.

    Declaration
    public int Compare(Coordinate[] pts1, Coordinate[] pts2)
    Parameters
    Type Name Description
    Coordinate[] pts1

    An array of coordinates

    Coordinate[] pts2

    An array of coordinates

    Returns
    Type Description
    int
    | Edit this page View Source

    OldCompare(Coordinate[], Coordinate[])

    Declaration
    [Obsolete("Old")]
    public int OldCompare(Coordinate[] pts1, Coordinate[] pts2)
    Parameters
    Type Name Description
    Coordinate[] pts1
    Coordinate[] pts2
    Returns
    Type Description
    int

    Implements

    IComparer<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX