I need a set of code to compute a 6th order nurbs curve or possibly a b-spline will be OK.
The input is 24 control verticies that are positioned with non-uniform spacing on a 2D x-y plane.
The order of the spline is 6th.
I need to compute y position on the spline for a given x.
I also need to compute the derivatives 1st, 2nd, 3rd, 4th