MathObject.atan2(Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.