Overview Schemas Index

Solid_with_local_modification_arm (jsdai.SSolid_with_local_modification_arm)


FUNCTION calculate_depth
          (swsrh : Solid_with_stepped_round_hole) : length_measure;

LOCAL
      i  : INTEGER;
      td : length_measure := 0;
    END_LOCAL;
    REPEAT i := 1 TO swsrh.segments;
      td := td + swsrh.segment_depths[i];
    END_REPEAT;
    RETURN(td);

END_FUNCTION; -- calculate_depth

public class FCalculate_depth
          public static Value run(SdaiContext _context, Value swsrh)