Kstars
cachingdms.h
void setD(const double &x) override
Sets the angle in degrees supplied as a double.
Definition: cachingdms.h:59
virtual void setD(const double &x)
Sets floating-point value of angle, in degrees.
Definition: dms.h:179
void setUsing_atan2(const double &y, const double &x)
Sets the angle using atan2()
Definition: cachingdms.cpp:62
a dms subclass that caches its sine and cosine values every time the angle is changed.
Definition: cachingdms.h:18
void setH(const int &h, const int &m, const int &s, const int &ms=0) override
Sets the angle in HMS form.
Definition: cachingdms.h:107
void SinCos(double &s, double &c) const
Get the sine and cosine together.
Definition: cachingdms.h:175
void SinCos(double &s, double &c) const
Compute Sine and Cosine of the angle simultaneously.
Definition: dms.h:444
virtual void setH(const double &x)
Sets floating-point value of angle, in hours.
Definition: dms.h:210
void setD(const int &d, const int &m, const int &s, const int &ms=0) override
Overrides dms::setD()
Definition: cachingdms.h:74
void setH(const double &x) override
Sets the angle in hours, supplied as a double.
Definition: cachingdms.h:91
virtual bool setFromString(const QString &s, bool isDeg=true)
Attempt to parse the string argument as a dms value, and set the dms object accordingly.
Definition: dms.cpp:48
friend CachingDms operator+(const CachingDms &, const CachingDms &)
Addition and subtraction operators.
Definition: cachingdms.cpp:176
virtual void setRadians(const double &Rad)
Set angle according to the argument, in radians.
Definition: dms.h:333
static CachingDms fromString(const QString &s, bool deg)
Construct an angle from the given string.
Definition: cachingdms.cpp:121
bool setFromString(const QString &s, bool isDeg=true) override
Sets the angle from string.
Definition: cachingdms.h:120
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 04:02:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 04:02:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.