On 11/1/05, Aaron and Sarah Spike <spike@...476...> wrote:
I haven't started looking at this yet. Since I don't know or understand the complex math is trying to guess at the best approximation, I had planned to sample the two curve segments adjacent to the node in a configureable number of places and send that list of points to the bezier fitting functions in bezier-utils.cpp to have it find the best fitting single segment approximation (I think that it has the ability to do this with end tangent constraints). Does this sound like a reasonable idea to the people in the know?
Yes - initially I was doubtful about this approach, but after some thinking I now consider it the only practical mehtod, easily working for any number of deleted nodes.
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org