I have incorporated some of this code into GDAL/OGR in order to implement DXF spline interpolation, with the kind agreement of the author. The author did ask that I prepare a ready-to-use distribution of the sample code under a BSD license as a body of work. I have done so in a sample fashion. The source with unix makefiles (but no configure machinery) is available as: