Skip to main content

lower_product_net_with

Function lower_product_net_with 

Source
pub fn lower_product_net_with(
    session: &mut LoweringSession<'_>,
    product: EntityId,
    options: NetOptions,
) -> GeometryResult<Option<NetLowering>>
Expand description

lower_product_net with explicit NetOptions.

Under ReferenceOnlyOpenings::TakeAsApplied, an IfcOpeningElement whose representations are all Reference is listed in NetLowering::taken_as_applied instead of refusing the host (#351; see the module documentation). A host whose openings are all taken as applied lowers to its gross Body, and root == gross.

ยงErrors

As lower_product_net. An opening with no representation, one with a representation other than Reference, or one whose Body does not lower is still GeometryError::OpeningNotSubtracted whatever the options.