Calculates the arctangent angle and quadrant of a given number.
function ArcTan2(const Y: Extended; const X: Extended): Extended;
Extended ArcTan2(const Extended Y, const Extended X);
Math
ArcTan2 calculates ArcTan(Y/X), and returns an angle in the correct quadrant. The values of X and Y must be between –2^64 and 2^64. In addition, the value of X can't be 0. The return value will fall in the range from -Pi to Pi radians.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|