manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.25 Interpolation (Pure C)

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].

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].

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].

C function: float mgl_data_linear11 (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].

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.

C function: float * mgl_data_value (HMDT dat, int i, int j, int k)

Gets the pointer to data element.

C function: const float * mgl_data_data (const HMDT dat)

Gets the pointer to internal data array.


© manpagez.com 2000-2026
Individual documents may contain additional copyright information.