#include <Phi.h>
Public Methods | |
Phi () | |
Phi (double init) | |
Phi (const Phi &src) | |
Phi & | operator= (const Phi &rhs) |
Phi & | operator+= (Phi &rhs) |
Phi & | operator-= (Phi &in) |
Phi | operator+ (Phi &in) const |
Phi | operator- (Phi &in) const |
bool | operator< (Phi &in) const |
bool | operator> (Phi &in) const |
operator double () const | |
double | lowerLimit () const |
double | upperLimit () const |
double | range () const |
double | val () const |
Private Methods | |
void | reduce () |
Private Attributes | |
double | m_val |
Static Private Attributes | |
const double | s_upperLimit = M_PI |
const double | s_lowerLimit = -M_PI |
const double | s_range = s_upperLimit - s_lowerLimit |
Definition at line 42 of file Phi.h.
|
Definition at line 61 of file Phi.h. References m_val.
00061 { this->m_val = 0. ; } |
|
Definition at line 62 of file Phi.h. References m_val, and reduce().
|
|
Definition at line 63 of file Phi.h. References m_val.
|
|
Definition at line 101 of file Phi.h. References s_lowerLimit. Referenced by operator<<().
00101 {return s_lowerLimit;} |
|
Definition at line 99 of file Phi.h. References m_val.
00099 { return this->m_val ; } |
|
Definition at line 84 of file Phi.h.
|
|
Definition at line 72 of file Phi.h. References m_val, and reduce().
|
|
Definition at line 89 of file Phi.h.
|
|
Definition at line 78 of file Phi.h. References m_val, and reduce().
|
|
Definition at line 95 of file Phi.h. References m_val.
|
|
Definition at line 67 of file Phi.h. References m_val.
|
|
Definition at line 96 of file Phi.h. References m_val.
|
|
Definition at line 103 of file Phi.h. References s_range. Referenced by operator<<().
00103 {return s_range;} |
|
Definition at line 48 of file Phi.h. References m_val, s_lowerLimit, s_range, and s_upperLimit. Referenced by operator+=(), operator-=(), and Phi().
00048 { 00049 while( m_val > s_upperLimit ) { m_val -= s_range ; } 00050 while( m_val <= s_lowerLimit ) { m_val += s_range ; } 00051 } |
|
Definition at line 102 of file Phi.h. References s_upperLimit. Referenced by operator<<().
00102 {return s_upperLimit;} |
|
Definition at line 104 of file Phi.h. References m_val. Referenced by Atlfast::operator<<(), and operator<<().
00104 {return m_val;} |
|
Definition at line 46 of file Phi.h. Referenced by operator double(), operator+=(), operator-=(), operator<(), operator=(), operator>(), Phi(), reduce(), and val(). |
|
Definition at line 5 of file Phi.cxx. Referenced by lowerLimit(), and reduce(). |
|
|
|
Definition at line 4 of file Phi.cxx. Referenced by reduce(), and upperLimit(). |