circle and point

Robert Kern robert.kern at gmail.com
Mon Nov 14 20:30:41 EST 2005


Ben Bush wrote:
> is there any python code doing this:
> there are two line segments (2x+y-1=0 with the coordinates of two ending
> points are (1,-1) and (-1,3);
> x+y+6=0 with the coordinates of two ending points are (-3,-3) and
> (-4,-2);). They extend and when they meet each other, stop extending.
> how can i use python to implement this in Tkinter?

Work out the formula on paper. Or google('line intersection').

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the Python-list mailing list