Kstars
ksearthshadow.h
2 SPDX-FileCopyrightText: 2018 Valentin Boettcher <valentin@boettcher.cf (do not hesitate to contact)>
76 void updateCoords(const KSNumbers *num, bool includePlanets = true, const CachingDms *lat = nullptr,
a dms subclass that caches its sine and cosine values every time the angle is changed.
Definition cachingdms.h:19
A class that manages the calculation of the earths shadow (in moon distance) as a 'virtual' skyobject...
Definition ksearthshadow.h:28
void findMagnitude(const KSNumbers *) override
Computes the visual magnitude for the major planets.
Definition ksearthshadow.h:116
bool findGeocentricPosition(const KSNumbers *, const KSPlanetBase *Earth=nullptr) override
find the object's current geocentric equatorial coordinates (RA and Dec) This function is pure virtua...
Definition ksearthshadow.cpp:45
bool shouldUpdate()
The earths shadow on the moon appears only at new moon so calculating it on other occasions is rather...
Definition ksearthshadow.cpp:15
KSEarthShadow(const KSMoon *moon, const KSSun *sun, const KSPlanet *earth)
Definition ksearthshadow.cpp:10
void calculateShadowRadius()
Updates umbra and penumbra radius from the positions of the three bodies.
Definition ksearthshadow.cpp:71
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition ksnumbers.h:43
A subclass of TrailObject that provides additional information needed for most solar system objects.
Definition ksplanetbase.h:50
A subclass of KSPlanetBase for seven of the major planets in the solar system (Earth and Pluto have t...
Definition ksplanet.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.