RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarCmplx.VarComplexFromPolar Function

Converts a set of polar coordinates to a complex number.

Pascal
function VarComplexFromPolar(const ARadius: Double; const ATheta: Double): Variant;
C++
Variant VarComplexFromPolar(const Double ARadius, const Double ATheta);

VarCmplx

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!