Kstars
starobject.h
58 explicit StarObject(dms r = dms(0.0), dms d = dms(0.0), float m = 0.0, const QString &n = QString(),
78 StarObject(double r, double d, float m = 0.0, const QString &n = QString(), const QString &n2 = QString(),
79 const QString &sptype = "--", double pmra = 0.0, double pmdec = 0.0, double par = 0.0, bool mult = false,
171 void updateCoords(const KSNumbers *num, bool includePlanets = true, const CachingDms *lat = nullptr,
205 * @short returns the square of the magnitude of the proper motion correction in (milliarcsec/year)^2
a dms subclass that caches its sine and cosine values every time the angle is changed.
Definition cachingdms.h:19
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition ksnumbers.h:43
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
static double reindexInterval(double pm)
returns the reindex interval (in centuries!) for the given magnitude of proper motion (in milliarcsec...
Definition starobject.cpp:46
QString name(void) const override
If star is unnamed return "star" otherwise return the name.
Definition starobject.h:130
QString nameLabel(bool drawName, bool drawMag) const
returns the name, the magnitude or both.
Definition starobject.cpp:626
void setParallax(double plx)
set the star's parallax angle, in milliarcsec
Definition starobject.h:236
void initPopupMenu(KSPopupMenu *pmenu) override
Initialize the popup menut.
Definition starobject.cpp:249
QString greekLetter(bool useGreekChars=true) const
Returns the greek letter portion of the star's genetive name.
Definition starobject.cpp:567
void updateCoords(const KSNumbers *num, bool includePlanets=true, const CachingDms *lat=nullptr, const CachingDms *LST=nullptr, bool forceRecompute=false) override
Determine the current coordinates (RA, Dec) from the catalog coordinates (RA0, Dec0),...
Definition starobject.cpp:258
void setMultiple(bool m)
set the star's multiplicity flag (i.e., is it a binary or multiple star?)
Definition starobject.h:248
QString longname(void) const override
If star is unnamed return "star" otherwise return the longname.
Definition starobject.h:133
void JITupdate()
added for JIT updates from both StarComponent and ConstellationLines
Definition starobject.cpp:526
void setNames(const QString &name, const QString &name2)
Sets the name, genetive name, and long name.
Definition starobject.cpp:231
StarObject(dms r=dms(0.0), dms d=dms(0.0), float m=0.0, const QString &n=QString(), const QString &n2=QString(), const QString &sptype="--", double pmra=0.0, double pmdec=0.0, double par=0.0, bool mult=false, bool var=false, int hd=0)
Constructor.
Definition starobject.cpp:57
double pmMagnitudeSquared() const
returns the square of the magnitude of the proper motion correction in (milliarcsec/year)^2
Definition starobject.h:212
char spchar() const
Returns just the first character of the spectral type string.
Definition starobject.cpp:554
double pmMagnitude() const
returns the magnitude of the proper motion correction in milliarcsec/year
Definition starobject.h:199
bool getIndexCoords(const double julianMillenia, CachingDms &ra, CachingDms &dec) const
Fills ra and dec with the coordinates of the star with the proper motion correction but without preci...
Definition starobject.cpp:290
void setProperMotion(double pmra, double pmdec)
Set the Ra and Dec components of the star's proper motion, in milliarcsec/year.
Definition starobject.h:223
void init(const StarData *stardata)
Initializes a StarObject to given data.
Definition starobject.cpp:133
QString gname(bool useGreekChars=true) const
Returns the genetive name of the star.
Definition starobject.cpp:559
bool isEmpty() const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
A 16-byte structure that holds star data for really faint stars.
Definition nomadbinfile2mysql.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.