Skip to main content

build_2_axes

Function build_2_axes 

Source
pub fn build_2_axes(ref_direction: Option<[f64; 2]>) -> ([f64; 2], [f64; 2])
Expand description

IfcBuild2Axes: a 2D frame from an optional reference direction.

Defaults to +X when the direction is absent or degenerate, per the schema’s NVL(IfcNormalise(RefDirection), IfcDirection([1.0, 0.0])).