Skip to main content

trapezium_profile

Function trapezium_profile 

Source
pub fn trapezium_profile(
    tx: &mut Transaction,
    header: ProfileHeader<'_>,
    dims: TrapeziumDims,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcTrapeziumProfileDef.

ยงErrors

Refuses a non-positive dimension. TopXOffset is an IfcLengthMeasure, not a positive one: a negative offset leans the top edge the other way and is legal, so it is only checked for finiteness.