An algorithm for inflating/deflating (offsetting, buffering) polygons

后端 未结 12 2151
醉话见心
醉话见心 2020-11-22 12:58

How would I "inflate" a polygon? That is, I want to do something similar to this:

\"alt

<
12条回答
  •  梦谈多话
    2020-11-22 13:21

    There are a couple of libraries one can use (Also usable for 3D data sets).

    1. https://github.com/otherlab/openmesh
    2. https://github.com/alecjacobson/nested_cages
    3. http://homepage.tudelft.nl/h05k3/Projects/MeshThickeningProj.htm

    One can also find corresponding publications for these libraries to understand the algorithms in more detail.

    The last one has the least dependencies and is self-contained and can read in .obj files.

    Best wishes, Stephan

提交回复
热议问题