PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the arc tangent 2 of the values passed in parameter.
Versions 19 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 19
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Java This function is now available for Java applications.
PHP This function is now available for PHP sites.
New in version 22
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Java This function is now available for Java applications.
PHP This function is now available for PHP sites.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Java This function is now available for Java applications.
PHP This function is now available for PHP sites.
Versions 25 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 25
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
Example
ArcTan2(1, 1) // Returns 45
ArcTan2(1, -1) // Returns 135
ArcTan2(-1, 1) // Returns -45
ArcTan2(-1, -1) // Returns -135
Syntax
<Result> = ArcTan2(<Y> , <X>)
<Result>: Real
  • Angle (in degrees) between:
    • the positive part of the X axis of a plane,
    • and the point of this plane at (X,Y) coordinates.
      This angle is positive for the angles in counterclockwise direction, also called trigonometric direction (top half of the plane, Y > 0) and negative in the other one (bottom half of the plane, Y < 0).
      This angle is included in the [-180, 180] interval.
  • 0 if the <X> and <Y> parameters are set to 0.
<Y>: Real
Y value.
<X>: Real
X value.
Business / UI classification: Neutral code
Component: wd270mat.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment