Java2D中曲线的评估

发布于 2024-08-13 07:26:38 字数 303 浏览 3 评论 0原文

是否有评估立方 或 二次给定时间 t 的 Java2D 曲线?我知道这个算法很简单,但我怀疑 Java 中已经有一个方法了。

Are there methods for evaluating cubic or quadratic Java2D curves at a given time t? I know the algorithm is simple, but I would suspect that there is a method for that already in Java.

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

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

发布评论

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

评论(1

℉絮湮 2024-08-20 07:26:38

无论出于何种原因,他们将所有这些内容设为私有。但是(您可能已经知道这一点)QuadCurve2D(和 CubicCurve2D)源代码都可以在 SDK 中阅读,并且其中包含所有 t-wise 代码。

For whatever reason, they made all of that stuff private. But (and you may already know this) the QuadCurve2D (and CubicCurve2D) source is all there for you to read in the SDK, and it has all of the t-wise code within.

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