How to create a "border" polygon for a body?

Hi,

A body may contain several shapes.
How to create a border (contour) polygon from these shapes (not including circles)?

Thanks

Jose
This is a computational geometry type problem and I doubt there's an 'easy' solution. I suspect you'll have to calculate all edge intersections, and throw away all edges contained by any polygon.

Original thread: https://box2d.org/forum/viewtopic.php?t=3498