From: Danny Kodicek <dragon@we...>  20051013 13:28:27

> Alternatively (probably equivalently), how can I convert between a 2D > CatmullRom spline and a Bezier curve? Either of these will solve my > current > problem, which is to approximate a curve made up of lots of points with a > curve made up of a few Bezier segments. I think this approach won't solve your problem if you treat the initial curve as CatmullRom one (passes through all points); and in the end want a Bezier (or some other type) of curve with much fewer points. You don't want just to create a point in the output for each point in the input... That's true, but what I can do is make a Catmullrom passing through every n'th point, and convert *that* to a Bezier. It won't be a perfect approximation, but assuming my curves are reasonably smooth it should work all right. Now anyone want to email me offlist to talk about magnetic field lines? :) Danny 