Single.Atan2(Single, Single) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Calcule la tangente arc du quotient de deux valeurs.
public:
static float Atan2(float y, float x) = System::Numerics::IFloatingPointIeee754<float>::Atan2;
public static float Atan2(float y, float x);
static member Atan2 : single * single -> single
Public Shared Function Atan2 (y As Single, x As Single) As Single
Paramètres
- y
- Single
Coordonnée y d’un point.
- x
- Single
Coordonnée x d’un point.
Retours
Tangente d’arc divisé y par x.
Implémente
Remarques
Cela calcule arctan(y / x) les radians d’intervalle [-π, +π] .