difference

open fun difference(other: Shape3d?): Shape3d

Wherever this and other overlap there is a void. The rest of this shape remains unchanged. other does not appear in the result.

It is normal to use the minus operator instead.

If other == null, then this is returned.