CLAM::PolarTmpl< T > Class Template Reference

#include <PolarTmplDec.hxx>

List of all members.

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)

Detailed Description

template<class T>
class CLAM::PolarTmpl< T >

Definition at line 33 of file PolarTmplDec.hxx.


Constructor & Destructor Documentation

template<class T>
CLAM::PolarTmpl< T >::PolarTmpl ( mag = 0.0,
ang = 0.0 
) [inline]

Definition at line 39 of file PolarTmplDec.hxx.


Member Function Documentation

template<class T>
const T CLAM::PolarTmpl< T >::Ang ( void   )  const [inline]

Definition at line 46 of file PolarTmplDec.hxx.

template<class T>
const T CLAM::PolarTmpl< T >::Imag ( void   )  const [inline]

Definition at line 58 of file PolarTmplDec.hxx.

References CLAM_sin().

template<class T>
const T CLAM::PolarTmpl< T >::Mag ( void   )  const [inline]

Definition at line 45 of file PolarTmplDec.hxx.

template<class T>
bool CLAM::PolarTmpl< T >::operator!= ( const PolarTmpl< T > &  b  )  const [inline]

Definition at line 121 of file PolarTmplDec.hxx.

template<class T>
PolarTmpl<T> CLAM::PolarTmpl< T >::operator* ( const PolarTmpl< T > &  b  )  const [inline]

Definition at line 100 of file PolarTmplDec.hxx.

template<class T >
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().

template<class T >
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().

template<class T >
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().

template<class T >
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().

template<class T>
PolarTmpl<T> CLAM::PolarTmpl< T >::operator/ ( const PolarTmpl< T > &  b  )  const [inline]

Definition at line 107 of file PolarTmplDec.hxx.

template<class T>
const PolarTmpl<T>& CLAM::PolarTmpl< T >::operator= ( const PolarTmpl< T > &  a  )  [inline]

Definition at line 79 of file PolarTmplDec.hxx.

template<class T>
const PolarTmpl<T>& CLAM::PolarTmpl< T >::operator= ( const float  mag  )  [inline]

Definition at line 71 of file PolarTmplDec.hxx.

template<class T>
bool CLAM::PolarTmpl< T >::operator== ( const PolarTmpl< T > &  b  )  const [inline]

Definition at line 114 of file PolarTmplDec.hxx.

template<class T>
const T CLAM::PolarTmpl< T >::Real ( void   )  const [inline]

Definition at line 52 of file PolarTmplDec.hxx.

References CLAM_cos().

template<class T>
void CLAM::PolarTmpl< T >::SetAng ( const T &  ang  )  [inline]

Definition at line 49 of file PolarTmplDec.hxx.

Referenced by CLAM::operator>>().

template<class T>
void CLAM::PolarTmpl< T >::SetMag ( const T &  mag  )  [inline]

Definition at line 48 of file PolarTmplDec.hxx.

Referenced by CLAM::operator>>().


Friends And Related Function Documentation

template<class T>
PolarTmpl<T> ToComplex ( const T &  real,
const T &  imag 
) [friend]

Definition at line 64 of file PolarTmplDec.hxx.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3