| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.8 Interpolation
- Method on
mglData(C++, Python):floatSpline (floatx,floaty=0,floatz=0)const - C function:
floatmgl_data_spline (const HMDTdat,floatx,floaty,floatz) 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):floatSpline1 (floatx,floaty=0,floatz=0)const - C function:
floatmgl_data_spline1 (const HMDTdat,floatx,floaty,floatz) 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):floatLinear (floatx,floaty=0,floatz=0)const - C function:
floatmgl_data_linear (const HMDTdat,floatx,floaty,floatz) 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):floatLinear1 (floatx,floaty=0,floatz=0)const - C function:
floatmgl_data_linear1 (const HMDTdat,floatx,floaty,floatz) 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):floatv (inti,intj=0,intk=0)const - C function:
floatmgl_data_get_value (const HMDTdat,inti,intj,intk) Gets the value in specified cell of the data with border checking.
- Method on
mglData(C++, Python):floatSpline5 (floatx,floaty,floatz,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 (HMDTdat,inti,intj,intk) Gets the pointer to data element.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
