I would like to draw bordering lines between a series of convex polygons but can’t find a proper way to do so.
I guess the output would either look like this:
(imaginary voronoi-ish cells)
or like this:
(imaginary offsetted contours stopping at mid-distance to neighbors)
I have tried both with Voronoi cells and offsetted polylines (Clipper) but as you can see none of these options seem to be appropriate in this case.
I believe another strategy would consist in treating the larger rectangle as a polygon with inner holes (the convex polygons) and compute its “straight skeleton”. A “medial axis” could be then retrieved by removing the branches touching the inner polygons.
Unfortunately I don’t know of a robust Straight Skeleton component that would handle polygons with holes.
Any ideas or suggestions would be greatly appreciated !