Skip to main content

arbitrary_profile_with_voids

Function arbitrary_profile_with_voids 

Source
pub fn arbitrary_profile_with_voids(
    tx: &mut Transaction,
    name: Option<&str>,
    outer_curve: EntityId,
    inner_curves: &[EntityId],
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcArbitraryProfileDefWithVoids.

§Errors

Refuses an empty void set: SET [1:?], and a profile with no voids is an IfcArbitraryClosedProfileDef instead. The schema also forbids an IfcLine as an inner curve – a straight line encloses nothing – but that needs the referenced entity’s type, which this writer does not resolve; the conformance validator catches it.