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

PhoebeOrbit Class Reference

Inheritance diagram for PhoebeOrbit:

Inheritance graph
Collaboration diagram for PhoebeOrbit:

Collaboration graph
List of all members.

Private Member Functions

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

Member Function Documentation

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

Implements CachingOrbit.

Definition at line 2419 of file customorbit.cpp.

References astro::AUtoKilometers(), OuterSaturnMoonParams(), SaturnMoonPosition(), and SaturnRadius.

02420     {
02421         double t = jd - 2433282.5;
02422         double T = t / 365.25;
02423 
02424         double a = astro::AUtoKilometers(0.0865752f) / SaturnRadius;
02425         double lam_ = 277.872 - 0.6541068 * t - 90;
02426         double e = 0.16326;
02427         double pi = 280.165 - 0.19586 * T;
02428         double i = 173.949 - 0.020 * T;
02429         double Om = 245.998 - 0.41353 * T;
02430 
02431         double lam, gam, r, w;
02432         OuterSaturnMoonParams(a, e, i, Om, lam_ - pi, lam_,
02433                               lam, gam, r, w);
02434 
02435         return SaturnMoonPosition(lam, gam, w, r);
02436     };

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

Implements CachingOrbit.

Definition at line 2443 of file customorbit.cpp.

References BoundingRadiusSlack.

02444     {
02445         return 15100000 * BoundingRadiusSlack;
02446     };

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

Implements CachingOrbit.

Definition at line 2438 of file customorbit.cpp.

02439     {
02440         return 548.2122790;
02441     };


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