Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

EnceladusOrbit Class Reference

Inheritance diagram for EnceladusOrbit:

Inheritance graph
Collaboration diagram for EnceladusOrbit:

Collaboration graph
List of all members.

Private Member Functions

Point3d computePosition (double jd) const
double getBoundingRadius () const
double getPeriod () const

Member Function Documentation

Point3d EnceladusOrbit::computePosition double  jd  )  const [inline, private, virtual]
 

Implements CachingOrbit.

Definition at line 2028 of file customorbit.cpp.

References ComputeSaturnianElements(), cosD(), SaturnMoonPosition(), and sinD().

02029     {
02030         // Computation will yield latitude(L), longitude(B) and distance(R)
02031         // relative to Saturn.
02032         double t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11;
02033         double W0, W1, W2, W3, W4, W5, W6, W7, W8;
02034 
02035         ComputeSaturnianElements(jd,
02036                                  t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11,
02037                                  W0, W1, W2, W3, W4, W5, W6, W7, W8);
02038 
02039         double L = 200.317 + 262.7319002 * t1 + 0.25667 * sinD(W1) +
02040             0.20883 * sinD(W2);
02041         double p = 309.107 + 123.44121 * t2;
02042         double M = L - p;
02043         double C = 0.55577 * sinD(M) + 0.00168 * sinD(2 * M);
02044         double lam = L + C;
02045         double r = 3.94118 / (1 + 0.00485 * cosD(M + C));
02046         double gam = 0.0262;
02047         double Om = 348 - 151.95 * t2;
02048 
02049         return SaturnMoonPosition(lam, gam, Om, r);
02050     };

double EnceladusOrbit::getBoundingRadius  )  const [inline, private, virtual]
 

Implements CachingOrbit.

Definition at line 2057 of file customorbit.cpp.

References BoundingRadiusSlack.

02058     {
02059         return 239000 * BoundingRadiusSlack;
02060     };

double EnceladusOrbit::getPeriod  )  const [inline, private, virtual]
 

Implements CachingOrbit.

Definition at line 2052 of file customorbit.cpp.

02053     {
02054         return 1.370218;
02055     };


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 22:33:19 2006 for Celestia by  doxygen 1.4.1