FUNCTION sort_link_associations

(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/AP242
FUNCTION sort_link_associations
      (aprr : SET [1:?] OF pair_representation_relationship;
       one_not_two : BOOLEAN ) : SET OF kinematic_link_representation;
   LOCAL
      result : SET OF kinematic_link_representation := [];
   END_LOCAL;
      IF one_not_two THEN
         REPEAT i := 1 TO HIINDEX(aprr);
            result := result + aprr[i].rep_1;
         END_REPEAT;
      ELSE
         REPEAT i := 1 TO HIINDEX(aprr);
            result := result + aprr[i].rep_2;
         END_REPEAT;
      END_IF;
      RETURN (result);
END_FUNCTION;

Referenced By

Defintion sort_link_associations is references by the following definitions:
DefinitionType
 kinematic_pair ENTITY


[Top Level Definitions] [Exit]

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