Go to the documentation of this file.
22 #ifndef CEObservation_h
23 #define CEObservation_h
virtual double GetHourAngle_Rad()
CEObservation & operator=(const CEObservation &other)
Copy assignment operator.
virtual double GetZenith_Deg()
virtual void SetObserver(CEObserver *new_observer)
Set underlying CEObserver object.
virtual double GetApparentXCoordinate_Rad()
void free_members(void)
Deallocate memory.
virtual void GetAzimuthZenith_Deg(double *azimuth, double *zenith)
Returns both the azimuth and zenith angle of a given 'body_' as observed by 'observer_' on the date g...
virtual double GetAltitude_Rad()
double cached_apparentycoord_
virtual double GetApparentYCoordinate_Deg()
CEObserver * Observer()
Access the underlying objects.
void init_members(void)
Initialize the data members.
virtual ~CEObservation()
Destructor.
virtual void GetApparentXYCoordinate_Deg(double *apparent_X, double *apparent_Y)
Returns both the observed x,y coordinates of a given 'body_' as observed by 'observer_' on the date g...
virtual double GetHourAngle_Deg()
bool UpdateCoordinates()
Update the stored coordinates.
CEObservation()
Default constructor.
virtual double GetApparentXCoordinate_Deg()
static CEAngle Rad(const double &angle)
Return angle constructed from a radians angle.
bool NeedsUpdate(void)
Check whether the date has changed since the last time all of the parameters were updated (i....
void copy_members(const CEObservation &other)
Copy data members from another object.
double cached_apparentxcoord_
CEBody * Body()
Access underlying CEBody object.
virtual double GetAzimuth_Rad()
CESkyCoord cached_coords_
virtual void GetAzimuthZenith_Rad(double *azimuth, double *zenith)
Returns both the azimuth and zenith angle of a given 'body_' as observed by 'observer_' on the date g...
virtual double GetApparentYCoordinate_Rad()
double cached_hour_angle_
virtual double GetAzimuth_Deg()
virtual void SetBody(CEBody *new_body)
Set underlying CEBody object.
virtual double GetZenith_Rad()
CEDate * Date()
Access underlying CEDate object.
virtual double GetAltitude_Deg()
virtual void SetDate(CEDate *new_date)
Set underlying CEDate object.
static CEAngle Deg(const double &angle)
Return angle (radians) constructed from a degree angle.
virtual void GetApparentXYCoordinate_Rad(double *apparent_X, double *apparent_Y)
Returns both the observed x,y coordinates of a given 'body_' as observed by 'observer_' on the date g...
virtual CEAngle XCoord(const CEDate &jd=CppEphem::julian_date_J2000()) const
Return x coordinate at given Julian date.
virtual CEAngle YCoord(const CEDate &jd=CppEphem::julian_date_J2000()) const
Return y coordinate at given Julian date.