UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
u_bspl3_curve2d.hpp
1 /* u_bspl3_curve2d.hpp */
2 /* $Id$ */
3 #ifndef __u_bspl3_curve2d_hpp
4 #define __u_bspl3_curve2d_hpp
5 
6 #include <vector>
7 #include <mth/u2d_point.hpp>
8 #include <mth/u_bspl3_curve1d.hpp>
9 #include <mth/u_curve1d.hpp>
10 
12 class UBspl3Curve2d : public UCurve1d<U2dPoint>
13 {
14 public:
15 
17  UBspl3Curve2d();
18 
21 
24  const U2dPoints &nodes);
25 
27  virtual ~UBspl3Curve2d();
28 
29 
31  virtual double operator()(double x) const;
32 
34  virtual void approximate(const U3dBspl3AbstractMatrix &bm,
35  const U2dPoints &nodes);
36 
38  virtual bool ready() const
39  {return m_ready;}
40 
41 
44  virtual void addNode(const U2dPoint &node, int id);
45 
47  virtual bool removeNode(size_t id);
48 
49 protected:
50 
52  bool m_ready;
53 
56 
58  UBspl3Curve1d m_y_curve;
59 };
60 
61 
62 #endif /* u_bspl3_curve2d.hpp */
Definition: u_bspl3_curve1d.hpp:12
virtual double operator()(double x) const
Definition: u2d_point.hpp:10
Definition: u_curve1d.hpp:11
UBspl3Curve1d m_x_curve
Definition: u_bspl3_curve2d.hpp:55
Definition: u_bspl3_curve2d.hpp:12
bool m_ready
Definition: u_bspl3_curve2d.hpp:52
virtual void approximate(const U3dBspl3AbstractMatrix &bm, const U2dPoints &nodes)
Definition: u3d_bspl3_matrices.hpp:24
virtual bool removeNode(size_t id)
virtual ~UBspl3Curve2d()
virtual void addNode(const U2dPoint &node, int id)
virtual bool ready() const
Definition: u_bspl3_curve2d.hpp:38