DATASERV (koldgeom) functions


LIBRARY ROUTINE

kgeom_query_primitive_list - determine the existence of a primitive list.

LIBRARY CALL

kobject kgeom_query_primitive_list(
   kobject object)

INPUT

OUTPUT

none

RETURN VALUE

TRUE (1) if primitive list exists , FALSE (0) otherwise

DESCRIPTION

This function checks for the existence of a primitive list within a given data services object.

The primitive list is accessed via the KGEOM_PRIMITIVE_LIST attribute. The length of the primitive list is determined by the KGEOM_NUMBER_PRIMITIVES attribute. If a data object does not contain a primitive list, neither of these attributes can be accessed.

This function typically one of the first functions called after opening an input data object.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DATASERV/objects/library/koldgeom/src/geometry.c

SEE ALSO

koldgeom(3)

COPYRIGHT

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