Kstars
ecliptic.cpp
21 Ecliptic::Ecliptic(SkyComposite *parent) : LineListIndex(parent, i18n("Ecliptic")), m_label(name())
Definition: skylabeler.h:98
Ecliptic(SkyComposite *parent)
Constructor parent pointer to the parent SkyComposite object name is the name of the subclass.
Definition: ecliptic.cpp:21
Definition: linelist.h:24
void drawLines(SkyPainter *skyp)
Draws all the lines in m_listList as simple lines in float mode.
Definition: linelistindex.cpp:180
Stores dms coordinates for a point in the sky. for converting between coordinate systems.
Definition: skypoint.h:44
Definition: kstarsdata.h:70
Definition: skycomposite.h:29
void setPen(const QPen &pen)
sets the pen used for drawing labels on the sky.
Definition: skylabeler.cpp:197
void EquatorialToHorizontal(const CachingDms *LST, const CachingDms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates,...
Definition: skypoint.cpp:77
virtual void setH(const double &x)
Sets floating-point value of angle, in hours.
Definition: dms.h:210
QString i18n(const char *text, const TYPE &arg...)
QString & setNum(short n, int base)
Definition: linelistindex.h:29
bool drawGuideLabel(QPointF &o, const QString &text, double angle)
Tries to draw the text at the position and angle specified.
Definition: skylabeler.cpp:112
Definition: projector.h:55
void setFromEcliptic(const CachingDms *Obliquity, const dms &EcLong, const dms &EcLat)
Set the current (RA, Dec) coordinates of the SkyPoint, given pointers to its Ecliptic (Long,...
Definition: skypoint.cpp:201
void appendLine(const std::shared_ptr< LineList > &lineList)
Typically called from within a subclasses constructors.
Definition: linelistindex.cpp:63
QPointF toScreen(const SkyPoint *o, bool oRefract=true, bool *onVisibleHemisphere=nullptr) const
This is exactly the same as toScreenVec but it returns a QPointF.
Definition: projector.cpp:93
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition: ecliptic.cpp:57
const dms reduce() const
return the equivalent angle between 0 and 360 degrees.
Definition: dms.cpp:251
SolidLine
bool checkVisibility(const SkyPoint *p) const
Determine if the skypoint p is likely to be visible in the display window.
Definition: projector.cpp:183
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:59:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:59:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.