sample.c File Reference

#include <string.h>
#include <unistd.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/glocale.h>

Include dependency graph for sample.c:

Go to the source code of this file.

Functions

double G_get_raster_sample (int fd, struct Cell_head *window, struct Categories *cats, double north, double east, int usedesc, INTERP_TYPE itype)
 extract a cell value from raster map at given northing and easting with a sampled 3x3 window using a specified interpolation method


Function Documentation

double G_get_raster_sample ( int  fd,
struct Cell_head *  window,
struct Categories *  cats,
double  north,
double  east,
int  usedesc,
INTERP_TYPE  itype 
)

extract a cell value from raster map at given northing and easting with a sampled 3x3 window using a specified interpolation method

double G_get_raster_sample (int fd, struct Cell_head *window, struct Categories *cats, double north, double east, int usedesc, INTERP_TYPE itype)

Parameters:
fd file descriptor
window 
cats categories
north northing position
east easting position
usedesc flag to scan category label
itype interpolation method
Returns:
cell value at given position

Definition at line 54 of file sample.c.

References G_fatal_error().


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