On 9/2/2014 7:01 AM, Whees Northbee wrote:
If all of these confusing, I'll simplify the problem, I need to know if a point 
(x,y) exactly at a line where line is (ax1,ay) to (ax2,ay)..

Can someone tell me how??

if ax1<x<ax2 and ay1<ay<ay2 and (ay2-ay1)/(ax2-ax1)==(ay2-ay)/(ax2-x2)

I think that does it.

Emile





_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to