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

TethysOrbit Class Reference

Inheritance diagram for TethysOrbit:

Inheritance graph
Collaboration diagram for TethysOrbit:

Collaboration graph
List of all members.

Private Member Functions

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

Member Function Documentation

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

Implements CachingOrbit.

Definition at line 2066 of file customorbit.cpp.

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

02067     {
02068         // Computation will yield latitude(L), longitude(B) and distance(R)
02069         // relative to Saturn.
02070         double t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11;
02071         double W0, W1, W2, W3, W4, W5, W6, W7, W8;
02072 
02073         ComputeSaturnianElements(jd,
02074                                  t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11,
02075                                  W0, W1, W2, W3, W4, W5, W6, W7, W8);
02076 
02077         double lam = 285.306 + 190.69791226 * t1 + 2.063 * sinD(W0) +
02078             0.03409 * sinD(3 * W0) + 0.001015 * sinD(5 * W0);
02079         double r = 4.880998;
02080         double gam = 1.0976;
02081         double Om = 111.33 - 72.2441 * t2;
02082 
02083         return SaturnMoonPosition(lam, gam, Om, r);
02084     };

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

Implements CachingOrbit.

Definition at line 2091 of file customorbit.cpp.

References BoundingRadiusSlack.

02092     {
02093         return 295000 * BoundingRadiusSlack;
02094     };

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

Implements CachingOrbit.

Definition at line 2086 of file customorbit.cpp.

02087     {
02088         return 1.887802;
02089     };


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