I need to create an outline of a 2d polygon (I do that by scaling the vertices along the average of the edge normal's). But there is a problem when handling concave polygons because of the possible self intersections.
I've tried to fix those self intersections via the benley-ottmann algorithm and discarding the smallest part, but that doesn't preserve the original shape very well.
So I would like to know if there is a way that preserves the original shape better?