]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/interpolater.hxx
Modified Files:
[simgear.git] / simgear / math / interpolater.hxx
index 1681d9d3c1ff401e867c26078e9149806c2680d2..797ddf4fcb3079bbc9b14053e830a436a4e1b1e3 100644 (file)
@@ -42,6 +42,8 @@
 #include STL_STRING
 SG_USING_STD(string);
 
+class SGPropertyNode;
+
 /**
  * A class that provids a simple linear 2d interpolation lookup table.
  * The actual table is expected to be loaded from a file.  The
@@ -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