开发者

solving origin of a vectors

开发者 https://www.devze.com 2022-12-25 16:57 出处:网络
I have two endpoints (xa,ya) and (xb,yb) of two vectors, respectively a and b, originating from a same point (xo, yo). Also, I know that |a|=|b|+s, where s is a constant. I tried to compute the origin

I have two endpoints (xa,ya) and (xb,yb) of two vectors, respectively a and b, originating from a same point (xo, yo). Also, I know that |a|=|b|+s, where s is a constant. I tried to compute the origin (xo, yo) but seem t开发者_JAVA百科o fail at some point. How to solve this?


In the general case, there isn't a unique solution. You need another constraint.


Essentially you have two line segments and you know the position of one end for each and their length difference. This easily results in an infinite amount of points where the ends could meet, and therefore doesn't uniquely identify your "origin".


The origin will be somewhere on a hyperbolic surface. The points a and b are the foci.

0

精彩评论

暂无评论...
验证码 换一张
取 消