Advertisement
Guest User

CAAElliptical

a guest
Oct 21st, 2015
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.03 KB | None | 0 0
  1. class AAPLUS_EXT_CLASS CAAElliptical
  2. {
  3. public:
  4. //Enums
  5.   enum EllipticalObject
  6.   {
  7.     SUN,
  8.     MERCURY,
  9.     VENUS,
  10.     MARS,
  11.     JUPITER,
  12.     SATURN,
  13.     URANUS,
  14.     NEPTUNE,
  15.     PLUTO
  16.   };
  17.  
  18. //Static methods
  19.   static double DistanceToLightTime(double Distance);
  20.   static CAAEllipticalPlanetaryDetails Calculate(double JD, EllipticalObject object, bool bHighPrecision);
  21.   static double SemiMajorAxisFromPerihelionDistance(double q, double e);
  22.   static double MeanMotionFromSemiMajorAxis(double a);
  23.   static CAAEllipticalObjectDetails Calculate(double JD, const CAAEllipticalObjectElements& elements, bool bHighPrecision);
  24.   static double InstantaneousVelocity(double r, double a);
  25.   static double VelocityAtPerihelion(double e, double a);
  26.   static double VelocityAtAphelion(double e, double a);
  27.   static double LengthOfEllipse(double e, double a);
  28.   static double CometMagnitude(double g, double delta, double k, double r);
  29.   static double MinorPlanetMagnitude(double H, double delta, double G, double r, double PhaseAngle);
  30. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement