Skip to main content

boolean_result

Function boolean_result 

Source
pub fn boolean_result(
    tx: &mut Transaction,
    operator: IfcBooleanOperator,
    first: EntityId,
    second: EntityId,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcBooleanResult.

The operation is recorded, not executed. The file states the operands and the operator; evaluating them is a kernel concern belonging to a consumer, so any kernel – CGAL, OCCT, Axiolid – can resolve the same authored record later.

Operand order matters for DIFFERENCE: first minus second. The operator type carries that distinction, so it is not restated here.