#include <grass/gis.h>
#include <grass/glocale.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | ERROR(x, line) return error(x,line) |
#define | F_PROJ 1 |
#define | F_ZONE 2 |
#define | F_NORTH 3 |
#define | F_SOUTH 4 |
#define | F_EAST 5 |
#define | F_WEST 6 |
#define | F_EWRES 7 |
#define | F_NSRES 8 |
#define | F_FORMAT 9 |
#define | F_COMP 10 |
#define | F_COLS 11 |
#define | F_ROWS 12 |
#define | F_EWRES3 13 |
#define | F_NSRES3 14 |
#define | F_COLS3 15 |
#define | F_ROWS3 16 |
#define | F_TOP 17 |
#define | F_BOTTOM 18 |
#define | F_TBRES 19 |
#define | F_DEPTHS 20 |
#define | SET(x) flags|=(1<<x) |
#define | TEST(x) (flags&(1<<x)) |
Functions | |
char * | G__read_Cell_head_array (char **array, struct Cell_head *cellhd, int is_cellhd) |
char * | G__read_Cell_head (FILE *fd, struct Cell_head *cellhd, int is_cellhd) |
#define ERROR | ( | x, | |||
line | ) | return error(x,line) |
#define F_BOTTOM 18 |
#define F_COLS 11 |
#define F_COLS3 15 |
#define F_COMP 10 |
#define F_DEPTHS 20 |
#define F_EAST 5 |
#define F_EWRES 7 |
#define F_EWRES3 13 |
#define F_FORMAT 9 |
#define F_NORTH 3 |
#define F_NSRES 8 |
#define F_NSRES3 14 |
#define F_PROJ 1 |
#define F_ROWS 12 |
#define F_ROWS3 16 |
#define F_SOUTH 4 |
#define F_TBRES 19 |
#define F_TOP 17 |
#define F_WEST 6 |
#define F_ZONE 2 |
#define SET | ( | x | ) | flags|=(1<<x) |
#define TEST | ( | x | ) | (flags&(1<<x)) |
char* G__read_Cell_head | ( | FILE * | fd, | |
struct Cell_head * | cellhd, | |||
int | is_cellhd | |||
) |
Definition at line 44 of file rd_cellhd.c.
References G__read_Cell_head_array(), G_calloc(), G_debug(), G_free(), G_getl(), and G_store().
Referenced by G__get_window(), and G_get_cellhd().
char * G__read_Cell_head_array | ( | char ** | array, | |
struct Cell_head * | cellhd, | |||
int | is_cellhd | |||
) |
Definition at line 82 of file rd_cellhd.c.
References ERROR, F_BOTTOM, F_COLS, F_COLS3, F_COMP, F_DEPTHS, F_EAST, F_EWRES, F_EWRES3, F_FORMAT, F_NORTH, F_NSRES, F_NSRES3, F_PROJ, F_ROWS, F_ROWS3, F_SOUTH, F_TBRES, F_TOP, F_WEST, F_ZONE, G_adjust_Cell_head(), G_debug(), G_scan_easting(), G_scan_northing(), G_scan_resolution(), NULL, SET, and TEST.
Referenced by G__read_Cell_head(), and G_get_window().