2011-03-30 16:03:52 +00:00
|
|
|
#ifndef ECI_H_
|
|
|
|
#define ECI_H_
|
|
|
|
|
2011-04-23 11:18:51 +00:00
|
|
|
#include "CoordGeodetic.h"
|
2011-03-30 16:03:52 +00:00
|
|
|
#include "Vector.h"
|
|
|
|
#include "Julian.h"
|
|
|
|
|
|
|
|
class Eci {
|
|
|
|
public:
|
2011-03-30 17:16:37 +00:00
|
|
|
|
|
|
|
Eci() {
|
|
|
|
};
|
2011-03-30 16:03:52 +00:00
|
|
|
Eci(const Julian &date, const CoordGeodetic &geo);
|
2011-04-23 17:59:22 +00:00
|
|
|
Eci(const Julian &date, const Vector &position);
|
2011-03-30 16:03:52 +00:00
|
|
|
Eci(const Julian &date, const Vector &position, const Vector &velocity);
|
|
|
|
virtual ~Eci(void);
|
|
|
|
|
|
|
|
Vector GetPosition() const {
|
|
|
|
return position_;
|
|
|
|
}
|
|
|
|
|
|
|
|
Vector GetVelocity() const {
|
|
|
|
return velocity_;
|
|
|
|
}
|
|
|
|
|
|
|
|
Julian GetDate() const {
|
|
|
|
return date_;
|
|
|
|
}
|
|
|
|
|
2011-04-09 20:40:45 +00:00
|
|
|
CoordGeodetic ToGeodetic() const;
|
|
|
|
|
2011-03-30 16:03:52 +00:00
|
|
|
private:
|
2011-03-30 21:32:44 +00:00
|
|
|
Julian date_;
|
2011-03-30 16:03:52 +00:00
|
|
|
Vector position_;
|
|
|
|
Vector velocity_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|