xHarbour Reference Documentation > Function Reference |
Calculates the radians of an angle from sine and cosine.
Atn2( <nSine> , <nCosine> ) --> nRadians
The function returns the angle sine in radians as a numeric value between plus/minus Pi().
ATn2() accepts sine and cosine values of a given point in radians and calculates from it the angle sine in radians. This is equivalent to ATn2(x/y), where division by zero errors are taken care of.
See also: | ACos(), ASin(), ATan(), DtoR(), RtoD(), SetPrec(), Sin(), Tan() |
Category: | CT:Math , Mathematical functions , Trigonometric functions |
Source: | ct\trig.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com