X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmath%2Finterpolater.hxx;h=393e39ffb267ba58c3bfe0505d1a8f1fda2903db;hb=578af00b0d48100c540154f54293a1b77a0655fe;hp=1681d9d3c1ff401e867c26078e9149806c2680d2;hpb=a3bc2eb836466a141ab48efa05b2c3d34c4d383b;p=simgear.git diff --git a/simgear/math/interpolater.hxx b/simgear/math/interpolater.hxx index 1681d9d3..393e39ff 100644 --- a/simgear/math/interpolater.hxx +++ b/simgear/math/interpolater.hxx @@ -35,12 +35,14 @@ #include -#include "simgear/structure/SGReferenced.hxx" +#include #include -#include STL_STRING -SG_USING_STD(string); +#include +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