Class OrientedCoordinateArray

  • All Implemented Interfaces:
    java.lang.Comparable

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

      • compareTo

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