FACT++  1.0
template<class T , class S >
double StateMachineDrive< T, S >::GetDevAbs ( double  nomzd,
double  meszd,
double  devaz 
)
inlineprivate

Definition at line 1762 of file drivectrl.cc.

1763  {
1764  nomzd *= M_PI/180;
1765  meszd *= M_PI/180;
1766  devaz *= M_PI/180;
1767 
1768  const double x = sin(meszd) * sin(nomzd) * cos(devaz);
1769  const double y = cos(meszd) * cos(nomzd);
1770 
1771  return acos(x + y) * 180/M_PI;
1772  }