private boolean isNumberVector() {
        if(x == Float.NEGATIVE_INFINITY ||
           y == Float.NEGATIVE_INFINITY ||
           x == Float.POSITIVE_INFINITY ||
           y == Float.POSITIVE_INFINITY ||
           x == Float.NaN ||
           y == Float.NaN) {
            return false;
        }
        return true;
    }