cdm/src/main/java/ucar/unidata/geoloc/ProjectionRect.java
public boolean nearlyEquals(ProjectionRect other, double maxRelDiff) {
    return this.getLowerLeftPoint() .nearlyEquals(other.getLowerLeftPoint(),  maxRelDiff) &&
           this.getUpperRightPoint().nearlyEquals(other.getUpperRightPoint(), maxRelDiff);
  }
public boolean nearlyEquals(ProjectionRect other, double maxRelDiff) {
    return this.getLowerLeftPoint() .nearlyEquals(other.getLowerLeftPoint(),  maxRelDiff) &&
           this.getUpperRightPoint().nearlyEquals(other.getUpperRightPoint(), maxRelDiff);
  }
public boolean nearlyEquals ( ProjectionRect other , double maxRelDiff ) { return this . getLowerLeftPoint ( ) . nearlyEquals ( other . getLowerLeftPoint ( ) , maxRelDiff ) && this . getUpperRightPoint ( ) . nearlyEquals ( other . getUpperRightPoint ( ) , maxRelDiff ) ; }
Returns {@code true} if this rectangle is nearly equal to {@code other}. The "near equality" of corners is
determined using {@link ProjectionPoint#nearlyEquals(ProjectionPoint, double)}, with the specified maxRelDiff.

@param other    the other rectangle to check.
@param maxRelDiff  the maximum {@link Misc#relativeDifference relative difference} that two corners may have.
@return {@code true} if this rectangle is nearly equal to {@code other}.
Returns { @code true } if this rectangle is nearly equal to { @code other } . The near equality of corners is determined using { @link ProjectionPoint#nearlyEquals ( ProjectionPoint double ) } with the specified maxRelDiff .