Skip to main content

resolve_true_north

Function resolve_true_north 

Source
pub fn resolve_true_north(
    model: &Model,
    context: EntityId,
) -> GeorefResult<NorthReference>
Expand description

Resolve IfcGeometricRepresentationContext.TrueNorth.

TrueNorth is attribute slot 5 (IfcRepresentationContext contributes 0 and 1; IfcGeometricRepresentationContext adds CoordinateSpaceDimension at 2, Precision at 3, WorldCoordinateSystem at 4, TrueNorth at 5 – identical in IFC4 and IFC4X3, pinned in crate::slot). Returns the spec default (0, 1) when the attribute is absent, exactly as IfcGeometricRepresentationContext documents: “If not present, it defaults to [0.,1.]”.