Determine non-convex hull of collection of line segments
问题 I have a computational geometry problem that I feel should have a relatively simple solution, but I can't quite figure it out. I need to determine the non-convex outline of a region defined by several line segments. I'm aware of various non-convex hull algorithms (e.g. alpha shapes), but I don't need a fully general algorithm, as the line segments define a unique solution in most cases. As @Jean-FrançoisCorbett has pointed out, there are cases where there are multiple solutions. I clearly