Python Line Intersection

Peyman Askari peter_peyman_puk at
Fri Apr 9 17:04:39 CEST 2010


This is partly Python related, although it might end up being more math related.

I am using PyGTK (GUI builder for Python) and I need to find the intersection point for two lines. It is easy to do, even if you only have the four points describing line segments ( However, it requires that you solve for two equations. How can I do this in Python, either solve equations, or calculating intersection points some other way?


Peyman Askari

Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list