On 04/10/10 16:24, Mark Tolonen wrote:
>
> "Chris Rebert" wrote in message
> news:y2o50697b2c1004091304u627d99bfj44ad56fa76a3c...@mail.gmail.com...
>> On Fri, Apr 9, 2010 at 11:43 AM, John Nagle wrote:
>>> Chris Rebert wrote:
On Fri, Apr 9, 2010 at 8:04 AM, Peyman Askari
wrote:
>
"Chris Rebert" wrote in message
news:y2o50697b2c1004091304u627d99bfj44ad56fa76a3c...@mail.gmail.com...
On Fri, Apr 9, 2010 at 11:43 AM, John Nagle wrote:
Chris Rebert wrote:
On Fri, Apr 9, 2010 at 8:04 AM, Peyman Askari
wrote:
Hello
This is partly Python related, although it might end
On Fri, Apr 9, 2010 at 11:43 AM, John Nagle wrote:
> Chris Rebert wrote:
>> On Fri, Apr 9, 2010 at 8:04 AM, Peyman Askari
>> wrote:
>>>
>>> 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 ne
> See Wikipedia for the usual solution, given points on both lines:
>
> http://en.wikipedia.org/wiki/Line-line_intersection
# -*- coding: utf-8 -*-
import numpy as N
def intersect(line1, line2):
"""\begin{align} P(x,y)= \bigg(&\frac{(x_1 y_2-y_1 x_2)(x_3-x_4)-
(x_1-x_2)(x_3 y_4-y_3 x_4)
Chris Rebert wrote:
On Fri, Apr 9, 2010 at 8:04 AM, Peyman Askari wrote:
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 onl
On Apr 9, 8:36 am, Emile van Sebille wrote:
> 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 lin
On Fri, Apr 9, 2010 at 8:04 AM, Peyman Askari wrote:
>
> 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 t
Peyman Askari wrote:
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
(h
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
describin