GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
GIS Library - Zero cell buffer functions. More...
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
int | G_zero_cell_buf (CELL *buf) |
Zero a raster CELL buffer. More... | |
int | G_zero_raster_buf (void *rast, RASTER_MAP_TYPE data_type) |
Zero a raster buffer. More... | |
GIS Library - Zero cell buffer functions.
(C) 2001-2008 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.
int G_zero_cell_buf | ( | CELL * | buf | ) |
Zero a raster CELL buffer.
This routines assigns each member of the raster buffer array buf to zero. It assumes that buf has been allocated using G_allocate_cell_buf.
[in] | buf |
Definition at line 31 of file zero_cell.c.
References G_window_cols().
int G_zero_raster_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 G_allocate_cell_buf.
[in,out] | rast | |
[in] | data_type | RASTER_MAP_TYPE |
Definition at line 54 of file zero_cell.c.
References G_raster_size(), and G_window_cols().