Skip to main content

derived_profile

Function derived_profile 

Source
pub fn derived_profile(
    tx: &mut Transaction,
    profile_type: ProfileType,
    name: Option<&str>,
    parent: EntityId,
    operator: EntityId,
    label: Option<&str>,
) -> EntityId
Expand description

Stage an IfcDerivedProfileDef: a parent profile plus a transform.

operator is an IfcCartesianTransformationOperator2D. For a plain mirror use mirrored_profile, which the schema derives instead.