BinaryRegionOperator

Applies a binary operation between two regions.

The following operators are available:

Union (|)

Calculates the union (yellow) of two regions A (dark), B (bright).

A | B -> Union

Intersection (&)

Calculates the intersection (yellow) of two regions A (dark), B (bright).

A & B -> Intersection

Difference (\)

Calculates the difference (yellow) of two regions A (dark), B (bright).

A  B -> Difference

B  A -> Difference

Inputs

RegionA (Type: Region)

The first input region.

RegionB (Type: Region)

The second input region.

Operator (Type: string)

Specifies the operator.

operator operation
| union
& intersection
\ difference

Outputs

Result (Type: Region)

The result region.