Skip to main content

apply_boolean

Function apply_boolean 

Source
pub fn apply_boolean(
    tx: &mut Transaction<'_>,
    plan: &BooleanPlan,
) -> Result<BooleanReport>
Expand description

Applies plan to A’s transaction: drops, rewrites and adds triangles, stitches the two rims, welds and cleans up. A failure rolls the transaction back, so the call stays atomic through Scene::edit-style callers.