External Interpolate Curve through points


RhinoCommon is fantastic, and I use it for plugins in in other software other than Rhino (such as Revit and Tekla). One functionality that is locked into Rhino (for reasons well understood) is the Curve interpolated through points routine.

Does anyone have any references to code or algorithms that can achieve a nurbs curve fit through points? I’ve searched and not turned up much.

Thanks in advance,


You may want to check out the book Bézier and B-Spline Techniques by Prautzsch, Boehm and Paluszny - chapter 4. Especially chapter 4.7 - Least Squares Fitting is interesting.

This is not code or algorithm, but it does describe a useful method. I have used this for our own interpolation routine (cannot share that I’m afraid).