102 {
105
106
107 uint16_t width = 9;
108 uint16_t height = 9;
109
112
114 CU_ASSERT(band != NULL);
115
116 {
121 }
122
151
153}
uint16_t rt_band_get_width(rt_band band)
Return width of this band.
void rt_raster_set_scale(rt_raster raster, double scaleX, double scaleY)
Set scale in projection units.
rt_raster rt_raster_new(uint32_t width, uint32_t height)
Construct a raster with given dimensions.
rt_errorstate rt_band_set_pixel(rt_band band, int x, int y, double val, int *converted)
Set single pixel's value.
uint16_t rt_band_get_height(rt_band band)
Return height of this band.
raster
Be careful!! Zeros function's input parameter can be a (height x width) array, not (width x height): ...
rt_band cu_add_band(rt_raster raster, rt_pixtype pixtype, int hasnodata, double nodataval)