[futurebasic] Re: [FB] problem in angles

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1999 : Group Archive : Group : All Groups

From: Phil Yates <phil.yates@...>
Date: Thu, 18 Nov 1999 17:47:09 +0000
> Can someone tell me what series of instructions are necessary to determine
> the size of an angle in degrees or brads or radians or grads given the
> points which determine a line.  For instance if I have a line with
> endpoints X1,Y1 and X2,Y2 how do I determine the angle this line makes with
> either the X or Y axis.  Certainly I can determine the slope of the line
> and even the trig functions such as SIN, COS, TAN etc, but how do I
> determine the size of the angle in degrees or brads or radians or grads.

If you have FB3, look at the Clock code I wrote - does everything you want.
If you're still on FB2, let me know and I'll send a copy.

Phil.