@Test public void testIsInfinite() { assertThat(LatLonPoints.isInfinite(ProjectionPoint.create(89.501, 399.999))).isFalse(); assertThat(LatLonPoints.isInfinite(ProjectionPoint.create(89.501, Double.NaN))).isFalse(); assertThat(LatLonPoints.isInfinite(ProjectionPoint.create(89.501, Double.POSITIVE_INFINITY))).isTrue(); }
public static boolean isInfinite(ProjectionPoint pt) { return (pt.getX() == java.lang.Double.POSITIVE_INFINITY) || (pt.getX() == java.lang.Double.NEGATIVE_INFINITY) || (pt.getY() == java.lang.Double.POSITIVE_INFINITY) || (pt.getY() == java.lang.Double.NEGATIVE_INFINITY); }
LatLonPoints { public static boolean isInfinite(ProjectionPoint pt) { return (pt.getX() == java.lang.Double.POSITIVE_INFINITY) || (pt.getX() == java.lang.Double.NEGATIVE_INFINITY) || (pt.getY() == java.lang.Double.POSITIVE_INFINITY) || (pt.getY() == java.lang.Double.NEGATIVE_INFINITY); } }
LatLonPoints { public static boolean isInfinite(ProjectionPoint pt) { return (pt.getX() == java.lang.Double.POSITIVE_INFINITY) || (pt.getX() == java.lang.Double.NEGATIVE_INFINITY) || (pt.getY() == java.lang.Double.POSITIVE_INFINITY) || (pt.getY() == java.lang.Double.NEGATIVE_INFINITY); }  }
LatLonPoints { public static boolean isInfinite(ProjectionPoint pt) { return (pt.getX() == java.lang.Double.POSITIVE_INFINITY) || (pt.getX() == java.lang.Double.NEGATIVE_INFINITY) || (pt.getY() == java.lang.Double.POSITIVE_INFINITY) || (pt.getY() == java.lang.Double.NEGATIVE_INFINITY); }  static boolean betweenLon(double lon, double lonBeg, double lonEnd); static double lonNormal360(double lon); static double lonNormal(double lon, double center); static double lonNormalFrom(double lon, double start); static double lonNormal(double lon); static double lonDiff(double lon1, double lon2); static double latNormal(double lat); static String latToString(double lat, int ndec); static String lonToString(double lon, int ndec); static boolean isInfinite(ProjectionPoint pt); static double range180(double lon); static String toString(LatLonPoint pt, int sigDigits); static String toString(ProjectionPoint pt, int sigDigits); }
LatLonPoints { public static boolean isInfinite(ProjectionPoint pt) { return (pt.getX() == java.lang.Double.POSITIVE_INFINITY) || (pt.getX() == java.lang.Double.NEGATIVE_INFINITY) || (pt.getY() == java.lang.Double.POSITIVE_INFINITY) || (pt.getY() == java.lang.Double.NEGATIVE_INFINITY); }  static boolean betweenLon(double lon, double lonBeg, double lonEnd); static double lonNormal360(double lon); static double lonNormal(double lon, double center); static double lonNormalFrom(double lon, double start); static double lonNormal(double lon); static double lonDiff(double lon1, double lon2); static double latNormal(double lat); static String latToString(double lat, int ndec); static String lonToString(double lon, int ndec); static boolean isInfinite(ProjectionPoint pt); static double range180(double lon); static String toString(LatLonPoint pt, int sigDigits); static String toString(ProjectionPoint pt, int sigDigits);  }