public int getVControlPointsAmount() {
        return controlPoints.get(0) == null ? 0 : controlPoints.get(0).size();
    }
This method returns the amount of V control points.
@return the amount of V control points
jme3-core/src/main/java/com/jme3/scene/shape/Surface.java