pub fn surface_curve_swept_area_solid_in(
tx: &mut Transaction,
model: &Model,
swept_area: EntityId,
position: Option<EntityId>,
directrix: EntityId,
trim: SweepTrim,
reference_surface: EntityId,
) -> Result<EntityId, GeometryError>Expand description
Stage an IfcSurfaceCurveSweptAreaSolid in model’s declared release.
The profile is swept along directrix while staying on
reference_surface, which is what fixes its orientation. The trim
parameters take the form the release declares:
IFC2X3 StartParam : IfcParameterValue 0.5 (required)
IFC4 StartParam : OPTIONAL IfcParameterValue 0.5
IFC4X3 StartParam : OPTIONAL IfcCurveMeasureSelect
IFCPARAMETERVALUE(0.5)A model without FILE_SCHEMA binds IFC4.
§Errors
GeometryError::InvalidAuthoredValue for a non-finite trim parameter,
or an attribute the release requires left unset (in IFC2X3, Position,
StartParam and EndParam).
GeometryError::AuthoringSchemaUnbound if FILE_SCHEMA names an
unknown release or several. Nothing is staged on error.