00001 #ifndef _MY_FDomainUnion_ 00002 #define _MY_FDomainUnion_ 00003 #include "sfunctions.h" 00004 00005 00016 class FDomainUnion : public Function3D 00017 { 00018 private: 00019 std::vector<Function3D*> m_functions; 00020 bool m_delObjs; 00021 protected: 00022 00023 public: 00024 FDomainUnion(Function3D *f1,Function3D *f2, bool delObjs=false); 00025 virtual ~FDomainUnion(); 00026 virtual bool isInDomain(const VecDouble &p,unsigned component=0) const; 00027 virtual double operator() (const VecDouble &p, const unsigned int component=0) const; 00028 00029 }; 00030 00031 #endif 00032