DATASERV (kgeom) functions


LIBRARY ROUTINE

kgeom_done_writing - close associated file after writing

LIBRARY CALL

int kgeom_done_writing(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 write has been completed.

In general, the kgeom_write_object() function should be used instead of this function. This function has been made public to provide complete flexibility for writing a geometry object. It should only be used when you wish to write a geometry object primitive-by-primitive. More information on this is available in the kgeom_write_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 written by the kgeom_write_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.