liveBook · Manning

Boolean operation

As explained in Robotics for Programmers

A Boolean operation combines or subtracts geometric regions through operations such as union, difference, and intersection.

A Boolean operation combines or subtracts geometric regions. In robotics geometry, union merges volumes, difference cuts one shape with another, and intersection keeps only their overlap. section 6.1.5

The three core operations are:

  • Union combines all volume enclosed by either object into one larger shape. section 6.1.5
  • Difference removes the portion of one object that overlaps the other. section 6.1.5
  • Intersection retains only the volume shared by both objects. section 6.1.5

Constructive solid geometry

Constructive solid geometry (CSG) creates complex three-dimensional shapes by applying Boolean operations to simple geometric primitives. section 6.1.5

Figure 6.13 Constructive solid geometry (CSG) creates complex 3D shapes by combining simple geometric primitives with Boolean operations such as union, difference, and intersection. [4]
CH06 Fxx bihlmaier csg boolean operations

Visualizes CSG as combinations of simple primitives using union, difference, and intersection. section 6.1.5

How Robotics for Programmers covers it

How deep it goes
Defines union, difference, and intersection through volume behavior, stopping short of implementation details.
Examples
Uses merged, cut, and overlapping three-dimensional shapes to illustrate the operations.
What it assumes
Starts from familiar primitive shapes and their enclosed volumes.
What you can do after
Evaluate how unions, subtractions, and overlaps construct complex geometric volumes.
How it connects
Connects constructive solid geometry with geometric primitives and complex shape representation.

Also explained in

Compare how 2 books explain boolean operation →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Robotics for Programmers. The section links point to the parts of the book it draws on.