pub fn base_axes_2d(
origin: [f64; 3],
axis1: Option<[f64; 3]>,
axis2: Option<[f64; 3]>,
) -> Option<Transform>Expand description
The 2D case of IfcBaseAxis.
Returned as a 3D transform lying in the z=0 plane so consumers never carry
two transform types. Y is the orthogonal complement of X (X turned a
quarter turn counter-clockwise), flipped when Axis2 opposes it.
When only Axis2 is given, X is derived from it by the reverse quarter
turn, which is why this cannot simply call Transform::from_axes with a
default X: there is no 3D analogue of that rule.