public boolean isInfinite() {
        return Float.isInfinite(x) && Float.isInfinite(y) && Float.isInfinite(z);
    }
public boolean isInfinite ( ) { return Float . isInfinite ( x ) && Float . isInfinite ( y ) && Float . isInfinite ( z ) ; }
Checks if vector is {@link Float#isInfinite} or not.
@return true if all dimensions are {@link Float#isInfinite}, otherwise - false