Question : atan2
Answered by : gleaming-gull-cdrscmrh19ic
atan2() returns the inverse tangent of a coordinate in radians.
atan(y,x)
Range [-pi,pi]
// convert result to degrees double degree = result * (180 / 3.141592);
Source : | Last Update : Wed, 23 Mar 22