

Private Member Functions | |
| Point3d | computePosition (double jd) const |
| double | getBoundingRadius () const |
| double | getPeriod () const |
|
|
Implements CachingOrbit. Definition at line 2100 of file customorbit.cpp. References ComputeSaturnianElements(), cosD(), SaturnMoonPosition(), and sinD(). 02101 {
02102 // Computation will yield latitude(L), longitude(B) and distance(R)
02103 // relative to Saturn.
02104 double t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11;
02105 double W0, W1, W2, W3, W4, W5, W6, W7, W8;
02106
02107 ComputeSaturnianElements(jd,
02108 t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11,
02109 W0, W1, W2, W3, W4, W5, W6, W7, W8);
02110
02111 double L = 254.712 + 131.53493193 * t1 - 0.0215 * sinD(W1) -
02112 0.01733 * sinD(W2);
02113 double p = 174.8 + 30.820 * t2;
02114 double M = L - p;
02115 double C = 0.24717 * sinD(M) + 0.00033 * sinD(2 * M);
02116 double lam = L + C;
02117 double r = 6.24871 / (1 + 0.002157 * cosD(M + C));
02118 double gam = 0.0139;
02119 double Om = 232 - 30.27 * t2;
02120 // cout << "Dione: " << pfmod(lam, 360.0) << ',' << gam << ',' << pfmod(Om, 360.0) << ',' << r << '\n';
02121
02122 return SaturnMoonPosition(lam, gam, Om, r);
02123 };
|
|
|
Implements CachingOrbit. Definition at line 2130 of file customorbit.cpp. References BoundingRadiusSlack. 02131 {
02132 return 378000 * BoundingRadiusSlack;
02133 };
|
|
|
Implements CachingOrbit. Definition at line 2125 of file customorbit.cpp. 02126 {
02127 return 2.736915;
02128 };
|
1.4.1