X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fephemeris%2Fstar.hxx;h=838cbce70e0d9e8ad56fbcd345d26987565fa0a2;hb=70c5d605641b628039f75cb8761ce783a17a5bdf;hp=781cfcd602beda0760bba89b412ee7f1a1b294f1;hpb=dcb95d131bc6aef1abe25d1f415e309f06e52436;p=simgear.git diff --git a/simgear/ephemeris/star.hxx b/simgear/ephemeris/star.hxx index 781cfcd6..838cbce7 100644 --- a/simgear/ephemeris/star.hxx +++ b/simgear/ephemeris/star.hxx @@ -43,47 +43,47 @@ public: Star (); ~Star(); void updatePosition(double mjd); - double getM(); - double getw(); - double getxs(); - double getys(); - double getye(); - double getze(); - double getDistance(); + double getM() const; + double getw() const; + double getxs() const; + double getys() const; + double getye() const; + double getze() const; + double getDistance() const; }; -inline double Star::getM() +inline double Star::getM() const { return M; } -inline double Star::getw() +inline double Star::getw() const { return w; } -inline double Star::getxs() +inline double Star::getxs() const { return xs; } -inline double Star::getys() +inline double Star::getys() const { return ys; } -inline double Star::getye() +inline double Star::getye() const { return ye; } -inline double Star::getze() +inline double Star::getze() const { return ze; } -inline double Star::getDistance() +inline double Star::getDistance() const { return distance; }