FUNCTION build_axes
(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP224
-- DIFF IN AP232
FUNCTION build_axes
(axis : direction;
ref_direction : direction ) : LIST [3:3] OF direction;
LOCAL
d1 : direction;
d2 : direction;
END_LOCAL;
d1 := NVL(normalise(axis), dummy_gri || direction([ 0.0, 0.0, 1.0 ]));
d2 := first_proj_axis(d1, ref_direction);
RETURN ([ d2, normalise(cross_product(d1, d2))\vector.orientation, d1 ]);
END_FUNCTION;
Referenced By
Defintion build_axes is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00