sgp4/Observer.h

29 lines
502 B
C
Raw Normal View History

#ifndef OBSERVER_H_
#define OBSERVER_H_
#include "Coord.h"
class Observer {
public:
2011-03-30 16:03:52 +00:00
Observer(const double latitude, const double longitude, const double altitude);
Observer(const CoordGeodetic &geo);
virtual ~Observer(void);
2011-03-30 15:23:45 +00:00
void SetLocation(const CoordGeodetic& geo) {
geo_ = geo;
}
CoordGeodetic GetLocation() const {
return geo_;
}
private:
/*
* the observers position
*/
CoordGeodetic geo_;
};
#endif