Description
Taking the sum or difference body of two shapes in 2D or 3D would not be difficult to implement and would be a nice feature. This could use duck typing to work with 2D or 3D vectors as well. I would recommend overwriting the __add__ and __sub__ methods of Poly classes for this.
Tasks
Description
Taking the sum or difference body of two shapes in 2D or 3D would not be difficult to implement and would be a nice feature. This could use duck typing to work with 2D or 3D vectors as well. I would recommend overwriting the
__add__and__sub__methods ofPolyclasses for this.Tasks
shape1 + shape2andshape1 - shape2