FUNCTION sort_link_associations

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP238 STEP-NC
-- 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) BY 1;
            result := result + aprr[i].rep_1;
         END_REPEAT;
      ELSE
         REPEAT i := 1 TO HIINDEX(aprr) BY 1;
            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
2017-01-19T11:17:24-05:00