如何计算基于 4 个弯曲边的网格?

发布于 2024-07-29 11:10:02 字数 216 浏览 3 评论 0 原文

如何计算 2D 网格上边缘为 4 个弯曲贝塞尔曲线的点?

(见图):

替代文本 http://www.freeimagehosting.net/uploads/f4c4f64d98.gif

How can I calculate the points on a 2D grid where the the edges are 4 curved beziers?

(see picture):

alt text http://www.freeimagehosting.net/uploads/f4c4f64d98.gif

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

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

发布评论

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

评论(1

内心荒芜 2024-08-05 11:10:02

您可以使用参数化表示将点从带有角 [1, 1]、[-1, 1]、[-1, -1]、[1, -1] 的单位正方形映射到贝塞尔四边形,方法是从一个通过计算从一个到另一个的雅可比坐标系到另一个坐标系。

本文向您展示了具体操作方法。 这是有限元分析中常见的事情,因为大多数现代元素都是用参数空间中的形状函数来表示的。 您必须使用该文章中介绍的技术从参数坐标转换为元素坐标。

You can use a parametric representation to map points from a unit square with corners [1, 1], [-1, 1], [-1, -1], [1, -1] onto the Bezier quad by transforming from one coordinate system to the other by calculating the Jacobean from one to the other.

This article shows you how. It's a common thing to do in finite element analysis, because most modern elements are expressed in terms of shape functions in a parametric space. You have to transform from the parametric to element coordinates using the techniques shown in that article.

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