UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
curve_smooth_sb.hpp
1 /* curve_smooth_sb.hpp */
2 /* $Id$ */
3 #ifndef __curve_smooth_sb_hpp
4 #define __curve_smooth_sb_hpp
5 
6 #include <cstddef>
7 #include <utility>
8 #include <vector>
9 
11 namespace rbm_smooth
12 {
14  typedef std::vector< std::pair<double, double> > Curve;
15 
23  void SbSmoothing(const double sb_size, const Curve &curve, Curve &resulted_curve);
24 
33  bool extrapolateCurveLeft(const double base_size,
34  const double extra_size,
35  rbm_smooth::Curve &curve,
36  size_t &points_added);
37 
46  bool extrapolateCurveRight(const double base_size,
47  const double extra_size,
48  rbm_smooth::Curve &curve,
49  size_t &points_added);
50 };
51 
52 #endif /* curve_smooth_sb.hpp */
std::vector< std::pair< double, double > > Curve
Definition: curve_smooth_sb.hpp:14
void SbSmoothing(const double sb_size, const Curve &curve, Curve &resulted_curve)
bool extrapolateCurveRight(const double base_size, const double extra_size, rbm_smooth::Curve &curve, size_t &points_added)
bool extrapolateCurveLeft(const double base_size, const double extra_size, rbm_smooth::Curve &curve, size_t &points_added)