Author: Christian Mayer
Date started: 28.05.99
- ---------- Copyright (C) 1999 Christian Mayer (vader@t-online.de) ----------
+ -------- Copyright (C) 1999 Christian Mayer (fgfs@christianmayer.de) --------
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
16.06.1999 Durk Talsma Portability for Linux
20.06.1999 Christian Mayer added lots of consts
30.06.1999 Christian Mayer STL portability
+11.10.1999 Christian Mayer changed set<> to map<> on Bernie Bright's
+ suggestion
+19.10.1999 Christian Mayer change to use PLIB's sg instead of Point[2/3]D
+ and lots of wee code cleaning
*****************************************************************************/
/****************************************************************************/
/****************************************************************************/
/* INCLUDES */
/****************************************************************************/
-#include <Include/compiler.h>
-#include <vector>
-FG_USING_STD(vector);
-FG_USING_NAMESPACE(std);
+#include <simgear/compiler.h>
+
+#include <plib/sg.h>
-#include <Math/point3d.hxx>
#include "FGWeatherDefs.h"
/****************************************************************************/
{
private:
protected:
- Point3D position; //middle of the feature in lat/lon/alt
- WeatherPrecition minSize; //smalest size of the feature
+ sgVec3 position; //middle of the feature in lat/lon/alt
+ WeatherPrecision minSize; //smalest size of the feature
//=> a disk is specifies
LayerType FeatureType;
public:
- LayerType getFeature(void) const { return FeatureType; }
- bool isFeature(const LayerType& f) const {return (f == FeatureType);}
+ LayerType getFeature(void) const { return FeatureType; }
+ bool isFeature(const LayerType& f) const { return (f == FeatureType); }
};
/****************************************************************************/
-#endif /*FGWeatherFeature_H*/
\ No newline at end of file
+#endif /*FGWeatherFeature_H*/