GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
print_info.c
Go to the documentation of this file.
1
#include "
viz.h
"
2
3
int
print_head_info
(
file_info
* head)
4
{
5
fprintf(stderr,
"xdim = %d ydim = %d zdim = %d\n"
,
6
head->
xdim
, head->
ydim
, head->
zdim
);
7
fprintf(stderr,
" n = %f s = %f e = %f w = %f\n"
,
8
head->
north
, head->
south
, 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"
,
11
head->
ns_res
, head->
ew_res
, head->
tb_res
);
12
fprintf(stderr,
"min = %f max = %f \n"
, head->
min
, head->
max
);
13
14
return
0;
15
}
file_info::ns_res
float ns_res
Definition:
viz.h:37
file_info::tb_res
float tb_res
Definition:
viz.h:37
file_info::min
float min
Definition:
viz.h:41
file_info
Definition:
viz.h:28
file_info::ydim
int ydim
Definition:
viz.h:34
file_info::south
float south
Definition:
viz.h:35
file_info::zdim
int zdim
Definition:
viz.h:34
file_info::east
float east
Definition:
viz.h:35
viz.h
print_head_info
int print_head_info(file_info *head)
Definition:
print_info.c:3
file_info::xdim
int xdim
Definition:
viz.h:34
file_info::west
float west
Definition:
viz.h:35
file_info::ew_res
float ew_res
Definition:
viz.h:37
file_info::north
float north
Definition:
viz.h:35
file_info::bottom
float bottom
Definition:
viz.h:36
file_info::max
float max
Definition:
viz.h:41
file_info::top
float top
Definition:
viz.h:36
lib
dspf
print_info.c
Generated on Mon May 31 2021 05:21:31 for GRASS GIS 7 Programmer's Manual by
1.8.13