Given a list of points
on a plane is simple to generate a distances
list between each pair of points.
Pseudo Code:
distances = []
for each point_a in points at index_a
for each point_b in points at index_b having index_b > index_a
dist = sqrt(abs(point_a.x-point_b.x)^2 + abs(point_a.y-point_b.y)^2)
push [index_a, index_b, dist] in distances
Now, having distances
is it possible to calculate back the coordinates of points
?
Obviously relative coordinates, with any translation/rotation/symmetry.
With an approximation too, if it could simplify computation.
It would be even ok if the generated points
wouldn't represent the originals points, the important thing is that the distances
list fits them.
....
edit: Pseudo Code appreciated !!