VarCmplx.VarComplexFromPolar
From RAD Studio VCL Reference
Contents |
Delphi Information
From VarCmplx.pas
function VarComplexFromPolar(const ARadius: Double; const ATheta: Double): Variant;
Unit: VarCmplx
Type: function
Visibility: public
C++ Information
From VarCmplx.hpp
System::Variant __fastcall VarComplexFromPolar(double ARadius, double ATheta);
Unit: VarCmplx
Type: function
Description
Converts a set of polar coordinates to a complex number.
VarComplexFromPolar returns the complex number that corresponds to the radius (length) and angle specified by the ARadius and ATheta parameters, respectively. The result is returned as a Variant whose value is the corresponding complex number.