TftArcTan2(fY As Float, fX As Float), Float


fY: The Y coordinate (argument y)

fX: The X coordinate (argument x)


Returns the four-quadrant inverse tangent (tan⁻¹) of the given Y and X coordinates. 


The result is the angle in radians, ranging from -π to π. This function accounts for the signs of both arguments to determine the correct quadrant for the angle.


Example Usage:

TftArcTan2(4,-3)






Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework