FACT++  1.0
double ConnectionDrive::GetDevAbs ( double  nomzd,
double  meszd,
double  devaz 
)
inline

Definition at line 113 of file cosyctrl.cc.

114  {
115  nomzd *= M_PI/180;
116  meszd *= M_PI/180;
117  devaz *= M_PI/180;
118 
119  const double x = sin(meszd) * sin(nomzd) * cos(devaz);
120  const double y = cos(meszd) * cos(nomzd);
121 
122  return acos(x + y) * 180/M_PI;
123  }