IMPORT_C double atan2(double, double);
Description
Calculate arctangent, 2 parameters. Performs the trigonometric arctangent operation on y/x and returns an angle in the range
from -PI to PI expressed in radians, using the signs of the parameters to determine the quadrant. The result is valid even
if arg2 is 0 (angle is PI/2 or -PI/2). In fact this function returns the angle of bidimensional vector (arg2,arg1).
Parameters
double |
and arg2.Values from whose division has to be calculated the arctangent.i.e.: Coordinates for the vector whose angle is to
be calculated.
|
double |
|
|
Return value
double |
Arctangent of arg1/arg2.
|
|