Skip to main content

cover_spaces

Function cover_spaces 

Source
pub fn cover_spaces(
    tx: &mut Transaction,
    global_id: &str,
    space: EntityId,
    coverings: &[EntityId],
) -> SpatialAuthoringResult<EntityId>
Expand description

Stage an IfcRelCoversSpaces: finishes bounding a space.

IFC4 and IFC4X3 only: it writes their layout and leaves OwnerHistory $, which IFC2X3 requires. In IFC2X3 use cover_spaces_with_owner_history, which binds the model’s declared release.

§Errors

Refuses a malformed GlobalId, an empty covering set, and the space listed among its own coverings.