Sorry for the unclear title but I'm not really sure myself which kind of issue I'm facing. Basically I would like to join a sequence of lines to create the resulting roundest shape (basically the one with the biggest surface where all the points will go the furthest from the center). I'm not sure if a physic library is needed or just few simple, not for me, math.
Any hint?
Thanks a lot, chr
I don't think is convex hull what I need. I start knowing only the length and the order of the segments, imagine a long line divided by segments which will join the two ends creating a polygon as much as possible similar to a circle where all the segments are used (basically like a wrist ring that from open it closes), 3 segments will be a triangle and so on.
Thanks, chr
You have varying segment lengths or are they all the same?
I don't really know about the former case, sounds like quite a hard geometric problem. You might have to successively approximate the correct answer. The latter would give you the regular polygons.
Hi Boris, I definitely would have varying segments length 🙁
Thanks, chr