code: public static boolean epsilonEquals (IPoint p1, IPoint p2, float epsilon) {
          return Math.abs(p1.x() - p2.x()) < epsilon && Math.abs(p1.y() - p2.y()) < epsilon;
      }
docs: Returns true if the supplied points' x and y components are equal to one another within
  {@code epsilon}.