add_corners_and_smoothen#

add_corners_and_smoothen(zz)#

Add bounding-box corners so the zig-zag starts/ends on the rectangle.

If FIT_INTO_SQUARE is True, the compass rectangle is padded to become a square.

Parameters:

zz (ZigZag) – A ZigZag to modify in place.