3d trilateration with multiple known points.
Posted on 2015-01-05
Hi all, I am attempting to write a C# trilateration function, but it is beyond my limited math knowledge...
I have a number of known points (currently 8, but this number may change)
I have the x, y, z coordinates for each.
where each array has 3 values, x, y and z.
I know the distance from the unknown point (x) to each of the known points.
So given these values, I need to find the xyz coordinates of the unknown point X;
What is the most straightforward way to do this? I have found examples in other code languages, but nothing that I understand in c#. And only ever with three points.
Any and all assistance would be much appreciated!
Thanks in advance!