GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-7b73900583
print_info.c
Go to the documentation of this file.
1 #include "viz.h"
2 
4 {
5  fprintf(stderr, "xdim = %d ydim = %d zdim = %d\n", head->xdim, head->ydim,
6  head->zdim);
7  fprintf(stderr, " n = %f s = %f e = %f w = %f\n", head->north, head->south,
8  head->east, head->west);
9  fprintf(stderr, "t = %f b = %f\n", head->top, head->bottom);
10  fprintf(stderr, "ns_res = %f ew_res = %f tb_res = %f\n", head->ns_res,
11  head->ew_res, head->tb_res);
12  fprintf(stderr, "min = %f max = %f \n", head->min, head->max);
13 
14  return 0;
15 }
int print_head_info(file_info *head)
Definition: print_info.c:3
Definition: viz.h:27
float east
Definition: viz.h:33
int zdim
Definition: viz.h:32
float tb_res
Definition: viz.h:35
int xdim
Definition: viz.h:32
int ydim
Definition: viz.h:32
float ns_res
Definition: viz.h:35
float ew_res
Definition: viz.h:35
float south
Definition: viz.h:33
float west
Definition: viz.h:33
float top
Definition: viz.h:34
float north
Definition: viz.h:33
float min
Definition: viz.h:39
float bottom
Definition: viz.h:34
float max
Definition: viz.h:39