Half.Atan2Pi(Half, Half) Method

Definition

Computes the arc-tangent for the quotient of two values and divides the result by pi.

public static Half Atan2Pi (Half y, Half x);

Parameters

y
Half

The y-coordinate of a point.

x
Half

The x-coordinate of a point.

Returns

The arc-tangent of y divided-by x, divided by pi.

Implements

Remarks

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

Applies to

Продукт Версии
.NET 7, 8, 9