英文:
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?
专注分享java语言的经验与见解,让所有开发者获益!
评论