MVE - Multi-View Environment
mve-devel
Loading...
Searching...
No Matches
libs
fssr
hermite.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015, Simon Fuhrmann
3
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
4
* All rights reserved.
5
*
6
* This software may be modified and distributed under the terms
7
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
8
*/
9
10
#ifndef FSSR_HERMITE_HEADER
11
#define FSSR_HERMITE_HEADER
12
13
#include "
fssr/defines.h
"
14
15
FSSR_NAMESPACE_BEGIN
16
17
enum
InterpolationType
18
{
19
INTERPOLATION_LINEAR
,
20
INTERPOLATION_SCALING
,
21
INTERPOLATION_LSDERIV
,
22
INTERPOLATION_CUBIC
23
};
24
29
double
30
find_root_linear (
double
a0,
double
a1);
31
36
double
37
find_root_square (
double
a0,
double
a1,
double
a2);
38
45
double
46
find_root_cubic (
double
a0,
double
a1,
double
a2,
double
a3);
47
54
double
55
interpolate_root (
double
v0,
double
v1,
double
d0,
double
d1,
56
InterpolationType type = INTERPOLATION_CUBIC);
57
58
FSSR_NAMESPACE_END
59
60
#endif
/* FSSR_HERMITE_HEADER */
defines.h
FSSR_NAMESPACE_END
#define FSSR_NAMESPACE_END
Definition
defines.h:14
FSSR_NAMESPACE_BEGIN
#define FSSR_NAMESPACE_BEGIN
Definition
defines.h:13
fssr::InterpolationType
InterpolationType
Definition
hermite.h:18
fssr::INTERPOLATION_CUBIC
@ INTERPOLATION_CUBIC
Definition
hermite.h:22
fssr::INTERPOLATION_LSDERIV
@ INTERPOLATION_LSDERIV
Definition
hermite.h:21
fssr::INTERPOLATION_SCALING
@ INTERPOLATION_SCALING
Definition
hermite.h:20
fssr::INTERPOLATION_LINEAR
@ INTERPOLATION_LINEAR
Definition
hermite.h:19
Generated on Thu Dec 21 2023 01:49:58 for MVE - Multi-View Environment by
1.9.8