Store the informations for a location on a planet.
#include <StelLocation.hpp>
|
QString | getID () const |
| Return a short string which can be used in a list view.
|
|
bool | isValid () const |
|
QString | serializeToLine () const |
| Output the location as a string ready to be stored in the user_location file.
|
|
|
static StelLocation | createFromLine (const QString &line) |
| Parse a location from a line serialization.
|
|
static float | distanceDegrees (const float long1, const float lat1, const float long2, const float lat2) |
| Compute great-circle distance between two locations.
|
|
|
static const int | DEFAULT_BORTLE_SCALE_INDEX |
|
◆ ianaTimeZone
QString StelLocation::ianaTimeZone |
Note that timezone names under various OSes may be different than those used in Stellarium's location database (e.g. Ubuntu:Asia/Kolkata=Windows:Asia/Calcutta), which requires some translation effort during the loading process.
◆ role
Possible values:
C
or B
is a capital city
R
is a regional capital
N
is a normal city (any other type of settlement)
O
is an observatory
L
is a spacecraft lander
I
is a spacecraft impact
A
is a spacecraft crash
X
is an unknown or user-defined location (the default value).
!
is an invalid location.