FUNCTION acyclic_geometric_tolerance_relationship
(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP238 STEP-NC
-- IN AP238 STEP-NC/AP242
FUNCTION acyclic_geometric_tolerance_relationship
(relation : geometric_tolerance_relationship;
relatives : SET [1:?] OF geometric_tolerance;
specific_relation : STRING ) : BOOLEAN;
LOCAL
x : SET OF geometric_tolerance_relationship;
END_LOCAL;
IF relation.relating_geometric_tolerance IN relatives THEN
RETURN (FALSE);
END_IF;
x := QUERY (geotol <* bag_to_set(USEDIN(relation.relating_geometric_tolerance, 'STEP_MERGED_AP_SCHEMA.GEOMETRIC_TOLERANCE_RELATIONSHIP.RELATED_GEOMETRIC_TOLERANCE'))| specific_relation IN TYPEOF(geotol));
REPEAT i := 1 TO HIINDEX(x);
IF NOT acyclic_geometric_tolerance_relationship(x[i], (relatives + relation.relating_geometric_tolerance), specific_relation) THEN
RETURN (FALSE);
END_IF;
END_REPEAT;
RETURN (FALSE);
END_FUNCTION;
Referenced By
Defintion acyclic_geometric_tolerance_relationship is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00