Skip to main content

rounded_rectangle_profile

Function rounded_rectangle_profile 

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

Stage an IfcRoundedRectangleProfileDef.

ยงErrors

Refuses a non-positive dimension or radius, and a radius exceeding half of either dimension: ValidRadius. At exactly half the smaller dimension the profile becomes a stadium, which is legal.