and

infix fun Shape3d.and(other: Shape3d): Shape3d

Combine two shapes, so that the solid parts and cavities are both considered. If you use the more normal Shape3d.union method instead (or the plus operator), then the cavity won't be treated in a special way, and the result will be the same as if remove was not used.


infix fun Shape2d.and(other: Shape2d): Shape2d