Skip to main content

directrix_derived_reference_swept_area_solid

Function directrix_derived_reference_swept_area_solid 

Source
pub fn directrix_derived_reference_swept_area_solid(
    tx: &mut Transaction,
    swept_area: EntityId,
    position: Option<EntityId>,
    directrix: EntityId,
    trim: SweepTrim,
    fixed_reference: EntityId,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcDirectrixDerivedReferenceSweptAreaSolid.

Shares the fixed-reference layout exactly. It behaves like the fixed-reference sweep unless the directrix defines a tangent plane (an IfcSegmentedReferenceCurve, for instance): then that plane’s rotation is added to the reference. Same six slots, different meaning, so it is its own entity rather than a flag.

Only IFC4X3 declares it, and there the trim parameters are the SELECT IfcCurveMeasureSelect, so they are written IFCPARAMETERVALUE(..).

§Errors

Refuses a non-finite trim parameter.