FUNCTION aspect_ratio

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP214
-- DIFF IN AP203e2
-- DIFF IN AP238 STEP-NC
-- IN AP203e2/AP214/AP232/AP238 STEP-NC/AP242
FUNCTION aspect_ratio
      (p : planar_box ) : positive_ratio_measure;
      IF (p.size_in_x > 0) AND (p.size_in_y > 0) THEN
         RETURN (p.size_in_x / p.size_in_y);
      ELSE
         RETURN (?);
      END_IF;
END_FUNCTION;

Referenced By

Defintion aspect_ratio is references by the following definitions:
DefinitionType
 camera_image_2d_with_scale ENTITY
 camera_image_3d_with_scale ENTITY


[Top Level Definitions] [Exit]

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