code: private static boolean equalAsInts2d(Coordinate a, Coordinate b) {
          return ((int)a.getOrdinate(0)) == ((int)b.getOrdinate(0))
                  && ((int)a.getOrdinate(1)) == ((int)b.getOrdinate(1));
      }
docs: Return true if the values of the two {@link Coordinate} are equal when their
  first and second ordinates are cast as ints. Ignores 3rd ordinate.
  
  @param a first coordinate to compare
  @param b second coordinate to compare
  @return true if the values of the two {@link Coordinate} are equal when their
  first and second ordinates are cast as ints