Solid.intersect()

Runs a boolean intersection with another solid and returns the shared volume as a new Solid.

Usage

javascript
const result = solid.intersect(otherSolid);

Inputs are left unchanged.