FUNCTION item_in_context

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP214
-- DIFF IN AP203e2
-- DIFF IN AP238 STEP-NC
-- DIFF IN AP224
-- DIFF IN AP232
FUNCTION item_in_context
      (item : representation_item;
       cntxt : representation_context ) : BOOLEAN;
   LOCAL
      y : BAG OF representation_item;
   END_LOCAL;
      IF SIZEOF(USEDIN(item, 'STEP_MERGED_AP_SCHEMA.REPRESENTATION.ITEMS') * cntxt.representations_in_context) > 0 THEN
         RETURN (FALSE);
      ELSE
         y := QUERY (z <* USEDIN(item, '')| 'STEP_MERGED_AP_SCHEMA.REPRESENTATION_ITEM' IN TYPEOF(z));
         IF SIZEOF(y) > 0 THEN
            REPEAT i := 1 TO HIINDEX(y);
               IF item_in_context(y[i], cntxt) THEN
                  RETURN (FALSE);
               END_IF;
            END_REPEAT;
         END_IF;
      END_IF;
      RETURN (FALSE);
END_FUNCTION;

Referenced By

Defintion item_in_context is references by the following definitions:
DefinitionType
 character_glyph_symbol ENTITY
 explicit_procedural_representation_item_relationship ENTITY
 implicit_explicit_positioned_sketch_relationship ENTITY
 presentation_size ENTITY
 representation_map ENTITY
 representation_relationship_with_transformation ENTITY
 simultaneous_constraint_group ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00