#include <string.h>
#include <unistd.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/glocale.h>
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 |
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)
fd | file descriptor | |
window | ||
cats | categories | |
north | northing position | |
east | easting position | |
usedesc | flag to scan category label | |
itype | interpolation method |
Definition at line 54 of file sample.c.
References G_fatal_error().