• 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
kssun.h
Go to the documentation of this file.
1 /***************************************************************************
2  kssun.h - K Desktop Planetarium
3  -------------------
4  begin : Sun Jan 29 2002
5  copyright : (C) 2002 by Mark Hollomon
6  email : mhh@mindspring.com
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 KSSUN_H_
19 #define KSSUN_H_
20 
21 #include <QString>
22 #include "ksplanet.h"
23 
31 class KSSun : public KSPlanet {
32 public:
37  KSSun();
38 
39  virtual KSSun* clone() const;
40  virtual SkyObject::UID getUID() const;
41 
44  virtual ~KSSun() {}
45 
52  virtual bool loadData();
53 
54 
55 protected:
60  virtual bool findGeocentricPosition( const KSNumbers *num, const KSPlanetBase *Earth=NULL );
61 private:
62  virtual void findMagnitude(const KSNumbers*);
63 };
64 long double equinox(int year, int d, int m, int angle);
65 
66 #endif
KSSun::KSSun
KSSun()
Constructor.
Definition: kssun.cpp:26
KSPlanet
A subclass of KSPlanetBase for seven of the major planets in the solar system (Earth and Pluto have t...
Definition: ksplanet.h:40
KSSun
Child class of KSPlanetBase; encapsulates information about the Sun.
Definition: kssun.h:31
equinox
long double equinox(int year, int d, int m, int angle)
ksplanet.h
KSSun::getUID
virtual SkyObject::UID getUID() const
Return UID for object.
Definition: kssun.cpp:149
KSSun::clone
virtual KSSun * clone() const
Create copy of object.
Definition: kssun.cpp:32
KSSun::findGeocentricPosition
virtual bool findGeocentricPosition(const KSNumbers *num, const KSPlanetBase *Earth=NULL)
Determine geocentric RA, Dec coordinates for the Epoch given in the argument.
Definition: kssun.cpp:45
SkyObject::UID
qint64 UID
Type for Unique object IDenticator.
Definition: skyobject.h:53
KSNumbers
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
NaN::d
const double d
Definition: nan.h:35
KSPlanetBase
A subclass of TrailObject that provides additional information needed for most solar system objects...
Definition: ksplanetbase.h:63
KSSun::loadData
virtual bool loadData()
Read orbital data from disk.
Definition: kssun.cpp:37
KSSun::~KSSun
virtual ~KSSun()
Destructor (empty)
Definition: kssun.h:44
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