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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.