Class CoordinateArrays.ForwardComparator
Compares two Coordinate arrays in the forward direction of their coordinates, using lexicographic ordering.
Implements
Inherited Members
Namespace: NetTopologySuite.Geometries
Assembly: NetTopologySuite.dll
Syntax
public class ForwardComparator : IComparer<Coordinate[]>
Methods
| Improve this Doc View SourceCompare(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 |
---|---|
Int32 |