interpolate_scattered_dataInterpolateScatteredDataInterpolateScatteredDatainterpolate_scattered_dataT_interpolate_scattered_data
Short description
interpolate_scattered_dataInterpolateScatteredDataInterpolateScatteredDatainterpolate_scattered_dataT_interpolate_scattered_data — Interpolation of scattered data using a scattered data interpolator.
Signature
interpolate_scattered_data( scattered_data_interpolator ScatteredDataInterpolatorHandle, point.y Row, point.x Column, out number ValueInterpolated )void InterpolateScatteredData( const HTuple& ScatteredDataInterpolatorHandle, const HTuple& Row, const HTuple& Column, HTuple* ValueInterpolated )static void HOperatorSet.InterpolateScatteredData( HTuple scatteredDataInterpolatorHandle, HTuple row, HTuple column, out HTuple valueInterpolated )def interpolate_scattered_data( scattered_data_interpolator_handle: HHandle, row: MaybeSequence[Union[float, int]], column: MaybeSequence[Union[float, int]] ) -> Sequence[Union[float, int]]
def interpolate_scattered_data_s( scattered_data_interpolator_handle: HHandle, row: MaybeSequence[Union[float, int]], column: MaybeSequence[Union[float, int]] ) -> Union[float, int]Herror T_interpolate_scattered_data( const Htuple ScatteredDataInterpolatorHandle, const Htuple Row, const Htuple Column, Htuple* ValueInterpolated )
HTuple HScatteredDataInterpolator::InterpolateScatteredData( const HTuple& Row, const HTuple& Column ) const
double HScatteredDataInterpolator::InterpolateScatteredData( double Row, double Column ) const
HTuple HScatteredDataInterpolator.InterpolateScatteredData( HTuple row, HTuple column )
double HScatteredDataInterpolator.InterpolateScatteredData( double row, double column )
Description
interpolate_scattered_dataInterpolateScatteredData interpolates the values of the scattered
data points (Rowrowrow,Columncolumncolumn) by using the scattered data
interpolator ScatteredDataInterpolatorHandlescatteredDataInterpolatorHandlescattered_data_interpolator_handle and returns the result
in ValueInterpolatedvalueInterpolatedvalue_interpolated. In comparison to
interpolate_scattered_data_imageInterpolateScatteredDataImage,
interpolate_scattered_dataInterpolateScatteredData also supports subpixel
coordinates for Rowrowrow and Columncolumncolumn. Before calling
interpolate_scattered_dataInterpolateScatteredData, the scattered data interpolator must be
created with create_scattered_data_interpolatorCreateScatteredDataInterpolator.
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters
ScatteredDataInterpolatorHandlescatteredDataInterpolatorHandlescattered_data_interpolator_handle (input_control) scattered_data_interpolator → (handle)HTuple (HHandle)HScatteredDataInterpolator, HTuple (IntPtr)HHandleHtuple (handle)
Handle of the scattered data interpolator
Rowrowrow (input_control) point.y(-array) → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)
Row coordinates of points
to be interpolated
Columncolumncolumn (input_control) point.x(-array) → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)
Column coordinates of points
to be interpolated
ValueInterpolatedvalueInterpolatedvalue_interpolated (output_control) number(-array) → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
Values of interpolated points
Result
If the parameters are valid, the operator
interpolate_scattered_dataInterpolateScatteredData returns the value 2 (H_MSG_TRUE).
If necessary, an exception is raised.
Combinations with other operators
Combinations
Possible predecessors
create_scattered_data_interpolatorCreateScatteredDataInterpolator
Possible successors
clear_scattered_data_interpolatorClearScatteredDataInterpolator, gen_object_model_3d_from_pointsGenObjectModel3dFromPoints
Module
Foundation