Loading...
Searching...
No Matches
print_info.c
Go to the documentation of this file.
#include "viz.h"
int print_head_info(file_info *head)
{
fprintf(stderr, "xdim = %d ydim = %d zdim = %d\n", head->xdim, head->ydim,
head->zdim);
fprintf(stderr, " n = %f s = %f e = %f w = %f\n", head->north, head->south,
head->east, head->west);
fprintf(stderr, "t = %f b = %f\n", head->top, head->bottom);
fprintf(stderr, "ns_res = %f ew_res = %f tb_res = %f\n", head->ns_res,
head->ew_res, head->tb_res);
fprintf(stderr, "min = %f max = %f \n", head->min, head->max);
return 0;
}
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