cdm/src/main/java/ucar/unidata/geoloc/ProjectionPointImpl.java
static public 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 public 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 public 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 ) ; }
See if either coordinate in <code>pt</code> is +/- infinite.
This happens sometimes in projective geometry.

@param pt point to check
@return true if either coordinate is +/- infinite.
See if either coordinate in <code > pt< / code > is + / - infinite . This happens sometimes in projective geometry .