Kstars
earthshadowcomponent.cpp
2 SPDX-FileCopyrightText: 2018 Valentin Boettcher <valentin@boettcher.cf (do not hesitate to contact)>
14EarthShadowComponent::EarthShadowComponent(SkyComposite *parent, KSEarthShadow *shadow) : SkyComponent(parent)
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition earthshadowcomponent.cpp:43
void update(KSNumbers *num) override
Update the sky position(s) of this component.
Definition earthshadowcomponent.cpp:20
A class that manages the calculation of the earths shadow (in moon distance) as a 'virtual' skyobject...
Definition ksearthshadow.h:28
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
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition ksnumbers.h:43
SkyComposite is a kind of container class for SkyComponent objects.
Definition skycomposite.h:30
virtual bool drawEarthShadow(KSEarthShadow *shadow)=0
Draw the earths shadow on the moon (red-ish)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.