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

marble

  • Marble
  • Planet
Public Member Functions | Static Public Member Functions | List of all members
Marble::Planet Class Reference

#include <Planet.h>

Public Member Functions

 Planet ()
 
 Planet (const QString &id)
 
 Planet (const Planet &other)
 
 ~Planet ()
 
QColor atmosphereColor () const
 
qreal C_1 () const
 
qreal C_2 () const
 
qreal C_3 () const
 
qreal C_4 () const
 
qreal C_5 () const
 
qreal C_6 () const
 
qreal epsilon () const
 
bool hasAtmosphere () const
 
QString id () const
 
qreal M_0 () const
 
qreal M_1 () const
 
QString name () const
 
Planet & operator= (const Planet &rhs)
 
qreal Pi () const
 
qreal radius () const
 
void setAtmosphereColor (const QColor &color)
 
void setC_1 (qreal C_1)
 
void setC_2 (qreal C_2)
 
void setC_3 (qreal C_3)
 
void setC_4 (qreal C_4)
 
void setC_5 (qreal C_5)
 
void setC_6 (qreal C_6)
 
void setEpsilon (qreal epsilon)
 
void setHasAtmosphere (bool enabled)
 
void setId (const QString &id)
 
void setM_0 (qreal M_0)
 
void setM_1 (qreal M_1)
 
void setName (const QString &name)
 
void setPi (qreal Pi)
 
void setRadius (qreal radius)
 
void setTheta_0 (qreal theta_0)
 
void setTheta_1 (qreal theta_1)
 
qreal theta_0 () const
 
qreal theta_1 () const
 

Static Public Member Functions

static QString name (const QString &id)
 
static QStringList planetList ()
 

Detailed Description

Definition at line 25 of file Planet.h.

Constructor & Destructor Documentation

Marble::Planet::Planet ( )

Constructor to use for a custom planet All of the orbital elements are left empty, so you can fill them in yourself.

Definition at line 63 of file Planet.cpp.

Marble::Planet::Planet ( const QString &  id)
explicit

Constructs a planet with id, filling orbital elements.

Definition at line 70 of file Planet.cpp.

Marble::Planet::Planet ( const Planet &  other)

Copy Constructor.

Definition at line 176 of file Planet.cpp.

Marble::Planet::~Planet ( )

Destructor.

Definition at line 185 of file Planet.cpp.

Member Function Documentation

QColor Marble::Planet::atmosphereColor ( ) const

Definition at line 412 of file Planet.cpp.

qreal Marble::Planet::C_1 ( ) const

for calculating equation of center

Definition at line 203 of file Planet.cpp.

qreal Marble::Planet::C_2 ( ) const

Definition at line 207 of file Planet.cpp.

qreal Marble::Planet::C_3 ( ) const

Definition at line 211 of file Planet.cpp.

qreal Marble::Planet::C_4 ( ) const

Definition at line 215 of file Planet.cpp.

qreal Marble::Planet::C_5 ( ) const

Definition at line 219 of file Planet.cpp.

qreal Marble::Planet::C_6 ( ) const

Definition at line 223 of file Planet.cpp.

qreal Marble::Planet::epsilon ( ) const

obliquity of the ecliptic plane

Definition at line 235 of file Planet.cpp.

bool Marble::Planet::hasAtmosphere ( ) const

Definition at line 402 of file Planet.cpp.

QString Marble::Planet::id ( ) const

The internal, nonlocalized name of the planet.

Definition at line 262 of file Planet.cpp.

qreal Marble::Planet::M_0 ( ) const

for calculating mean anomaly

Definition at line 193 of file Planet.cpp.

qreal Marble::Planet::M_1 ( ) const

Definition at line 197 of file Planet.cpp.

QString Marble::Planet::name ( ) const

The user visible name of the planet.

Definition at line 257 of file Planet.cpp.

QString Marble::Planet::name ( const QString &  id)
static

Definition at line 337 of file Planet.cpp.

Planet & Marble::Planet::operator= ( const Planet &  rhs)

Definition at line 394 of file Planet.cpp.

qreal Marble::Planet::Pi ( ) const

ecliptic longitude of the perihelion

Definition at line 229 of file Planet.cpp.

QStringList Marble::Planet::planetList ( )
static

Definition at line 373 of file Planet.cpp.

qreal Marble::Planet::radius ( ) const

the radius of the planet, in metres

Definition at line 251 of file Planet.cpp.

void Marble::Planet::setAtmosphereColor ( const QColor &  color)

Definition at line 417 of file Planet.cpp.

void Marble::Planet::setC_1 ( qreal  C_1)

Definition at line 278 of file Planet.cpp.

void Marble::Planet::setC_2 ( qreal  C_2)

Definition at line 282 of file Planet.cpp.

void Marble::Planet::setC_3 ( qreal  C_3)

Definition at line 286 of file Planet.cpp.

void Marble::Planet::setC_4 ( qreal  C_4)

Definition at line 290 of file Planet.cpp.

void Marble::Planet::setC_5 ( qreal  C_5)

Definition at line 294 of file Planet.cpp.

void Marble::Planet::setC_6 ( qreal  C_6)

Definition at line 298 of file Planet.cpp.

void Marble::Planet::setEpsilon ( qreal  epsilon)

Definition at line 308 of file Planet.cpp.

void Marble::Planet::setHasAtmosphere ( bool  enabled)

Definition at line 407 of file Planet.cpp.

void Marble::Planet::setId ( const QString &  id)

Definition at line 332 of file Planet.cpp.

void Marble::Planet::setM_0 ( qreal  M_0)

Definition at line 269 of file Planet.cpp.

void Marble::Planet::setM_1 ( qreal  M_1)

Definition at line 273 of file Planet.cpp.

void Marble::Planet::setName ( const QString &  name)

Definition at line 327 of file Planet.cpp.

void Marble::Planet::setPi ( qreal  Pi)

Definition at line 303 of file Planet.cpp.

void Marble::Planet::setRadius ( qreal  radius)

Definition at line 322 of file Planet.cpp.

void Marble::Planet::setTheta_0 ( qreal  theta_0)

Definition at line 313 of file Planet.cpp.

void Marble::Planet::setTheta_1 ( qreal  theta_1)

Definition at line 317 of file Planet.cpp.

qreal Marble::Planet::theta_0 ( ) const

for calculating sidereal time

Definition at line 241 of file Planet.cpp.

qreal Marble::Planet::theta_1 ( ) const

Definition at line 245 of file Planet.cpp.


The documentation for this class was generated from the following files:
  • Planet.h
  • Planet.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • 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
  • 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