[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.8 Interpolation
- Method on
mglData
(C++, Python):float
Spline (float
x,float
y=0
,float
z=0
)const
- C function:
float
mgl_data_spline (const HMDT
dat,float
x,float
y,float
z) Interpolates data by cubic spline to the given point x in [0...nx-1], y in [0...ny-1], z in [0...nz-1].
- Method on
mglData
(C++, Python):float
Spline1 (float
x,float
y=0
,float
z=0
)const
- C function:
float
mgl_data_spline1 (const HMDT
dat,float
x,float
y,float
z) Interpolates data by cubic spline to the given point x, y, z which assumed to be normalized in range [0, 1].
- Method on
mglData
(C++, Python):float
Linear (float
x,float
y=0
,float
z=0
)const
- C function:
float
mgl_data_linear (const HMDT
dat,float
x,float
y,float
z) Interpolates data by linear function to the given point x in [0...nx-1], y in [0...ny-1], z in [0...nz-1].
- Method on
mglData
(C++, Python):float
Linear1 (float
x,float
y=0
,float
z=0
)const
- C function:
float
mgl_data_linear1 (const HMDT
dat,float
x,float
y,float
z) Interpolates data by linear function to the given point x, y, z which assumed to be normalized in range [0, 1].
- Method on
mglData
(C++, Python):float
v (int
i,int
j=0
,int
k=0
)const
- C function:
float
mgl_data_get_value (const HMDT
dat,int
i,int
j,int
k) Gets the value in specified cell of the data with border checking.
- Method on
mglData
(C++, Python):float
Spline5 (float
x,float
y,float
z,float
&dx,float
&dy,float
&dz)const
Interpolate by 5-th order splain the data to given point x, y, z which normalized in range [0, 1] and evaluate its derivatives.
- C function:
float *
mgl_data_value (HMDT
dat,int
i,int
j,int
k) Gets the pointer to data element.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |