From bd8bacff55fb0bd33af4b47e397cf4a5cddc5248 Mon Sep 17 00:00:00 2001 From: Daniel Warner Date: Wed, 30 Mar 2011 16:23:45 +0100 Subject: [PATCH] Added Eci class --- Observer.h | 14 ++++++++++++++ Rewrite.vcxproj | 2 ++ Rewrite.vcxproj.filters | 6 ++++++ 3 files changed, 22 insertions(+) diff --git a/Observer.h b/Observer.h index e0a9786..26a7936 100644 --- a/Observer.h +++ b/Observer.h @@ -7,6 +7,20 @@ class Observer { public: Observer(void); virtual ~Observer(void); + + void SetLocation(const CoordGeodetic& geo) { + geo_ = geo; + } + + CoordGeodetic GetLocation() const { + return geo_; + } + +private: + /* + * the observers position + */ + CoordGeodetic geo_; }; #endif diff --git a/Rewrite.vcxproj b/Rewrite.vcxproj index 4e51701..2659507 100644 --- a/Rewrite.vcxproj +++ b/Rewrite.vcxproj @@ -75,6 +75,7 @@ + @@ -85,6 +86,7 @@ + diff --git a/Rewrite.vcxproj.filters b/Rewrite.vcxproj.filters index ad1c8fb..6a3137c 100644 --- a/Rewrite.vcxproj.filters +++ b/Rewrite.vcxproj.filters @@ -39,6 +39,9 @@ Source Files + + Source Files + @@ -65,5 +68,8 @@ Header Files + + Header Files + \ No newline at end of file