System.VarCmplx.VarComplexFromPolar

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE System::Variant __fastcall VarComplexFromPolar(const double ARadius, const double ATheta);

Properties

Type Visibility Source Unit Parent
function public
System.VarCmplx.pas
System.VarCmplx.hpp
System.VarCmplx System.VarCmplx

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.

See Also