pub fn lower_directrix_derived_reference_sweep_node(
session: &mut LoweringSession<'_>,
id: EntityId,
world: Transform,
) -> GeometryResult<NodeId>Expand description
Append one IFC4X3 IfcDirectrixDerivedReferenceSweptAreaSolid.
IFC4.3 defines it as behaving exactly like its supertype
IfcFixedReferenceSweptAreaSolid “except when the Directrix not only
defines a tangent direction but a tangent plane for each point on the
curve”, for example an IfcSegmentedReferenceCurve, where the tangent
plane’s change in Y direction is added to the fixed reference. So:
- a directrix that defines only a tangent lowers to the same exact
FixedReferenceSweepits supertype does; - a directrix that defines a tangent plane is refused as
crate::GeometryError::UnsupportedwithDIRECTRIX_DERIVED_TANGENT_PLANE: the neutralFixedReferenceSweepcarries one constant reference direction and no law that rotates it with the directrix’s own frame, and composing that rotation here would mean evaluating the curve.
Which directrices count: the directrix, or anything it references at any
depth, is a segment-built curve (IfcCurveSegment, IfcGradientCurve,
IfcSegmentedReferenceCurve, IfcOffsetCurveByDistances) or a curve on a
surface.