X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fephemeris%2Fstar.hxx;h=781cfcd602beda0760bba89b412ee7f1a1b294f1;hb=aefe9bc11682f39b3936b9f01a0d37e9d6428078;hp=b345aa01ecf8a17098d60f818ddcdf1ca61e64a0;hpb=82459a2802a939434f9fc5b88d2b2aea58f0043d;p=simgear.git diff --git a/simgear/ephemeris/star.hxx b/simgear/ephemeris/star.hxx index b345aa01..781cfcd6 100644 --- a/simgear/ephemeris/star.hxx +++ b/simgear/ephemeris/star.hxx @@ -15,10 +15,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * $Id$ **************************************************************************/ @@ -26,7 +25,7 @@ #define _STAR_HXX_ -#include "celestialBody.hxx" +#include class Star : public CelestialBody @@ -35,6 +34,7 @@ class Star : public CelestialBody private: double xs, ys; // the sun's rectangular geocentric coordinates + double ye, ze; // the sun's rectangularequatorial rectangular geocentric coordinates double distance; // the sun's distance to the earth public: @@ -47,6 +47,8 @@ public: double getw(); double getxs(); double getys(); + double getye(); + double getze(); double getDistance(); }; @@ -71,6 +73,16 @@ inline double Star::getys() return ys; } +inline double Star::getye() +{ + return ye; +} + +inline double Star::getze() +{ + return ze; +} + inline double Star::getDistance() { return distance;