Go to the documentation of this file. 1 subroutine czsuba(rad,altcor,tilt,xnu,pitch,roll,yaw,
9 implicit real*8 (a-h,o-z)
10 real*4 tilt,pitch,roll,yaw
19 if (tilt .eq. 0.0)
then
32 cosc = root*(sin(rt)*cos(rnu)+cos(rt))
34 rphim = atan(sin(rnu)/(sin(rt)-cos(rt)*cos(rnu)))+
pi
36 rthp = acos(-sin(rthr)*cos(rphim))
37 rtan = sin(rthr)/cos(rthr)
38 rphip = atan(rtan*sin(rphim))
39 if (tilt .lt. 0.0)
then
43 if (roll .ne. 0.0 .or. pitch .ne. 0.0 .or. yaw .ne. 0.0)
then
44 u = sin(rthp)*cos(rphip)
45 v = sin(rthp)*sin(rphip)
50 xp = (1.0+y*r*p)*u + (-y+r*p)*v + p*w
52 zp = (-p+y*r)*u + (-p*y+r)*v + w
61 2 sina = altcor*sin(rths)
subroutine czsuba(rad, altcor, tilt, xnu, pitch, roll, yaw, rpsi, rths, rth)