lget_coords (
kobject kobj,
int i,
int j,
int k,
vertex_3d *v)
INPUT
kobj - data object to scan
i - width index
j - height index
k - depth index
OUTPUT
v - 3d vertex
RETURN VALUE
CHILL (1) on success, WHACKED (0) on failure
DESCRIPTION
This function allows access to location data in a
consistent way. The idea is that all geometry
visualization tools need coordinate information
from the input data file. If location data is
available, it is used. If not, the convention
taken is that the u,v,w indeces are used as
coordinate values. This convention may change over
time, thus the API rather than having lots of
duplicated code for dealing with this problem.