interpolate_scattered_dataT_interpolate_scattered_dataInterpolateScatteredDataInterpolateScatteredDatainterpolate_scattered_data (Operator)
interpolate_scattered_dataT_interpolate_scattered_dataInterpolateScatteredDataInterpolateScatteredDatainterpolate_scattered_data
— Interpolation of scattered data using a scattered data interpolator.
Signature
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]
Description
interpolate_scattered_datainterpolate_scattered_dataInterpolateScatteredDataInterpolateScatteredDatainterpolate_scattered_data
interpolates the values of the scattered
data points (RowRowRowrowrow
,ColumnColumnColumncolumncolumn
) by using the scattered data
interpolator ScatteredDataInterpolatorHandleScatteredDataInterpolatorHandleScatteredDataInterpolatorHandlescatteredDataInterpolatorHandlescattered_data_interpolator_handle
and returns the result
in ValueInterpolatedValueInterpolatedValueInterpolatedvalueInterpolatedvalue_interpolated
. In comparison to
interpolate_scattered_data_imageinterpolate_scattered_data_imageInterpolateScatteredDataImageInterpolateScatteredDataImageinterpolate_scattered_data_image
,
interpolate_scattered_datainterpolate_scattered_dataInterpolateScatteredDataInterpolateScatteredDatainterpolate_scattered_data
also supports subpixel
coordinates for RowRowRowrowrow
and ColumnColumnColumncolumncolumn
. Before calling
interpolate_scattered_datainterpolate_scattered_dataInterpolateScatteredDataInterpolateScatteredDatainterpolate_scattered_data
, the scattered data interpolator must be
created with create_scattered_data_interpolatorcreate_scattered_data_interpolatorCreateScatteredDataInterpolatorCreateScatteredDataInterpolatorcreate_scattered_data_interpolator
.
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
ScatteredDataInterpolatorHandleScatteredDataInterpolatorHandleScatteredDataInterpolatorHandlescatteredDataInterpolatorHandlescattered_data_interpolator_handle
(input_control) scattered_data_interpolator →
HScatteredDataInterpolator, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the scattered data interpolator
RowRowRowrowrow
(input_control) point.y(-array) →
HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Row coordinates of points
to be interpolated
ColumnColumnColumncolumncolumn
(input_control) point.x(-array) →
HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Column coordinates of points
to be interpolated
ValueInterpolatedValueInterpolatedValueInterpolatedvalueInterpolatedvalue_interpolated
(output_control) number(-array) →
HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Values of interpolated points
Result
If the parameters are valid, the operator
interpolate_scattered_datainterpolate_scattered_dataInterpolateScatteredDataInterpolateScatteredDatainterpolate_scattered_data
returns the value 2 (
H_MSG_TRUE)
.
If necessary, an exception is raised.
Possible Predecessors
create_scattered_data_interpolatorcreate_scattered_data_interpolatorCreateScatteredDataInterpolatorCreateScatteredDataInterpolatorcreate_scattered_data_interpolator
Possible Successors
clear_scattered_data_interpolatorclear_scattered_data_interpolatorClearScatteredDataInterpolatorClearScatteredDataInterpolatorclear_scattered_data_interpolator
,
gen_object_model_3d_from_pointsgen_object_model_3d_from_pointsGenObjectModel3dFromPointsGenObjectModel3dFromPointsgen_object_model_3d_from_points
Module
Foundation