#ifndef IMPLICITFUNCTION #define IMPLICITFUNCTION class ImplicitFunction{ public: virtual float value(float x, float y, float z)=0; virtual void gradient(float g[3], float x, float y, float z)=0; virtual float valueAndGradient(float g[3], float x, float y, float z)=0; virtual void curvatureHK(double &H, double &K, float x, float y, float z)=0; }; #endif