Bezier curve intersection method

General discussions about Inkscape.
Toto
Posts: 3
Joined: Wed Jan 07, 2009 6:11 pm

Bezier curve intersection method

Postby Toto » Wed Jan 07, 2009 6:18 pm

Hi,

I am a student developper and for one project I am looking for a method to compute an intersection between two bezier curve. I see that inkscape is able to compute intersection between bezier curve. Which method was used in inkscape to do this computation?

Thank you for your help.

Bye bye

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: Bezier curve intersection method

Postby prkos » Wed Jan 07, 2009 10:18 pm

Maybe you can find some info on the inkscape website (section for developers), but it would be safest to post this question to the inkscape developer mailing list ;)
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

Toto
Posts: 3
Joined: Wed Jan 07, 2009 6:11 pm

Re: Bezier curve intersection method

Postby Toto » Thu Jan 08, 2009 4:14 am

Thank you for your answer and your advice :D .

Bye

dvlierop
Posts: 139
Joined: Sat Sep 08, 2007 4:25 am

Re: Bezier curve intersection method

Postby dvlierop » Thu Jan 08, 2009 5:25 am

Inkscape uses the 2geom libraries for that. You'll find everything you want to know in the sourcecode, which is open source (obviously ;-) )

You'll find it here: http://lib2geom.sourceforge.net/

If you need more information then please leave a message on their mailinglist, which can be found at http://sourceforge.net/mail/?group_id=167845


Return to “General Discussions”