Java2D中曲线的评估
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
无论出于何种原因,他们将所有这些内容设为私有。但是(您可能已经知道这一点)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.