最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - Multiple Sphere creations inside a 3d polygon - Stack Overflow

programmeradmin2浏览0评论

Let n be a given number.

The data I have is a set of (x,y) points plotting the contour of a polygon on each z slice, giving multiple images that can be stacked on the z axis to get a polyhedron.

How can I find all the spheres of diameter n that can fit inside this polyhedron without intersecting each other (specifically, I need to find the set of their centres)? Are there any useful Python libraries in tackling this problem, so I do not need to write all the code from scratch?

发布评论

评论列表(0)

  1. 暂无评论