UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
u_curve1d.hpp
1 /* u_curve1d.hpp */
2 /* $Id$ */
3 #ifndef __u_curve1d_hpp
4 #define __u_curve1d_hpp
5 
6 #include <cstddef>
7 
10 template <typename NodeT>
11 class UCurve1d
12 {
13 public:
14 
16  virtual double operator()(double x) const = 0;
17 
19  virtual bool ready() const = 0;
20 
21 
24  virtual void addNode(const NodeT &node, int id) = 0;
25 
27  virtual bool removeNode(size_t id) = 0;
28 
29  virtual ~UCurve1d(){;}
30 };
31 
32 #endif /* u_curve1d.hpp */
Definition: u_curve1d.hpp:11
virtual bool removeNode(size_t id)=0
virtual bool ready() const =0
virtual void addNode(const NodeT &node, int id)=0
virtual double operator()(double x) const =0