#include <PolarTmplDec.hxx>
Public Member Functions | |
PolarTmpl (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 PolarTmpl< T > & | operator= (const float mag) |
const PolarTmpl< T > & | operator= (const PolarTmpl< T > &a) |
const PolarTmpl< T > & | operator+= (const PolarTmpl< T > &a) |
const PolarTmpl< T > & | operator-= (const PolarTmpl< T > &a) |
PolarTmpl< T > | operator- (const PolarTmpl< T > &b) const |
PolarTmpl< T > | operator+ (const PolarTmpl< T > &b) const |
PolarTmpl< T > | operator* (const PolarTmpl< T > &b) const |
PolarTmpl< T > | operator/ (const PolarTmpl< T > &b) const |
bool | operator== (const PolarTmpl< T > &b) const |
bool | operator!= (const PolarTmpl< T > &b) const |
Friends | |
PolarTmpl< T > | ToComplex (const T &real, const T &imag) |
Definition at line 33 of file PolarTmplDec.hxx.
CLAM::PolarTmpl< T >::PolarTmpl | ( | T | mag = 0.0 , |
|
T | ang = 0.0 | |||
) | [inline] |
Definition at line 39 of file PolarTmplDec.hxx.
const T CLAM::PolarTmpl< T >::Ang | ( | void | ) | const [inline] |
Definition at line 46 of file PolarTmplDec.hxx.
const T CLAM::PolarTmpl< T >::Imag | ( | void | ) | const [inline] |
Definition at line 58 of file PolarTmplDec.hxx.
References CLAM_sin().
const T CLAM::PolarTmpl< T >::Mag | ( | void | ) | const [inline] |
Definition at line 45 of file PolarTmplDec.hxx.
bool CLAM::PolarTmpl< T >::operator!= | ( | const PolarTmpl< T > & | b | ) | const [inline] |
Definition at line 121 of file PolarTmplDec.hxx.
PolarTmpl<T> CLAM::PolarTmpl< T >::operator* | ( | const PolarTmpl< T > & | b | ) | const [inline] |
Definition at line 100 of file PolarTmplDec.hxx.
PolarTmpl< T > CLAM::PolarTmpl< T >::operator+ | ( | const PolarTmpl< T > & | b | ) | const [inline] |
Definition at line 73 of file PolarTmplDef.hxx.
References CLAM_atan2(), CLAM_cos(), CLAM_sin(), and CLAM_sqrt().
const PolarTmpl< T > & CLAM::PolarTmpl< T >::operator+= | ( | const PolarTmpl< T > & | a | ) | [inline] |
Definition at line 33 of file PolarTmplDef.hxx.
References CLAM_cos(), and CLAM_sin().
PolarTmpl< T > CLAM::PolarTmpl< T >::operator- | ( | const PolarTmpl< T > & | b | ) | const [inline] |
Definition at line 91 of file PolarTmplDef.hxx.
References CLAM_atan2(), CLAM_cos(), CLAM_sin(), and CLAM_sqrt().
const PolarTmpl< T > & CLAM::PolarTmpl< T >::operator-= | ( | const PolarTmpl< T > & | a | ) | [inline] |
Definition at line 53 of file PolarTmplDef.hxx.
References CLAM_atan2(), CLAM_cos(), CLAM_sin(), and CLAM_sqrt().
PolarTmpl<T> CLAM::PolarTmpl< T >::operator/ | ( | const PolarTmpl< T > & | b | ) | const [inline] |
Definition at line 107 of file PolarTmplDec.hxx.
const PolarTmpl<T>& CLAM::PolarTmpl< T >::operator= | ( | const PolarTmpl< T > & | a | ) | [inline] |
Definition at line 79 of file PolarTmplDec.hxx.
const PolarTmpl<T>& CLAM::PolarTmpl< T >::operator= | ( | const float | mag | ) | [inline] |
Definition at line 71 of file PolarTmplDec.hxx.
bool CLAM::PolarTmpl< T >::operator== | ( | const PolarTmpl< T > & | b | ) | const [inline] |
Definition at line 114 of file PolarTmplDec.hxx.
const T CLAM::PolarTmpl< T >::Real | ( | void | ) | const [inline] |
Definition at line 52 of file PolarTmplDec.hxx.
References CLAM_cos().
void CLAM::PolarTmpl< T >::SetAng | ( | const T & | ang | ) | [inline] |
Definition at line 49 of file PolarTmplDec.hxx.
Referenced by CLAM::operator>>().
void CLAM::PolarTmpl< T >::SetMag | ( | const T & | mag | ) | [inline] |
Definition at line 48 of file PolarTmplDec.hxx.
Referenced by CLAM::operator>>().
PolarTmpl<T> ToComplex | ( | const T & | real, | |
const T & | imag | |||
) | [friend] |
Definition at line 64 of file PolarTmplDec.hxx.