public boolean isInfinite(){
  return !isNaN() && (Double.isInfinite(x.getReal()) || Double.isInfinite(y.getReal()) || Double.isInfinite(z.getReal()));
}

public boolean isInfinite ( ) { return ! isNaN ( ) && ( Double . isInfinite ( x . getReal ( ) ) || Double . isInfinite ( y . getReal ( ) ) || Double . isInfinite ( z . getReal ( ) ) ) ; }
returns true if any coordinate of this vector is infinite and none are nan ; false otherwise
