public int getUControlPointsAmount() {
        return controlPoints.size();
    }
This method returns the amount of U control points.
@return the amount of U control points
jme3-core/src/main/java/com/jme3/scene/shape/Surface.java