![]() |
ENENTY |
Equivalent PK functions: |
PK_CLASS_ask_superclass PK_CLASS_is_subclass PK_ENTITY_ask_class PK_ENTITY_is_curve PK_ENTITY_is_geom PK_ENTITY_is_part PK_ENTITY_is_surf PK_ENTITY_is_topol |
ENENTY ( entity, ltypes, types, ntypes, ifail ) =============================================== Enquire entity type Can be called from the GO. Receives: <KI_tag_entity> *entity --- entity KI_int_nitems *ltypes --- maximum length of types array Returns: KI_cod_ty types[ltypes] --- type-codes of entity KI_int_nitems *ntypes --- number of type-codes returned KI_cod_error *ifail --- failure indicator Specific errors: KI_buffer_overflow More than 'ltypes' type-codes to return Description: The entity with the given tag is found and a list of type-codes is returned which together define the type of the entity. The first code will be from the range TYEN00 and will indicate whether the entity is topological, geometric, or associated data. The following type-codes will be drawn from various other ranges, determined hierarchically (for example a geometric entity may yield a list of type values 'geometric', 'curve', 'elliptic': TYENGE, TYGECU, TYCUEL). If a null tag is given TYEN00 is returned.