Skip to main content

bounding_box

Function bounding_box 

Source
pub fn bounding_box(
    tx: &mut Transaction,
    corner: EntityId,
    x_dim: f64,
    y_dim: f64,
    z_dim: f64,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcBoundingBox.

ยงErrors

Refuses a non-positive or non-finite extent: the schema declares all three as IfcPositiveLengthMeasure, so a flat box is not expressible.