pub fn warp_chunks<S: Sample, D: Sample>(
transformer: &impl Transformer,
plan: &WarpPlan,
src: &SourceBuffer<'_, S>,
opts: &WarpOptions,
) -> Vec<D>Expand description
Warp every chunk of plan from src, a source buffer covering every
chunk’s source window (as WarpPlan::src_region gives), into one
target of the plan’s window size. Each chunk is warped on its own with
Chunk::warp_options of opts (whose own target offset and scaling
are replaced), as gdalwarp does; pixels of empty chunks get the fill.
§Panics
If src does not cover a live chunk’s source window.