title: Remove vector lines which are too close to each other?
body: <p>I'm currently using boost::polygon::detail::resize() function to enlarge or shrink the outline of a polygon by a specific size. This is working well and gives proper results.</p>
  <p>Now in some cases, depending on the input shape, the resulting polygon (red) contains vector lines which are very close to each other (black line):</p>
  <p><a href="https://i.stack.imgur.com/sSNua.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sSNua.png" alt="polygon" /></a></p>
  <p>What I want to do is to have a minimum distance over all neighbouring lines of such a polygon. For this example this means, the resulting polygon needs to be modified and a vector line (blue) has to be added, replacing the red lines below of it. This of course would change the shape of the polygon but would keep it conform to the minimum-distance-rule.
  In this example picture given above, the new, blue line would have the length of the required minimum distance.</p>
  <p>My questions: are there any boost-functions available which could do that job? If yes: which ones and how have they to be used?</p>
  <p>Thanks!</p>