Kstars
ksalmanac.h
30 *@brief KSAlmanac constructor initializing an almanac for the current KStarsData::Instance geolocation and time.
36 *@param midnight is the midnight date and time to consider as beginning of the day at the "geo" location.
37 *@param geo is the GeoLocation to use for this almanac, defaulting to the KStarsData::Instance geolocation.
38 *@note if the timespec of midnight is local time, its UTC value at the geolocation "geo" will be used instead.
44 *@param utc_midnight and local_midnight are the midnight date and time to consider as beginning of the day at the geo_ location, either UTC or local.
47 *@note These functions are not merged into a single timespec-aware one for backwards compatilibity.
51 void setDateFromLT(const KStarsDateTime &local_midnight) { setDate(geo->LTtoUT(local_midnight)); }
73 *These functions return the max and min altitude of the sun during the course of the day in degrees
105 * This function computes the rise and set time for the given SkyObject. This is done in order to
108 void RiseSetTime(SkyObject *o, double *riseTime, double *setTime, QTime *RiseTime, QTime *SetTime);
111 * Compute the dawn and dusk times in a [-12,+12] hours around the day midnight of this KSAlmanac, if any, as well as min and max altitude.
112 * - If the day midnight of this KSAlmanac is during astronomical night time, dusk will be before dawn.
113 * - If the day midnight of this KSAlmanac is during twilight or day time, dawn will be before dusk.
114 * - If there is no astronomical night time, dawn and dusk will be set to the time of minimal altitude of the Sun.
115 * - If there is no twilight or day time, dawn and dusk will be set to the time of minimal altitude of the Sun.
145 QTime SunRiseT, SunSetT, MoonRiseT, MoonSetT, DuskAstronomicalTwilightT, DawnAstronomicalTwilightT;
Contains all relevant information for specifying a location on Earth: City Name, State/Province name,...
Definition geolocation.h:28
A class that implements methods to find sun rise, sun set, twilight begin / end times,...
Definition ksalmanac.h:27
double sunZenithAngleToTime(double z) const
Convert the zenithal distance of the sun to fraction of the day.
Definition ksalmanac.cpp:184
double getSunMaxAlt() const
These functions return the max and min altitude of the sun during the course of the day in degrees.
Definition ksalmanac.h:75
void setDate(const KStarsDateTime &utc_midnight)
Get/set the date for computations to the given date.
Definition ksalmanac.cpp:172
double getSunRise() const
All the functions returns the fraction of the day given by getDate() as their return value.
Definition ksalmanac.h:65
void setLocation(const GeoLocation *geo_)
Set the location for computations to the given location.
Definition ksalmanac.cpp:178
KSAlmanac()
KSAlmanac constructor initializing an almanac for the current KStarsData::Instance geolocation and ti...
Definition ksalmanac.cpp:13
Extension of QDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day,...
Definition kstarsdatetime.h:36
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 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:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.