kstars
starobject.h
Go to the documentation of this file.
166 virtual void updateCoords( KSNumbers *num, bool includePlanets=true, const dms *lat=0, const dms *LST=0, bool forceRecompute = false );
283 float B, V; // B and V magnitudes, separately. NOTE 1) This is kept separate from mag for a reason. See init( const deepStarData *); 2) This applies only to deep stars at the moment
void setMultiple(bool m)
set the star's multiplicity flag (i.e., is it a binary or multiple star?)
Definition: starobject.h:220
void JITupdate()
added for JIT updates from both StarComponent and ConstellationLines
Definition: starobject.cpp:317
static double reindexInterval(double pm)
returns the reindex interval (in centuries!) for the given magnitude of proper motion (in milliarcsec...
Definition: starobject.cpp:49
double pmMagnitudeSquared()
returns the square of the magnitude of the proper motion correction in (milliarcsec/year)^2 ...
Definition: starobject.h:190
virtual void updateCoords(KSNumbers *num, bool includePlanets=true, const dms *lat=0, const dms *LST=0, bool forceRecompute=false)
Determine the current coordinates (RA, Dec) from the catalog coordinates (RA0, Dec0), accounting for both precession and nutation.
Definition: starobject.cpp:244
void setParallax(double plx)
set the star's parallax angle, in milliarcsec
Definition: starobject.h:210
void setNames(QString name, QString name2)
Sets the name, genetive name, and long name.
Definition: starobject.cpp:225
QString greekLetter(bool useGreekChars=true) const
Returns the greek letter portion of the star's genetive name.
Definition: starobject.cpp:356
void setProperMotion(double pmra, double pmdec)
Set the Ra and Dec components of the star's proper motion, in milliarcsec/year.
Definition: starobject.h:201
void getIndexCoords(KSNumbers *num, double *ra, double *dec)
Definition: starobject.cpp:268
char spchar() const
Returns just the first character of the spectral type string.
Definition: starobject.cpp:344
double pmMagnitude()
returns the magnitude of the proper motion correction in milliarcsec/year
Definition: starobject.h:180
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
void init(const starData *stardata)
Initializes a StarObject to given data.
Definition: starobject.cpp:133
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:59
virtual QString longname(void) const
If star is unnamed return "star" otherwise return the longname.
Definition: starobject.h:134
virtual QString name(void) const
If star is unnamed return "star" otherwise return the name.
Definition: starobject.h:131
QString gname(bool useGreekChars=true) const
Returns the genetive name of the star.
Definition: starobject.cpp:349
Provides all necessary information about an object in the sky: its coordinates, name(s), type, magnitude, and QStringLists of URLs for images and webpages regarding the object.
Definition: skyobject.h:46
QString nameLabel(bool drawName, bool drawMag) const
Definition: starobject.cpp:493
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.