Compute the boolean union of two 2D shapes.
Handles all combinations of Blueprint, CompoundBlueprint, Blueprints, and null. When both inputs are simple blueprints the operation delegates to fuseBlueprints; compound and multi-blueprint cases are decomposed recursively.
null
First operand (or null for empty).
Second operand (or null for empty).
The fused shape, or null if both operands are empty.
const union = fuse2D(circleBlueprint, squareBlueprint); Copy
const union = fuse2D(circleBlueprint, squareBlueprint);
fuseBlueprint2D for the functional API wrapper.
Compute the boolean union of two 2D shapes.
Handles all combinations of Blueprint, CompoundBlueprint, Blueprints, and
null. When both inputs are simple blueprints the operation delegates to fuseBlueprints; compound and multi-blueprint cases are decomposed recursively.