System.VarCmplx.VarComplexFromPolar
Delphi
function VarComplexFromPolar(const ARadius, ATheta: Double): Variant;
C++
extern DELPHI_PACKAGE System::Variant __fastcall VarComplexFromPolar(const double ARadius, const double ATheta);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | System.VarCmplx.pas System.VarCmplx.hpp |
System.VarCmplx | System.VarCmplx |
Beschreibung
Konvertiert polare Koordinaten in eine komplexe Zahl.
VarComplexFromPolar gibt die komplexe Zahl zurück, die dem Radius (Länge) und dem Winkel entspricht, der in den Parameter ARadius bzw. ATheta festgelegt ist. Das Ergebnis wird als Variante zurückgegeben, deren Wert der komplexen Zahl entspricht.