Skip to main content

fixed_reference_swept_area_solid_in

Function fixed_reference_swept_area_solid_in 

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

Stage an IfcFixedReferenceSweptAreaSolid in model’s declared release.

Like the surface-curve sweep, but the profile’s orientation is fixed by a direction rather than by a surface. The trim parameters are bare in IFC4 and IFCPARAMETERVALUE(..) in IFC4X3. IFC2X3 does not declare the entity. A model without FILE_SCHEMA binds IFC4.

§Errors

GeometryError::InvalidAuthoredValue for a non-finite trim parameter. GeometryError::AuthoringEntityNotInSchema in IFC2X3. GeometryError::AuthoringSchemaUnbound if FILE_SCHEMA names an unknown release or several. Nothing is staged on error.