DATASERV (kgeom) functions
LIBRARY ROUTINE
kgeom_blast_primitive - destroy a geometry primitive
LIBRARY CALL
int
kgeom_blast_primitive(kgeom_primitive *primitive)
INPUT
- primitive - primitive to free
OUTPUT
none
RETURN VALUE
TRUE on success, FALSE otherwise
DESCRIPTION
This routine will free a given primitive and all
associated data.
Note that geometry services will free all the
data pointers within the geometry primitive. Because
of this, be careful not to point to static arrays of
data within the geometry primitive. If geometry
services tries to free a statically allocated array,
it will result in a fatal error.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$DATASERV/objects/library/kgeom/src/prim_blast.c
SEE ALSO
kgeom(3), kgeom_primitive, kgeom_new_primitive,
kgeom_add_primitive, kgeom_remove_primitive, kgeom_get_primitive,
kgeom_number_primitives
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.