#include <Polar.hxx>
Public Member Functions | |
Polar (T mag=0.0, T ang=0.0) | |
const T | Mag (void) const |
const T | Ang (void) const |
void | SetMag (const T &mag) |
void | SetAng (const T &ang) |
const T | Real (void) const |
const T | Imag (void) const |
const Polar & | operator= (const float mag) |
const Polar & | operator= (const Polar &a) |
const Polar & | operator+= (const Polar &a) |
const Polar & | operator-= (const Polar &a) |
Polar | operator- (const Polar &b) const |
Polar | operator+ (const Polar &b) const |
Polar | operator* (const Polar &b) const |
Polar | operator/ (const Polar &b) const |
bool | operator== (const Polar &b) const |
bool | operator!= (const Polar &b) const |
Friends | |
Polar | ToComplex (const T &real, const T &imag) |
Definition at line 33 of file Polar.hxx.
const T CLAM::Polar::Imag | ( | void | ) | const [inline] |
Definition at line 59 of file Polar.hxx.
References CLAM_sin().
bool CLAM::Polar::operator!= | ( | const Polar & | b | ) | const [inline] |
Definition at line 64 of file Polar.cxx.
References CLAM_atan2(), CLAM_cos(), CLAM_sin(), and CLAM_sqrt().
Definition at line 30 of file Polar.cxx.
References CLAM_cos(), and CLAM_sin().
Definition at line 79 of file Polar.cxx.
References CLAM_atan2(), CLAM_cos(), CLAM_sin(), and CLAM_sqrt().
Definition at line 47 of file Polar.cxx.
References CLAM_atan2(), CLAM_cos(), CLAM_sin(), and CLAM_sqrt().
const Polar& CLAM::Polar::operator= | ( | const float | mag | ) | [inline] |
bool CLAM::Polar::operator== | ( | const Polar & | b | ) | const [inline] |
const T CLAM::Polar::Real | ( | void | ) | const [inline] |
Definition at line 53 of file Polar.hxx.
References CLAM_cos().
Polar ToComplex | ( | const T & | real, | |
const T & | imag | |||
) | [friend] |