Kstars
constellationlines.cpp
void JITupdate(LineList *lineList) override
we need to override the update routine because stars are updated differently from mere SkyPoints.
Definition: constellationlines.cpp:138
void setKSNumbers(KSNumbers *num)
sets the time for indexing StarObjects and CLines.
Definition: skymesh.h:145
Definition: ksfilereader.h:53
Definition: linelist.h:24
bool open(const QString &fname)
opens the file fname from the QStandardPaths::AppLocalDataLocation directory and uses that file for t...
Definition: ksfilereader.cpp:31
QString trimmed() const const
Definition: kstarsdata.h:70
const IndexHash & indexStarLine(SkyList *points)
Fills a hash with all the trixels needed to cover all the line segments in the SkyList where each Sky...
Definition: skymesh.cpp:145
Definition: skycomposite.h:29
double pmMagnitude() const
returns the magnitude of the proper motion correction in milliarcsec/year
Definition: starobject.h:193
void reindexLines()
as the name says, recreates the lineIndex using the LineLists in the previous index.
Definition: linelistindex.cpp:108
QString i18n(const char *text, const TYPE &arg...)
void summary()
prints out some summary statistics if the skyMesh debug is greater than 1.
Definition: linelistindex.cpp:241
Definition: linelistindex.h:29
Definition: culturelist.h:16
bool isEmpty() const const
int toInt(bool *ok, int base) const const
SkyList * points()
return the list of points for iterating or appending (or whatever).
Definition: linelist.h:33
QString readLine()
increments the line number and returns the next line from the file as a QString.
Definition: ksfilereader.h:105
void appendLine(const std::shared_ptr< LineList > &lineList)
Typically called from within a subclasses constructors.
Definition: linelistindex.cpp:63
const QChar at(int position) const const
void JITupdate()
added for JIT updates from both StarComponent and ConstellationLines
Definition: starobject.cpp:526
void preDraw(SkyPainter *skyp) override
Set the QColor and QPen for drawing.
Definition: constellationlines.cpp:123
ConstellationLines(SkyComposite *parent, CultureList *cultures)
Constructor parent Pointer to the parent SkyComposite object.
Definition: constellationlines.cpp:23
SolidLine
StarObject * findByHDIndex(int HDnum)
Find stars by HD catalog index.
Definition: starcomponent.cpp:610
QString mid(int position, int n) const const
static double reindexInterval(double pm)
returns the reindex interval (in centuries!) for the given magnitude of proper motion (in milliarcsec...
Definition: starobject.cpp:46
const IndexHash & getIndexHash(LineList *lineList) override
Returns an IndexHash from the SkyMesh that contains the set of trixels that cover lineList.
Definition: constellationlines.cpp:130
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 04:06:01 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 04:06:01 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.