FACT++  1.0
double Led::CalcPhi ( const Ring ring)

Definition at line 9 of file Led.cc.

References Ring::GetX(), and Ring::GetY().

Referenced by AddOffset().

10 {
11  return atan2(fY-ring.GetY(), fX-ring.GetX())*180/M_PI;
12 }
double fX
Definition: Led.h:11
double GetY() const
Definition: Ring.h:29
double fY
Definition: Led.h:12
double GetX() const
Definition: Ring.h:28

+ Here is the call graph for this function:

+ Here is the caller graph for this function: