Double.Atan2(Double, Double) Method

Definition

Computes the arc-tangent of the quotient of two values.

public static double Atan2 (double y, double x);

Parameters

y
Double

The y-coordinate of a point.

x
Double

The x-coordinate of a point.

Returns

The arc-tangent of y divided-by x.

Implements

Remarks

This computes arctan(y / x) in the interval [-π, +π] radians.

Applies to

Produkt Verze
.NET 7, 8, 9