Struct gdal_sys::GDALRasterIOExtraArg
source · #[repr(C)]pub struct GDALRasterIOExtraArg {
pub nVersion: c_int,
pub eResampleAlg: Type,
pub pfnProgress: GDALProgressFunc,
pub pProgressData: *mut c_void,
pub bFloatingPointWindowValidity: c_int,
pub dfXOff: f64,
pub dfYOff: f64,
pub dfXSize: f64,
pub dfYSize: f64,
}
Expand description
Structure to pass extra arguments to RasterIO() method, must be initialized with INIT_RASTERIO_EXTRA_ARG @since GDAL 2.0
Fields§
§nVersion: c_int
Version of structure (to allow future extensions of the structure)
eResampleAlg: Type
Resampling algorithm
pfnProgress: GDALProgressFunc
Progress callback
pProgressData: *mut c_void
Progress callback user data
bFloatingPointWindowValidity: c_int
Indicate if dfXOff, dfYOff, dfXSize and dfYSize are set. Mostly reserved from the VRT driver to communicate a more precise source window. Must be such that dfXOff - nXOff < 1.0 and dfYOff - nYOff < 1.0 and nXSize - dfXSize < 1.0 and nYSize - dfYSize < 1.0
dfXOff: f64
Pixel offset to the top left corner. Only valid if bFloatingPointWindowValidity = TRUE
dfYOff: f64
Line offset to the top left corner. Only valid if bFloatingPointWindowValidity = TRUE
dfXSize: f64
Width in pixels of the area of interest. Only valid if bFloatingPointWindowValidity = TRUE
dfYSize: f64
Height in pixels of the area of interest. Only valid if bFloatingPointWindowValidity = TRUE
Trait Implementations§
source§impl Clone for GDALRasterIOExtraArg
impl Clone for GDALRasterIOExtraArg
source§fn clone(&self) -> GDALRasterIOExtraArg
fn clone(&self) -> GDALRasterIOExtraArg
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more