"nitin chandra" <[EMAIL PROTECTED]> wrote > I create a list of coordinates of 2 lines. > X11,Y11 & X12,Y12 as starting and ending of one line. > X21,Y21 & X22, Y22 as starting and ending of the 2nd line. > > Now is there any way to calculate the deflection angle between the > two > lines? Will any modules be required other than Python 2.3 (on > Linux)?
This is a standard math problem to which you can apply the standard math techniques. You can use the trigonometry functions found in the math module. HTH, -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor