用不同大小的圆包装不规则多边形

编程入门 行业动态 更新时间:2024-10-26 08:31:55
本文介绍了用不同大小的圆包装不规则多边形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我试图用Shapely用Python编写一个程序,该程序接收形状文件(现在为国会区),并用圆圈打包".最终目标是获得圆的中心点和半径.我想用最少的圆圈覆盖最大的区域.

I'm trying to write a program in Python with Shapely that takes in shape files (right now congressional districts) and "packs" them with circles. The end goal is to have the center points and radii of the circles. I'd like to cover the maximum area with the least amount of circles.

到目前为止,我在Google上发现的所有资源都是关于在标准几何对象(例如正方形/圆形/三角形等)中进行圆形填充的.所以,我的直觉是尝试将这些形状变成三角形或其他形状,然后应用一些简单的形状的现有算法.

All of the resources I've found via Google so far are about circle packing within standard geometric objects like squares/circles/triangles etc... So my instinct is to try and turn these shapes into triangles or something and then apply some existing algorithm to the simpler shapes.

如果形状具有许多小的凹形边缘,这似乎是解决问题的正确方法吗?还是我无法通过Google找到某种算法,有人已经知道这样做了?

Does this seem like the right path for problem solving if the shapes have lots of small concave edges? Or is there some algorithm I haven't been able to find via Google that anyone knows of that does this already?

推荐答案

您可以从这份开创性的论文开始,然后向后移动&使用Google学术搜索及时转发:

You might start with this seminal paper, and then move backward & forward in time using Google Scholar:

伯恩(Bern),马歇尔(Marshall)和戴维·埃普斯坦(David Eppstein).通过填方四边形啮合."国际计算几何学杂志应用 10.04(2000):347-360.图1的一部分

Bern, Marshall, and David Eppstein. "Quadrilateral meshing by circle packing." International Journal of Computational Geometry & Applications 10.04 (2000): 347-360.


Part of Fig.1

尤其是,很多纸都在用圆包装多边形达到特定的特性,例如


In particular, much of the paper is on packing polygons with circles to achieve specific properties, e.g.,


更多推荐

用不同大小的圆包装不规则多边形

本文发布于:2023-07-27 16:10:19,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1223318.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多边形   不规则   大小

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!