pub struct WarpPlan {
pub src_size: [usize; 2],
pub dst_off: [usize; 2],
pub dst_size: [usize; 2],
pub chunks: Vec<Chunk>,
}Expand description
A warp’s chunks, sorted top to bottom, then left to right, as GDAL warps them.
Fields§
§src_size: [usize; 2]Size of the full source [ncol, nrow].
dst_off: [usize; 2]Offset of the planned target window (zero for a whole target).
dst_size: [usize; 2]Size of the planned target window.
chunks: Vec<Chunk>The chunks, covering the target window. They don’t overlap, except
that the chunks either side of an antimeridian gap
(ChunkOptions::split_antimeridian) share a target window: each
warps the pixels whose source falls in its window, and
warp_chunks keeps the pixels each one wrote.
Implementations§
Trait Implementations§
impl StructuralPartialEq for WarpPlan
Auto Trait Implementations§
impl Freeze for WarpPlan
impl RefUnwindSafe for WarpPlan
impl Send for WarpPlan
impl Sync for WarpPlan
impl Unpin for WarpPlan
impl UnsafeUnpin for WarpPlan
impl UnwindSafe for WarpPlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more