How do you generate the non-convex hull from a series of points?

后端 未结 1 2019
粉色の甜心
粉色の甜心 2020-12-19 13:15

I am currently trying to construct the area covered by a device over an operating period. The first step in this process appears to be constructing a polygon of the covered

相关标签:
1条回答
  • 2020-12-19 13:37

    You might try looking into Alpha Shapes. The CGAL library can compute them.

    Edit: I see that the paper you linked references alpha shapes, and also has an algorithm listing. Is that not high level enough for you? Since you listed python as a tag, I'm sure there are Delaunay triangulation libraries in Python, which I think is the hardest part of implementing the algorithm; you just need to make sure you can modify the resulting triangulation output. The boundary query functions can probably be implemented with associative arrays.

    0 讨论(0)
提交回复
热议问题