FUNCTION compute_total_depth

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP203e2
-- IN AP203e2/AP242
FUNCTION compute_total_depth
      (swsrh : solid_with_stepped_round_hole ) : positive_length_measure;
   LOCAL
      i : positive_integer;
      n : positive_integer := swsrh.segments;
      td : positive_length_measure := swsrh.segment_depths[1];
   END_LOCAL;
      IF n = 1 THEN
         RETURN (td);
      ELSE
         REPEAT i := 2 TO n BY 1;
            td := td + swsrh.segment_depths[i];
         END_REPEAT;
      END_IF;
      RETURN (td);
END_FUNCTION;

Referenced By

Defintion compute_total_depth is references by the following definitions:
DefinitionType
 solid_with_stepped_round_hole ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:24-05:00