IFEM  90A354
SplineInterpolator.h
Go to the documentation of this file.
1 // $Id$
2 //==============================================================================
12 //==============================================================================
13 
14 #ifndef _SPLINE_INTERPOLATOR_H
15 #define _SPLINE_INTERPOLATOR_H
16 
17 #include <vector>
18 
19 namespace Go {
20  class BsplineBasis;
21 };
22 
23 
25 {
40  void interpolate(const std::vector<double>& params,
41  const std::vector<double>& points,
42  const std::vector<double>& tangent_points,
43  const Go::BsplineBasis& basis,
44  std::vector<double>& coefs);
45 
55  void quasiinterpolate(const std::vector<double>& params,
56  const std::vector<double>& points,
57  const std::vector<double>& tangent_points,
58  const Go::BsplineBasis& basis, int index,
59  std::vector<double>& coefs);
60 
69  void leastsquare_approximation(const std::vector<double>& params,
70  const std::vector<double>& paramsweights,
71  const std::vector<double>& points,
72  const std::vector<double>& tangent_points,
73  const Go::BsplineBasis& basis,
74  std::vector<double>& coefs);
75 };
76 
77 #endif
Spline interpolation/projection schemes.
Definition: SplineInterpolator.h:25
void leastsquare_approximation(const std::vector< double > &params, const std::vector< double > &paramsweights, const std::vector< double > &points, const std::vector< double > &tangent_points, const Go::BsplineBasis &basis, std::vector< double > &coefs)
Global spline approximation method (Least-Square Fit).
Definition: SplineInterpolator.C:114
void quasiinterpolate(const std::vector< double > &params, const std::vector< double > &points, const std::vector< double > &tangent_points, const Go::BsplineBasis &basis, int index, std::vector< double > &coefs)
Local spline approximation method (Quasi-Interpolation).
Definition: SplineInterpolator.C:69
void interpolate(const std::vector< double > &params, const std::vector< double > &points, const std::vector< double > &tangent_points, const Go::BsplineBasis &basis, std::vector< double > &coefs)
Global spline interpolation method.
Definition: SplineInterpolator.C:21