FUNCTION build_axes
(* SCHEMA integrated_cnc_schema; *)
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)).orientation, d1 ]);
END_FUNCTION; -- 10303-42: geometry_schema
Referenced By
Defintion build_axes is references by the following definitions:
[Top Level Definitions] Generated by STEP ToolsTM EXPRESS to HTML Converter
on 2010-01-12T10:42:25-02:00