X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Ftiming%2Fgeocoord.h;h=536cf0f95ca2fe7707d631d05636eb24e09d94bd;hb=a25e859fa773c9463e4bec042b8d0b39041c29ad;hp=dbea68c253bab9ce728c0af395daae9f8866a27e;hpb=dcb95d131bc6aef1abe25d1f415e309f06e52436;p=simgear.git diff --git a/simgear/timing/geocoord.h b/simgear/timing/geocoord.h index dbea68c2..536cf0f9 100644 --- a/simgear/timing/geocoord.h +++ b/simgear/timing/geocoord.h @@ -36,14 +36,8 @@ #include -#include -#include STL_IOSTREAM -//#include // looks like streambuf does not exist on linux. -// But it looks like it isn't used anyways -:) #include -SG_USING_NAMESPACE(std); - #include class SGGeoCoord @@ -66,14 +60,12 @@ public: float getZ() const { return sin(SGD_DEGREES_TO_RADIANS*lat); }; - //double getAngle(const SGGeoCoord& other) const; - virtual void print() {} ; virtual const char * getDescription() {return 0;}; }; -typedef vector SGGeoCoordVector; -typedef vector::iterator SGGeoCoordVectorIterator; -typedef vector::const_iterator SGGeoCoordVectorConstIterator; +typedef std::vector SGGeoCoordVector; +typedef std::vector::iterator SGGeoCoordVectorIterator; +typedef std::vector::const_iterator SGGeoCoordVectorConstIterator; /************************************************************************ * SGGeoCoordContainer is a simple container class, that stores objects