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

Splines: /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/Splines/SplineHermite.hxx Source File
Splines
SplineHermite.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
33 public:
34
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 #endif
39
45 HermiteSpline( string const & name = "HermiteSpline" )
47 {}
48
52 ~HermiteSpline() override {}
53
55 SplineType1D type() const override { return SplineType1D::HERMITE; }
56
57 // --------------------------- VIRTUALS -----------------------------------
58
59 void build() override {} // nothing to do
60
61 // block method!
62 void
63 build(
64 real_type const [], integer,
65 real_type const [], integer,
67 ) override;
68
69 void setup( GenericContainer const & gc ) override;
70
71 };
72
73}
74
75// EOF: SplineHermite.hxx
Definition Splines.hh:936
void reserve(integer npts) override
Hermite Spline Management Class.
Definition SplineHermite.hxx:32
void build() override
Definition SplineHermite.hxx:59
void setup(GenericContainer const &gc) override
Definition SplineHermite.cc:283
HermiteSpline(string const &name="HermiteSpline")
Definition SplineHermite.hxx:45
~HermiteSpline() override
Definition SplineHermite.hxx:52
SplineType1D type() const override
Return spline type (as number)
Definition SplineHermite.hxx:55
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