GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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 Thu Mar 20 2025 07:33:29 for GRASS GIS 8 Programmer's Manual by
1.9.1