Added Eci class
parent
f52c1200cb
commit
bd8bacff55
14
Observer.h
14
Observer.h
|
@ -7,6 +7,20 @@ class Observer {
|
||||||
public:
|
public:
|
||||||
Observer(void);
|
Observer(void);
|
||||||
virtual ~Observer(void);
|
virtual ~Observer(void);
|
||||||
|
|
||||||
|
void SetLocation(const CoordGeodetic& geo) {
|
||||||
|
geo_ = geo;
|
||||||
|
}
|
||||||
|
|
||||||
|
CoordGeodetic GetLocation() const {
|
||||||
|
return geo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
/*
|
||||||
|
* the observers position
|
||||||
|
*/
|
||||||
|
CoordGeodetic geo_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -75,6 +75,7 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="Coord.cpp" />
|
<ClCompile Include="Coord.cpp" />
|
||||||
|
<ClCompile Include="Eci.cpp" />
|
||||||
<ClCompile Include="Globals.cpp" />
|
<ClCompile Include="Globals.cpp" />
|
||||||
<ClCompile Include="Julian.cpp" />
|
<ClCompile Include="Julian.cpp" />
|
||||||
<ClCompile Include="main.cpp" />
|
<ClCompile Include="main.cpp" />
|
||||||
|
@ -85,6 +86,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="Coord.h" />
|
<ClInclude Include="Coord.h" />
|
||||||
|
<ClInclude Include="Eci.h" />
|
||||||
<ClInclude Include="Globals.h" />
|
<ClInclude Include="Globals.h" />
|
||||||
<ClInclude Include="Julian.h" />
|
<ClInclude Include="Julian.h" />
|
||||||
<ClInclude Include="Observer.h" />
|
<ClInclude Include="Observer.h" />
|
||||||
|
|
|
@ -39,6 +39,9 @@
|
||||||
<ClCompile Include="Observer.cpp">
|
<ClCompile Include="Observer.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="Eci.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="Coord.h">
|
<ClInclude Include="Coord.h">
|
||||||
|
@ -65,5 +68,8 @@
|
||||||
<ClInclude Include="Observer.h">
|
<ClInclude Include="Observer.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="Eci.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in New Issue