Skip to main content

resolve_unit

Function resolve_unit 

Source
pub fn resolve_unit(
    model: &Model,
    referrer: EntityId,
    id: EntityId,
) -> GeometryResult<[f64; 3]>
Expand description

Resolve a reference that must be an IfcDirection, normalized to 3D.

Placements and transformation operators both take optional direction references and both need the same dangling/wrong-type/degenerate handling.