Python Line Intersection

Emile van Sebille emile at
Fri Apr 9 11:36:36 EDT 2010

On 4/9/2010 8:04 AM Peyman Askari said...
> Hello
> 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?

I needed this a couple years back and used parts of pycad without much 


More information about the Python-list mailing list