#include "geompak.h"
FUNCTION c_getrwt (hname, table)
char *hname; struct RWTAB *table;
Host file from which the resampling weight table is read.
An RWTAB structure that contains the entire resampling weight table.
This routine takes as input the name of the resampling weight table file, opens the file, reads the entire weight table from disk, and closes the file. This one-step operation is provided since most routines which use resampling weight tables need the entire table in memory while doing operations on it.
E_SUCC (0) --> successful completion E_FAIL (-1) --> operation failed
The c_getrwt() call is for C only.