cdm/src/main/java/ucar/unidata/geoloc/LatLonPointNoNormalize.java
public boolean nearlyEquals(LatLonPointNoNormalize that, double maxRelDiff) {
        return Misc.nearlyEquals(this.getLatitude(), that.getLatitude(), maxRelDiff) &&
               Misc.nearlyEquals(this.getLongitude(), that.getLongitude(), maxRelDiff);
    }
public boolean nearlyEquals(LatLonPointNoNormalize that, double maxRelDiff) {
        return Misc.nearlyEquals(this.getLatitude(), that.getLatitude(), maxRelDiff) &&
               Misc.nearlyEquals(this.getLongitude(), that.getLongitude(), maxRelDiff);
    }
public boolean nearlyEquals ( LatLonPointNoNormalize that , double maxRelDiff ) { return Misc . nearlyEquals ( this . getLatitude ( ) , that . getLatitude ( ) , maxRelDiff ) && Misc . nearlyEquals ( this . getLongitude ( ) , that . getLongitude ( ) , maxRelDiff ) ; }
Returns {@code true} if this point is nearly equal to {@code that}. The "near equality" of points is determined
using {@link Misc#nearlyEquals(double, double, double)}, with the specified maxRelDiff.

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