private static Spline createCatmullRom() {
        List<Vector3f> controlPoints3 = new ArrayList<>(6);
        controlPoints3.add(new Vector3f(0f, 1f, 2f));
        controlPoints3.add(new Vector3f(3f, -1f, 4f));
        controlPoints3.add(new Vector3f(2f, 5f, 3f));
        controlPoints3.add(new Vector3f(3f, -2f, 3f));
        controlPoints3.add(new Vector3f(0.5f, 1f, 0.6f));
        controlPoints3.add(new Vector3f(-0.5f, 4f, 0.2f));

        Spline result = new Spline(
                Spline.SplineType.CatmullRom, controlPoints3, 0.01f, false);
        return result;
    }
Generates a simple acyclic Catmull-Rom spline for testing.

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