将多边形分解为更小的多边形

发布于 2024-08-31 09:51:03 字数 146 浏览 0 评论 0原文

我正在使用 geodjango,我想将 2D 矩形多边形分解为更小的多边形。

我的输入是一个大矩形,我想将其细分为更小的矩形。较小矩形的总和必须是原始矩形。

所有子矩形的大小应相同。

我怎样才能做到这一点?

谢谢。

I am working with geodjango and I want to breakup a 2D Rectangular Polygon into smaller ones.

My input is a big rectangle and I want to subdivide it in smaller rectangles. The sum of the smaller rectangles must be the original rectangle.

All subrectangles should be equal size.

How can I do that?

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

紫轩蝶泪 2024-09-07 09:51:03
  1. 选取矩形内的任意点,
  2. 通过该点绘制两条平行于矩形边缘的线。现在您已将矩形分成四个较小的矩形。
  1. Pick any point inside the rectangle
  2. Draw two lines through it parallel to the edges of the rectangle. Now you've divided your rectangle into four smaller ones.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文