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

6.8 Interpolation

Method on mglData: float Spline (float x, float y=0, float z=0) const

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: float Spline1 (float x, float y=0, float z=0) const

Interpolates data by cubic spline to the given point x, y, z which assumed to be normalized in range [0, 1].

Method on mglData: float Linear (float x, float y=0, float z=0) const

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: float Linear1 (float x, float y=0, float z=0) const

Interpolates data by linear function to the given point x, y, z which assumed to be normalized in range [0, 1].

Method on mglData: float v (int i, int j=0, int k=0) const

Gets the value in specified cell of the data with border checking.

Method on mglData: 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.


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