Class OrientedCoordinateArray

java.lang.Object
org.locationtech.jts.noding.OrientedCoordinateArray
All Implemented Interfaces:
Comparable

public class OrientedCoordinateArray extends Object implements Comparable
Allows comparing Coordinate arrays in an orientation-independent way.
Version:
1.7
Author:
Martin Davis
  • Constructor Details

  • Method Details

    • compareTo

      public int compareTo(Object o1)
      Compares two OrientedCoordinateArrays for their relative order
      Specified by:
      compareTo in interface Comparable
      Returns:
      -1 this one is smaller; 0 the two objects are equal; 1 this one is greater