DATASERV (kgeom) functions


LIBRARY ROUTINE

kgeom_done_reading - close associated file after reading

LIBRARY CALL

int kgeom_done_reading(kgeom_object *object)

INPUT

OUTPUT

none

RETURN VALUE

TRUE on success, FALSE otherwise

DESCRIPTION

This function will close the file associated with the geometry object after a read has been completed.

In general, the kgeom_read_object() function should be used instead of this function. This function has been made public to provide complete flexibility for reading a geometry object. It should only be used when you wish to read a geometry object primitive-by-primitive. More information on this is available in the kgeom_read_primitive() man page.

The fid internal to the geometry object specifies the file which will be closed. In general, this fid is set when the geometry header was read by the kgeom_read_header() function.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DATASERV/include/kgeom/kgeom.h

SEE ALSO

kgeom(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.