The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_math1
Class: None
Declaration: function InterpolZofXYRect (z00,z01,z10,z11: double; frac1,frac2: double): double;

The function InterpolZofXYRect interpolates the z coordinate Zxy at a particular position of a simple 3D surface (assuming that the surface is a plane or a saddle). The surface is spanned by four points which are located at the corners of a rectangle. The z values at the corners are specified by the parameters z00, z01, z10, and z11. The position of the unknown z value is defined by the fractions along the x- and the y-axis (parameters frac1 and frac2). The function returns the estimated z value Zxy at the specified position.

Last Update: 2016-Sep-27