FUNCTION aspect_ratio

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP232
-- IN AP203e2/AP214/AP232/AP238 STEP-NC/AP242
FUNCTION aspect_ratio
      (p : planar_box ) : positive_ratio_measure;
      IF (p.size_in_x > 0.0) AND (p.size_in_y > 0.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
2020-07-28T17:02:20-04:00