private static Spline createNurb() {
        List<Vector4f> controlPoints2 = new ArrayList<>(5);
        controlPoints2.add(new Vector4f(0f, 1f, 2f, 3f));
        controlPoints2.add(new Vector4f(3f, 1f, 4f, 0f));
        controlPoints2.add(new Vector4f(2f, 5f, 3f, 0f));
        controlPoints2.add(new Vector4f(3f, 2f, 3f, 1f));
        controlPoints2.add(new Vector4f(0.5f, 1f, 0.6f, 5f));

        List<Float> nurbKnots = new ArrayList<>(6);
        nurbKnots.add(0.2f);
        nurbKnots.add(0.3f);
        nurbKnots.add(0.4f);
        nurbKnots.add(0.43f);
        nurbKnots.add(0.51f);
        nurbKnots.add(0.52f);

        Spline result = new Spline(controlPoints2, nurbKnots);
        return result;
    }
Generates a simple NURB spline for testing.

@return a new Spline
jme3-core/src/test/java/com/jme3/math/SplineTest.java