Added Eci class
parent
f52c1200cb
commit
bd8bacff55
14
Observer.h
14
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
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Coord.cpp" />
|
||||
<ClCompile Include="Eci.cpp" />
|
||||
<ClCompile Include="Globals.cpp" />
|
||||
<ClCompile Include="Julian.cpp" />
|
||||
<ClCompile Include="main.cpp" />
|
||||
|
@ -85,6 +86,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Coord.h" />
|
||||
<ClInclude Include="Eci.h" />
|
||||
<ClInclude Include="Globals.h" />
|
||||
<ClInclude Include="Julian.h" />
|
||||
<ClInclude Include="Observer.h" />
|
||||
|
|
|
@ -39,6 +39,9 @@
|
|||
<ClCompile Include="Observer.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Eci.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Coord.h">
|
||||
|
@ -65,5 +68,8 @@
|
|||
<ClInclude Include="Observer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Eci.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Reference in New Issue