• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • skyobjects
kspluto.h
Go to the documentation of this file.
1 /***************************************************************************
2  kspluto.h - K Desktop Planetarium
3  -------------------
4  begin : Mon Sep 24 2001
5  copyright : (C) 2001 by Jason Harris
6  email : kstars@30doradus.org
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef KSPLUTO_H_
19 #define KSPLUTO_H_
20 
21 #include "ksasteroid.h"
22 
43 class KSPluto : public KSAsteroid {
44 public:
51  explicit KSPluto(const QString &fn=QString(), double pSize=0);
52 
53  virtual KSPluto* clone() const;
54 
56  virtual ~KSPluto();
57 
58 protected:
66  virtual bool findGeocentricPosition( const KSNumbers *num, const KSPlanetBase *Earth=NULL );
67 
68 private:
69  virtual void findMagnitude(const KSNumbers*);
70 
71  //The base orbital elements for J2000 (these don't change with time)
72  double a0, e0;
73  dms i0, w0, M0, N0;
74 
75  //Rates-of-change for each orbital element
76  double a1, e1, i1, w1, M1, N1;
77 };
78 
79 #endif
KSPluto::findGeocentricPosition
virtual bool findGeocentricPosition(const KSNumbers *num, const KSPlanetBase *Earth=NULL)
A custom findPosition() function for Pluto.
Definition: kspluto.cpp:68
KSPluto::~KSPluto
virtual ~KSPluto()
Destructor (empty)
Definition: kspluto.cpp:63
KSAsteroid
A subclass of KSPlanetBase that implements asteroids.
Definition: ksasteroid.h:48
dms
An angle, stored as degrees, but expressible in many ways.
Definition: dms.h:42
KSNumbers
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
KSPluto::clone
virtual KSPluto * clone() const
Create copy of object.
Definition: kspluto.cpp:58
KSPlanetBase
A subclass of TrailObject that provides additional information needed for most solar system objects...
Definition: ksplanetbase.h:63
ksasteroid.h
KSPluto::KSPluto
KSPluto(const QString &fn=QString(), double pSize=0)
Constructor.
Definition: kspluto.cpp:34
KSPluto
A subclass of KSAsteroid that represents the planet Pluto.
Definition: kspluto.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal