แก้ไข

แชร์ผ่าน


MathObject.atan2(Double, Double) Method

Definition

Calculates the inverse tangent of the quotient of the specified numbers.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static double atan2(double dy, double dx);
[Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Math_atan2)]
public static double atan2 (double dy, double dx);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Math_atan2)]
public static double atan2 (double dy, double dx);
[<Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Math_atan2)>]
static member atan2 : double * double -> double
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Math_atan2)>]
static member atan2 : double * double -> double
Public Shared Function atan2 (dy As Double, dx As Double) As Double

Parameters

dy
Double

The numerator of the quotient to calculate the inverse tangent of.

dx
Double

The denominator of the quotient to calculate the inverse tangent of.

Returns

The inverse tangent of dy/dx, measured in radians.

Attributes

Applies to

See also