/Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/Splines/SplineAkima.hxx Source FileΒΆ

Splines: /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/Splines/SplineAkima.hxx Source File
Splines
SplineAkima.hxx
1/*--------------------------------------------------------------------------*\
2 | |
3 | Copyright (C) 2016 |
4 | |
5 | , __ , __ |
6 | /|/ \ /|/ \ |
7 | | __/ _ ,_ | __/ _ ,_ |
8 | | \|/ / | | | | \|/ / | | | |
9 | |(__/|__/ |_/ \_/|/|(__/|__/ |_/ \_/|/ |
10 | /| /| |
11 | \| \| |
12 | |
13 | Enrico Bertolazzi |
14 | Dipartimento di Ingegneria Industriale |
15 | Universita` degli Studi di Trento |
16 | email: enrico.bertolazzi@unitn.it |
17 | |
18\*--------------------------------------------------------------------------*/
19
20/*\
21 | _ _ _ ____ _ _
22 | / \ | | _(_)_ __ ___ __ _ / ___| _ __ | (_)_ __ ___
23 | / _ \ | |/ / | '_ ` _ \ / _` | \___ \| '_ \| | | '_ \ / _ \
24 | / ___ \| <| | | | | | | (_| | ___) | |_) | | | | | | __/
25 | /_/ \_\_|\_\_|_| |_| |_|\__,_| |____/| .__/|_|_|_| |_|\___|
26 | |_|
27\*/
28
29namespace Splines {
30
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32
33 void
34 Akima_build(
35 real_type const X[],
36 real_type const Y[],
37 real_type Yp[],
38 integer npts
39 );
40
41 #endif
42
51 public:
52
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
56 #endif
57
63 AkimaSpline( string const & name = "AkimaSpline" )
65 {}
66
70 ~AkimaSpline() override {}
71
75 SplineType1D type() const override { return SplineType1D::AKIMA; }
76
77 // --------------------------- VIRTUALS -----------------------------------
78
79 void build() override;
80 void setup( GenericContainer const & gc ) override;
81
82 };
83
84}
85
86// EOF: SplineAkima.hxx
Definition SplineAkima.hxx:50
void setup(GenericContainer const &gc) override
Definition SplineAkima.cc:148
AkimaSpline(string const &name="AkimaSpline")
Definition SplineAkima.hxx:63
~AkimaSpline() override
Definition SplineAkima.hxx:70
void build() override
Definition SplineAkima.cc:121
SplineType1D type() const override
Definition SplineAkima.hxx:75
Definition Splines.hh:936
void reserve(integer npts) override
virtual void build()=0
string const & name() const
Definition Splines.hh:438
Definition SplineAkima.cc:50
int integer
Signed integer type for splines.
Definition Splines.hh:58
enum class SplineType1D :integer { CONSTANT=0, LINEAR=1, CUBIC=2, AKIMA=3, BESSEL=4, PCHIP=5, QUINTIC=6, HERMITE=7, SPLINE_SET=8, SPLINE_VEC=9 } SplineType1D
Associate a number for each type of splines implemented.
Definition Splines.hh:71
double real_type
Floating point type for splines.
Definition Splines.hh:57