X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Ftiming%2Fgeocoord.h;h=536cf0f95ca2fe7707d631d05636eb24e09d94bd;hb=fc7ec4299e15cd27ce8c0a581a7e9bb2b3ea11ee;hp=0dc188c002eddcf09618d6cd8b9eb0fb790f5e6f;hpb=51ef4568dd248a6917720a386e658610958e1512;p=simgear.git diff --git a/simgear/timing/geocoord.h b/simgear/timing/geocoord.h index 0dc188c0..536cf0f9 100644 --- a/simgear/timing/geocoord.h +++ b/simgear/timing/geocoord.h @@ -12,10 +12,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * **************************************************************************/ @@ -37,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 @@ -67,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