|
GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
Raster Library - Zero cell buffer functions. More...

Go to the source code of this file.
Functions | |
| void | Rast_zero_buf (void *rast, RASTER_MAP_TYPE data_type) |
| Zero a raster buffer. More... | |
| void | Rast_zero_input_buf (void *rast, RASTER_MAP_TYPE data_type) |
| void | Rast_zero_output_buf (void *rast, RASTER_MAP_TYPE data_type) |
Raster Library - Zero cell buffer functions.
(C) 2001-2009 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file zero_cell.c.
| void Rast_zero_buf | ( | void * | rast, |
| RASTER_MAP_TYPE | data_type | ||
| ) |
Zero a raster buffer.
This routines assigns each member of the raster buffer array rast to zero. It assumes that rast has been allocated using Rast_allocate_c_buf().
| rast | data buffer |
| data_type | raster type (CELL_TYPE, FCELL_TYPE, DCELL_TYPE) |
Definition at line 28 of file zero_cell.c.
References Rast_cell_size(), and Rast_window_cols().
| void Rast_zero_input_buf | ( | void * | rast, |
| RASTER_MAP_TYPE | data_type | ||
| ) |
Definition at line 33 of file zero_cell.c.
References Rast_cell_size(), and Rast_input_window_cols().
| void Rast_zero_output_buf | ( | void * | rast, |
| RASTER_MAP_TYPE | data_type | ||
| ) |
Definition at line 38 of file zero_cell.c.
References Rast_cell_size(), and Rast_output_window_cols().