Skip to main content

Atn2 Method

Returns the inverse (or arc) tangent of a pair of numbers, which represent a point on the plane

Definition​

Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)

C#

public static double Atn2(double y,    double x)

VB

Public Shared Function Atn2 (y As Double, x As Double) As Double

Parameters​

  Double
A real number representing the y-axis coordinate
  Double
A real number representing the x-axis coordinate

Return Value​

Double
Inverse (or arc) tangent of a pair of numbers. If you draw a line between the point whose Cartesian coordinates are (x, y) and the origin, the angle between that line and the x-axis is the inverse tangent of y/x

See Also​

Reference​

PIACEBIFunctions Class
GHost.GSharp.PI.ACE Namespace