Reputation: 33
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 to fail at some point. How to solve this?
Upvotes: 3
Views: 135
Reputation: 99144
The origin will be somewhere on a hyperbolic surface. The points a and b are the foci.
Upvotes: 0
Reputation: 65146
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".
Upvotes: 1
Reputation: 185962
In the general case, there isn't a unique solution. You need another constraint.
Upvotes: 2