kstars
KSSun Class Reference
Child class of KSPlanetBase; encapsulates information about the Sun. More...
#include <kssun.h>
Inheritance diagram for KSSun:

Public Member Functions | |
| long double | autumnEquinox (int year) | 
| long double | equinox (int year, int d, int m, double angle) | 
| KSSun (KStarsData *kd, QString fn="", double pSize=0) | |
| virtual bool | loadData () | 
| long double | springEquinox (int year) | 
| long double | summerSolstice (int year) | 
| long double | winterSolstice (int year) | 
| virtual | ~KSSun () | 
Protected Member Functions | |
| virtual bool | findGeocentricPosition (const KSNumbers *num, const KSPlanetBase *Earth=NULL) | 
Detailed Description
Child class of KSPlanetBase; encapsulates information about the Sun.Provides necessary information about the Sun.
- Version:
 - 1.0
 
Definition at line 33 of file kssun.h.
Constructor & Destructor Documentation
| KSSun::KSSun | ( | KStarsData * | kd, | |
| QString |  fn = "",  | 
        |||
| double |  pSize = 0 | |||
| ) | 
Constructor.
Defines constants needed by findPosition(). Sets Ecliptic coordinates appropriate for J2000.
- Parameters:
 - 
  
kd pointer to KStarsData object fn filename of Sun image pSize physical diameter of the Sun, in km  
| virtual KSSun::~KSSun | ( | ) |  [inline, virtual] | 
        
Member Function Documentation
| long double KSSun::equinox | ( | int | year, | |
| int | d, | |||
| int | m, | |||
| double | angle | |||
| ) | 
| bool KSSun::findGeocentricPosition | ( | const KSNumbers * | num, | |
| const KSPlanetBase * |  Earth = NULL | |||
| ) |  [protected, virtual] | 
        
| bool KSSun::loadData | ( | ) |  [virtual] | 
        
The documentation for this class was generated from the following files:
    KDE 3.5 API Reference