kgeom_object *
kgeom_read_header(char *filename)
none
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.
A geometry object, when written to a file basically consists of a geometry header, geometry object data, and geometry primitive data. This routine allows you to read only the geometry header.
Functionally, the kgeom_read_object()
routine
is equivalent to a call to
kgeom_read_header
, followed by calls to
kgeom_read_object_and_primitives()
and
kgeom_done_reading()
.
none
none
$DATASERV/objects/library/kgeom/src/object.c