auto_xyz_InterpolateΒΆ

auto_xyz_Interpolate calculates a new interpolation matrix for the given 3D dataset.

bool = auto_xyz_Interpolate(hData, nType)
bool = auto_xyz_Interpolate(hData, nType, nRows)
bool = auto_xyz_Interpolate(hData, nType, nRows, nCols)
bool = auto_xyz_Interpolate(hData, nType, nRows, nCols, bInterpolOnGrid)
bool = auto_xyz_Interpolate(hData, nType, nRows, nCols, bInterpolOnGrid, nSmoothFactor)

Return Value

bool is TRUE (1), if the function was successfully executed, otherwise FALSE (0).

Parameters

hData

hData is a handle of a 3D dataset.

nType

nType specifies the interpolation type:

Value Meaning
LINEAR
  1. Linear interpolation
NONLINEAR
  1. Nono linear interpolation
THINPLATESPLINE
  1. Spline interpolation
nRows

nRows specifies the number of rows of the interpolation matrix. Default value is 40.

nCols

nCols specifies the number of rows of the interpolation matrix. Default value is 40.

bInterpolOnGrid

bInterpolOnGrid = TRUE, calculate interpolation matrix at the grid lines. Default value is FALSE (0).

nSmoothFactor

nSmoothFactor = 0 no smoothing, 1 to 5 smoothing. Default value is 0.

id-859272