kstars
kspluto.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 kspluto.h - K Desktop Planetarium 00003 ------------------- 00004 begin : Mon Sep 24 2001 00005 copyright : (C) 2001 by Jason Harris 00006 email : kstars@30doradus.org 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef KSPLUTO_H 00019 #define KSPLUTO_H 00020 00021 #include "ksasteroid.h" 00022 00043 class KStarsData; 00044 class KSPluto : public KSAsteroid { 00045 public: 00052 KSPluto(KStarsData *kd, QString fn="", double pSize=0); 00053 00055 virtual ~KSPluto(); 00056 00057 protected: 00065 virtual bool findGeocentricPosition( const KSNumbers *num, const KSPlanetBase *Earth=NULL ); 00066 00067 private: 00068 //The base orbital elements for J2000 (these don't change with time) 00069 double a0, e0; 00070 dms i0, w0, M0, N0; 00071 00072 //Rates-of-change for each orbital element 00073 double a1, e1, i1, w1, M1, N1; 00074 }; 00075 00076 #endif