00001 #ifndef _MY__FConst3D_ 00002 #define _MY_FConst3D_ 00003 #include "sfunctions.h" 00004 00005 00009 class FConst3D : public Function3D 00010 { 00011 private: 00012 double m_value; 00013 protected: 00014 00015 public: 00016 FConst3D(double value){m_value=value;} 00017 virtual double operator()(const VecDouble &p, unsigned int component=0) const; 00018 virtual ~FConst3D(){} 00019 virtual bool isInDomain(const VecDouble &p,unsigned component=0) const; 00020 00021 }; 00022 00023 #endif