Compartilhar via


NFloat.Atan2(NFloat, NFloat) Método

Definição

Calcula o arco tangente do quociente de dois valores.

public:
 static System::Runtime::InteropServices::NFloat Atan2(System::Runtime::InteropServices::NFloat y, System::Runtime::InteropServices::NFloat x) = System::Numerics::IFloatingPointIeee754<System::Runtime::InteropServices::NFloat>::Atan2;
public static System.Runtime.InteropServices.NFloat Atan2 (System.Runtime.InteropServices.NFloat y, System.Runtime.InteropServices.NFloat x);
static member Atan2 : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Atan2 (y As NFloat, x As NFloat) As NFloat

Parâmetros

y
NFloat

A coordenada y de um ponto.

x
NFloat

A coordenada X de um ponto.

Retornos

O arco tangente de y dividido por x.

Implementações

Comentários

Isso computa arctan(y / x) no intervalo [-π, +π] radianos.

Aplica-se a