Skip to main content

rectangle_profile

Function rectangle_profile 

Source
pub fn rectangle_profile(
    tx: &mut Transaction,
    name: Option<&str>,
    position: Option<EntityId>,
    x_dim: f64,
    y_dim: f64,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcRectangleProfileDef.

ยงErrors

Refuses a non-positive or non-finite dimension. IFC declares these as IfcPositiveLengthMeasure, so zero is invalid, not merely degenerate.