Kstars
geolocation.cpp
28GeoLocation::GeoLocation(double x, double y, double z, const QString &name, const QString &province,
29 const QString &country, double TZ, TimeZoneRule *tzrule, double elevation, bool readOnly, int iEllips)
void cartToGeod()
Converts from cartesian coordinates in meters to longitude, latitude and height on a standard geoid f...
Definition geolocation.cpp:102
void geodToCart()
Converts from longitude, latitude and height on a standard geoid of the Earth to cartesian coordinate...
Definition geolocation.cpp:132
void setEllipsoid(int i)
The geoid is an elliposid which fits the shape of the Earth.
Definition geolocation.cpp:60
double distanceTo(const dms &longitude, const dms &latitude)
distanceTo Return the distance in km from this location to the given longitude and latitude
Definition geolocation.cpp:213
GeoLocation(const dms &lng, const dms &lat, const QString &name="Nowhere", const QString &province="Nowhere", const QString &country="Nowhere", double TZ=0, TimeZoneRule *TZrule=nullptr, double elevation=-10, bool readOnly=false, int iEllips=4)
Constructor using dms objects to specify longitude and latitude.
Definition geolocation.cpp:12
void changeEllipsoid(int i)
Update Latitude, Longitude and Height according to new ellipsoid.
Definition geolocation.cpp:70
void TopocentricVelocity(double vtopo[], const dms >)
Computes the velocity in km/s of an observer on the surface of the Earth referred to a system whose o...
Definition geolocation.cpp:148
Extension of QDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day,...
Definition kstarsdatetime.h:36
This class provides the information needed to determine whether Daylight Savings Time (DST; a....
Definition timezonerule.h:48
void SinCos(double &s, double &c) const
Compute Sine and Cosine of the angle simultaneously.
Definition dms.h:447
static constexpr double PI
PI is a const static member; it's public so that it can be used anywhere, as long as dms....
Definition dms.h:385
QString i18nc(const char *context, const char *text, const TYPE &arg...)
char * data()
void setTimeSpec(Qt::TimeSpec spec)
QString arg(Args &&... args) const const
bool isEmpty() const const
QByteArray toUtf8() const const
LocalTime
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.