]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/interpolater.hxx
Allow geocentric distance computations to return radians.
[simgear.git] / simgear / math / interpolater.hxx
index 1681d9d3c1ff401e867c26078e9149806c2680d2..393e39ffb267ba58c3bfe0505d1a8f1fda2903db 100644 (file)
 
 #include <simgear/compiler.h>
 
-#include "simgear/structure/SGReferenced.hxx"
+#include <simgear/structure/SGReferenced.hxx>
 
 #include <map>
 
-#include STL_STRING
-SG_USING_STD(string);
+#include <string>
+using std::string;
+
+class SGPropertyNode;
 
 /**
  * A class that provids a simple linear 2d interpolation lookup table.
@@ -56,6 +58,13 @@ public:
      */
     SGInterpTable();
 
+    /**
+     * Constructor. Loads the interpolation table from an interpolation
+     * property node.
+     * @param interpolation property node having entry children
+     */
+    SGInterpTable(const SGPropertyNode* interpolation);
+
     /**
      * Constructor. Loads the interpolation table from the specified file.
      * @param file name of interpolation file