Class Phi


class Phi

Utility class to implement the cyclic nature of the phi variable in the range -Pi <-> Pi


Field Summary
 private doublem_val
           

Constructor Summary
Phi()
           
Phi(const double init)
           
Phi(Phi & src)
           

Method Summary
 const Phioperator-(Phi & in)
           
 const Phioperator+(Phi & in)
           
 Phi &operator+=(Phi & rhs)
           
 const booloperator<(Phi & in)
           
 Phi &operator=(const Phi & rhs)
           
 Phi &operator-=(Phi & in)
           
 const booloperator>(Phi & in)
           
 const operatordouble()
           
 private voidreduce()
           

Field Detail

m_val

private double m_val
Constructor Detail

Phi

public Phi()

Phi

public Phi(const double init)

Phi

public Phi(Phi & src)
Method Detail

operator-

public const Phi operator-(Phi & in)

operator+

public const Phi operator+(Phi & in)

operator+=

public Phi & operator+=(Phi & rhs)

operator<

public const bool operator<(Phi & in)

operator=

public Phi & operator=(const Phi & rhs)

operator-=

public Phi & operator-=(Phi & in)

operator>

public const bool operator>(Phi & in)

operatordouble

public const operatordouble()

reduce

private void reduce()