resolve_material

Function resolve_material 

Source
fn resolve_material(
    decoder: &mut EntityDecoder<'_>,
    id: u32,
    unit_scale: f64,
) -> Vec<ResolvedLayer>
Expand description

Resolve a RelatingMaterial into a flat list of layers. Handles IfcMaterial, IfcMaterialLayerSet, IfcMaterialLayerSetUsage (→ set), IfcMaterialList, and IfcMaterialConstituentSet. unit_scale converts layer thickness to metres.