如何在已知距离和已知方向下获得一个点

huangapple 未分类评论58阅读模式
英文:

How to get a point at known distance in known direction

问题

我在Java中有一个Point。我有一个距离,我想在这个距离处获得新的Point。我知道方向。

我应该如何计算新的Point?

如果初始Point是5, 0, 5,而我想要一个新的Point,距离初始Point 10米,在我的四元数方向上,我如何知道哪个Point距离10米?

英文:

I have a Point in Java. I have a distance at which I want to get the new Point. I know the orientation.

How would I calculate the new Point?

If initial Point is 5, 0, 5 and I want a new point at for example 10 meters away, in the direction of my Quaternion, how do I know what point is 10 meters away?

huangapple
  • 本文由 发表于 2020年3月15日 22:19:51
  • 转载请务必保留本文链接:https://java.coder-hub.com/60693866.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定