rd_cellhd.c File Reference

#include "gis.h"
#include "glocale.h"
#include <string.h>

Include dependency graph for rd_cellhd.c:

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 (FILE *fd, struct Cell_head *cellhd, int is_cellhd)


Define Documentation

#define ERROR ( x,
line   )     return error(x,line)

Definition at line 10 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_BOTTOM   18

Definition at line 34 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_COLS   11

Definition at line 26 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_COLS3   15

Definition at line 31 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_COMP   10

Definition at line 25 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_DEPTHS   20

Definition at line 36 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_EAST   5

Definition at line 20 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_EWRES   7

Definition at line 22 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_EWRES3   13

Definition at line 29 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_FORMAT   9

Definition at line 24 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_NORTH   3

Definition at line 18 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_NSRES   8

Definition at line 23 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_NSRES3   14

Definition at line 30 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_PROJ   1

Definition at line 16 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_ROWS   12

Definition at line 27 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_ROWS3   16

Definition at line 32 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_SOUTH   4

Definition at line 19 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_TBRES   19

Definition at line 35 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_TOP   17

Definition at line 33 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_WEST   6

Definition at line 21 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define F_ZONE   2

Definition at line 17 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define SET (  )     flags|=(1<<x)

Definition at line 38 of file rd_cellhd.c.

Referenced by G__read_Cell_head().

#define TEST (  )     (flags&(1<<x))

Definition at line 39 of file rd_cellhd.c.

Referenced by G__read_Cell_head().


Function Documentation

char* G__read_Cell_head ( FILE *  fd,
struct Cell_head *  cellhd,
int  is_cellhd 
)

Definition at line 41 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_getl(), G_scan_easting(), G_scan_northing(), G_scan_resolution(), NULL, SET, and TEST.

Referenced by G__get_window(), and G_get_cellhd().


Generated on Sat Jul 22 22:06:35 2006 for GRASS by  doxygen 1.4.7