remove

infix fun Shape3d.remove(cavity: Shape3d): Shape3d

Make a cavity within another shape.


infix fun Shape2d.remove(cavity: Shape2d): Shape2d

Similar to Shape2d.difference (or the minus operator), but the cavity remains as a 1st class object, which will remain as a cavity after using two or more shapes via the and method.