00001 #ifndef DELAUNAYLINEAR_2_H 00002 #define DELAUNAYLINEAR_2_H 00003 00004 #include "interpolator_2.h" 00005 #include "point.h" 00006 00007 namespace afl 00008 { 00009 00010 00016 class DelaunayLinear_2 : public Interpolator_2 00017 { 00018 00020 public: 00026 DelaunayLinear_2( const Field* f, const Parameters& params ); 00027 00034 virtual Value interpolate( const Point& p ) const; 00035 00040 virtual Interpolator* clone( ) ; 00041 00045 virtual const std::string& getImplementation( ) const; 00046 00050 virtual const std::string& getMethod( ) const; 00051 00053 private: 00054 static const std::string _method; 00055 static const std::string _impl; 00056 }; 00057 00058 }; 00059 00060 #endif // DELAUNAYLINEAR_2_H