|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-0f6a7341fc
|
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. | |
| 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.
SPDX-FileCopyrightText: 2001-2009 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
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 26 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 31 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 36 of file zero_cell.c.
References Rast_cell_size(), and Rast_output_window_cols().