FUNCTION relating_shape_representations_of_extreme_values
(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION relating_shape_representations_of_extreme_values
(item : location_of_extreme_value_select ) : SET OF shape_representation;
LOCAL
results : SET OF shape_representation := [];
exti : SET OF extreme_instance := [];
ii_ei : SET OF instance_report_item_with_extreme_instances := [];
sdiir : SET OF shape_data_quality_inspection_instance_report := [];
sdqr : SET OF shape_data_quality_inspection_result_representation := [];
sdisr : SET OF shape_data_quality_inspected_shape_and_result_relationship := [];
END_LOCAL;
exti := exti + bag_to_set(USEDIN(item, 'STEP_MERGED_AP_SCHEMA.EXTREME_INSTANCE.LOCATIONS_OF_EXTREME_VALUE'));
REPEAT i := 1 TO HIINDEX(exti);
ii_ei := ii_ei + bag_to_set(USEDIN(exti[i], 'STEP_MERGED_AP_SCHEMA.INSTANCE_REPORT_ITEM_WITH_EXTREME_INSTANCES.EXTREME_INSTANCES'));
END_REPEAT;
REPEAT i := 1 TO HIINDEX(ii_ei);
sdiir := sdiir + bag_to_set(USEDIN(ii_ei[i], 'STEP_MERGED_AP_SCHEMA.SHAPE_DATA_QUALITY_INSPECTION_INSTANCE_REPORT.INSPECTED_INSTANCES'));
END_REPEAT;
REPEAT i := 1 TO HIINDEX(sdiir);
sdqr := sdqr + QUERY (i1 <* bag_to_set(USEDIN(sdiir[i].inspection_result, 'STEP_MERGED_AP_SCHEMA.REPRESENTATION.ITEMS'))| ('STEP_MERGED_AP_SCHEMA.SHAPE_DATA_QUALITY_INSPECTION_RESULT_REPRESENTATION' IN TYPEOF(i1)));
END_REPEAT;
REPEAT i := 1 TO HIINDEX(sdqr);
sdisr := sdisr + bag_to_set(USEDIN(sdqr[i], 'STEP_MERGED_AP_SCHEMA.SHAPE_DATA_QUALITY_INSPECTED_SHAPE_AND_RESULT_RELATIONSHIP.REP_2'));
END_REPEAT;
REPEAT i := 1 TO HIINDEX(sdisr);
results := results + sdisr[i].rep_1;
END_REPEAT;
RETURN (results);
END_FUNCTION;
Referenced By
Defintion relating_shape_representations_of_extreme_values is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00