GEOMETRY (geometry) functions


LIBRARY ROUTINE

lget_coords - obtain coordinate (location) data

LIBRARY CALL

lget_coords (
    kobject kobj,
    int i,
    int j,
    int k,
    vertex_3d *v)

INPUT

OUTPUT

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.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$GEOMETRY/objects/library/geometry/src/get_coords.c

SEE ALSO

geometry(3)

COPYRIGHT

Copyright (C) 1996,1997 , The Regents of the University of California. All rights reserved.