Determine the position of a point in 3D space given the distance to N points with known coordinates

前端 未结 3 1666
自闭症患者
自闭症患者 2020-12-30 17:52

I am trying to determine the (x,y,z) coordinates of a point p. What I have are the distances to 4 different points m1, m2, m3, m4 with known coordinates.

In detail:

3条回答
  •  别那么骄傲
    2020-12-30 18:15

    I'll answer the second question. Let's name the unknown point X. If you have only known point A and know the distance form X to A then X can be on a sphere with the center in A.

    If you have two points A,B then X is on a circle given by the intersection of the spheres with centers in A and B (if they intersect that is).

    A third point will add another sphere and the final intersection between the three spheres will give two points.

    The fourth point will finaly decide which of those two points you're looking for.

    This is how GPS actually works. You have to have at least three satellites. Then the GPS will guess which of the two points is the correct one, since the other one is in space, but it won't be able to tell you the altitude. Technically it should, but there are also errors, so the more satellites you "see" the less the error.

    Have found this question which might be a starting point.

提交回复
热议问题