
On 5/14/05, aaron@...749... <aaron@...749...> wrote:
I'm sure that would be faster and I may have to resort to it. I think that website leaves something to be desired. At least it does for me.
Sorry, it wasn't that I recommended that site specifically, I just did a quick googling and gave you the first one which seemed to contain all the math and code. You might try to google up something better.
Also we have curve length code somewhere deep in livarot/, but it's not trivial to find it there.
So I think I will do just as you suggest. I still wouldn't mind having a good bezier arc length function sitting around for use in future projects. So if anyone would be willing to take a look at my Simpson approximation code and tell me what is wrong, I would much appreciate it.
Yes, especially remembering that sometime someone will convert your Python into C++ for the proper internal implementation. It's wonderful to have the extensions thing as a quick testbed for ideas that can be used even by those who don't know Inkscape code.
Oh, and did you try the interpolation extension with paths of multiple subpaths?
Yes, so long as the number of nodes is the same, works fine.