镶嵌的反面是什么?

发布于 2024-10-11 17:27:09 字数 117 浏览 8 评论 0原文

据我了解,采用多边形并将其分解为复合三角形称为“镶嵌”。相反的过程叫什么?任何人都可以将我链接到它的算法吗?

本质上,我有一个二维三角形列表,我需要一种算法将它们重新组合成多边形。

谢谢!

From what I understand, taking a polygon and breaking it up into composite triangles is called "tesselation". What's the opposite process called and can anyone link me to an algorithm for it?

Essentially, I have a list of 2D triangles and I need an algorithm to recombine them into a polygon.

Thanks!

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

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

发布评论

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

评论(3

往事风中埋 2024-10-18 17:27:09

我认为你需要将三角形转换为 半边数据结构,并且那么你应该能够轻松找到没有对边的半边。

替代文字

I think you need to transform your triangles as a half edge data structure, and then you should be able to easily find the half edges which have no opposite.

alt text

你的他你的她 2024-10-18 17:27:09

这称为网格抽取。这是我为类执行此操作而编写的一些代码。 Tibur 是正确的,半边数据结构使得这更加高效。

http://www.cs.virginia.edu/~mjh7v/advgfx/proj1/

It's called mesh decimation. Here is some code I wrote to do this for a class. Tibur is correct that the half edge data structure makes this much more efficient.

http://www.cs.virginia.edu/~mjh7v/advgfx/proj1/

旧时光的容颜 2024-10-18 17:27:09

您所说的曲面细分实际上称为三角剖分。您正在搜索的是曲面细分(您可能听说过它称为平铺)。

如果您对要解决的问题更具体(例如,您知道最终多边形的形状吗?),我可以尝试推荐一些更具体的算法。

The thing that you are calling tessellation is actually called triangulation. The thing you are searching for is tessellation (you may have heard of it referred to as tiling).

If you are more specific about the problem you are trying to solve (e.g. do you know the shape of the final polygon?) I can try to recommend some more specific algorithms.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文