Stars¶
-
class Stars¶
A class that stores star positions by declination, ascension and magnitude.
Public Functions
-
void UseUrsaMajor(float max_magnitude)¶
Initialize the stars with only Ursa Major as seen from Earth. Useful for testing ephemerides.
-
void UseDefaultStars()¶
Initialize the stars with the default stars - the stars seen from Earth.
-
int GetNumStars() const¶
Get the total number of stars.
-
const Star &GetVisibleStar(int i) const¶
Get a star from the currently visible list.
-
int GetNumVisibleStars() const¶
Get the total number of visible stars.
-
const Star &GetStar(int i) const¶
Get a star from the complete list.
-
void UseUrsaMajor(float max_magnitude)¶