FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
template<class T , class S >
double
StateMachineDrive
< T, S >::GetDevAbs
(
double
nomzd
,
double
meszd
,
double
devaz
)
inline
private
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
}
StateMachineDrive
Generated on Sun Sep 18 2016 20:50:59 for FACT++ by
1.8.11