geometry - How do I enlarge a shape while ensuring the original will fit inside it concentrically? -


i have islands in game defined array of vertices. create larger version of them make type of "shore", cosmetic purposes, while keeping original shape intact use collision purposes. have tried dilating point point , moving larger shape has same center original, doesn't seem work concave shapes 1 below. enlargement process wouldn't have perfect dilation because shore cosmetic, prefer have shape of defined in code instead of using sort of visual effect.

it seems reputation low post images, please see example below: http://i.stack.imgur.com/4hwuj.jpg

sorry if unclear; it's hard put words. basically, seems, dilating shape doesn't mean smaller 1 can fit inside larger one. need enlargement process can ensure that.

you trying inflate shape, has been answered before:

inflate/deflate discussion


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -