I have a 3D series (of points) from which I have to interpolate a smooth curve. It does not have be optimal in any sense; I just want working C++ code.