List of utility methods to do Longitude Check
boolean | longitudeCloseTo(Double first, Double second, double rtol, double atol) Determines if two longitudes are close to the same value modulo 360.0. if (closeTo(first, second, rtol, atol)) return true; if (closeTo(first + 360.0, second, rtol, atol)) return true; if (closeTo(first, second + 360.0, rtol, atol)) return true; return false; |