BooleanRegion

BooleanRegion[bfunc,{reg1,reg2,}]

represents the Boolean combination bfunc of regions reg1, reg2, .

Details and Options

Examples

open allclose all

Basic Examples  (2)

The Boolean Xor of two disks:

Visualize it:

A Boolean function applied to MeshRegion objects:

Scope  (11)

Special Regions  (5)

A Boolean Or of Line regions:

Visualize it:

A BooleanCountingFunction applied to Polygon regions:

Compute its Area:

A Boolean Xor of two Disk regions:

Visualize it:

A Boolean Or of two Cuboid regions:

Visualize it:

A Boolean And of regions with different RegionDimension:

Visualize it:

Formula Regions  (2)

A Boolean Xor of ImplicitRegion objects is an ImplicitRegion:

2D:

3D:

nD:

A Boolean function applied to ParametricRegion objects:

Visualize it:

Mesh Regions  (2)

A Boolean function of BoundaryMeshRegion objects is a BoundaryMeshRegion:

2D:

3D:

A Boolean function of full dimensional MeshRegion objects is a MeshRegion:

2D:

3D:

Derived Regions  (2)

A Boolean function of BooleanRegion objects:

Visualize it:

A Boolean Or of TransformedRegion objects:

Visualize it:

Applications  (1)

Boolean operations over regions:

Properties & Relations  (2)

RegionUnion is a Boolean combination Or of regions:

RegionIntersection:

RegionDifference:

RegionSymmetricDifference:

The RegionMeasure of a Boolean And obeys a simple formula:

Subtract the measure of the RegionUnion from the sum of the measures:

Possible Issues  (3)

BooleanRegion is defined only for regions with the same RegionEmbeddingDimension:

Components of dimension less than the embedding dimension may be omitted:

Turn on a message:

BooleanRegion may include overlapping lower-dimensional components:

The connected mesh components:

Neat Examples  (1)

The Boolean Xor of two spiral polygons:

Introduced in 2014
 (10.0)
 |
Updated in 2017
 (11.2)