18 #include <grass/gis.h> 
   31                        const struct Cell_head *cellhd, 
int is_cellhd)
 
   38     fprintf(fd, 
"proj:       %d\n", cellhd->proj);
 
   39     fprintf(fd, 
"zone:       %d\n", cellhd->zone);
 
   42     fprintf(fd, 
"north:      %s\n", buf);
 
   45     fprintf(fd, 
"south:      %s\n", buf);
 
   48     fprintf(fd, 
"east:       %s\n", buf);
 
   51     fprintf(fd, 
"west:       %s\n", buf);
 
   53     fprintf(fd, 
"cols:       %d\n", cellhd->cols);
 
   54     fprintf(fd, 
"rows:       %d\n", cellhd->rows);
 
   57     fprintf(fd, 
"e-w resol:  %s\n", buf);
 
   60     fprintf(fd, 
"n-s resol:  %s\n", buf);
 
   63         fprintf(fd, 
"format:     %d\n", cellhd->format);
 
   64         fprintf(fd, 
"compressed: %d\n", cellhd->compressed);
 
   81                         const struct Cell_head *cellhd, 
int is_cellhd)
 
   90     fprintf(fd, 
"top:        %.15f\n", cellhd->top);
 
   91     fprintf(fd, 
"bottom:     %.15f\n", cellhd->bottom);
 
   93     fprintf(fd, 
"cols3:      %d\n", cellhd->cols3);
 
   94     fprintf(fd, 
"rows3:      %d\n", cellhd->rows3);
 
   95     fprintf(fd, 
"depths:     %d\n", cellhd->depths);
 
   98     fprintf(fd, 
"e-w resol3: %s\n", buf);
 
  101     fprintf(fd, 
"n-s resol3: %s\n", buf);
 
  104     fprintf(fd, 
"t-b resol:  %s\n", buf);
 
int G__write_Cell_head(FILE *fd, const struct Cell_head *cellhd, int is_cellhd)
Write cell header or window. 
 
char buf[GNAME_MAX+sizeof(G3D_DIRECTORY)+2]
 
int G__write_Cell_head3(FILE *fd, const struct Cell_head *cellhd, int is_cellhd)
Write 3D cell header or window.