GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-bea8435a9e
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"
, 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
}
print_head_info
int print_head_info(file_info *head)
Definition:
print_info.c:3
file_info
Definition:
viz.h:27
file_info::east
float east
Definition:
viz.h:33
file_info::zdim
int zdim
Definition:
viz.h:32
file_info::tb_res
float tb_res
Definition:
viz.h:35
file_info::xdim
int xdim
Definition:
viz.h:32
file_info::ydim
int ydim
Definition:
viz.h:32
file_info::ns_res
float ns_res
Definition:
viz.h:35
file_info::ew_res
float ew_res
Definition:
viz.h:35
file_info::south
float south
Definition:
viz.h:33
file_info::west
float west
Definition:
viz.h:33
file_info::top
float top
Definition:
viz.h:34
file_info::north
float north
Definition:
viz.h:33
file_info::min
float min
Definition:
viz.h:39
file_info::bottom
float bottom
Definition:
viz.h:34
file_info::max
float max
Definition:
viz.h:39
viz.h
lib
dspf
print_info.c
Generated on Sun Nov 24 2024 07:03:40 for GRASS GIS 8 Programmer's Manual by
1.9.1