Skip to main content

ellipse_profile

Function ellipse_profile 

Source
pub fn ellipse_profile(
    tx: &mut Transaction,
    header: ProfileHeader<'_>,
    semi_axis_1: f64,
    semi_axis_2: f64,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcEllipseProfileDef.

ยงErrors

Refuses a non-positive semi-axis. The schema states no WHERE rule: SemiAxis1 need not exceed SemiAxis2, so an ellipse taller than it is wide is written as given rather than silently reordered.