zero_cell.c File Reference

#include <grass/gis.h>

Include dependency graph for zero_cell.c:

Go to the source code of this file.

Functions

int G_zero_cell_buf (register CELL *buf)
 zero a raster buffer
int G_zero_raster_buf (register void *rast, RASTER_MAP_TYPE data_type)


Function Documentation

int G_zero_cell_buf ( register CELL *  buf  ) 

zero a raster 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.

Parameters:
buf 
Returns:
int

Definition at line 24 of file zero_cell.c.

References G_window_cols().

int G_zero_raster_buf ( register void *  rast,
RASTER_MAP_TYPE  data_type 
)

Definition at line 35 of file zero_cell.c.

References G_raster_size(), and G_window_cols().


Generated on Sun Apr 6 17:32:27 2008 for GRASS by  doxygen 1.5.5