Skip to main content
1 of 2
Manfred Weis
  • 13.2k
  • 4
  • 34
  • 76

An algorithm that works at least for dimensions $2$ and $3$ is:

  1. calculate a spanning tree of the $n$ points
  2. calculate the bisector planes of the spanning tree's edges
  3. the sought poiint is in the intersection of the affine subspace defined by the intersection of the bisector planes and has least distance to any of the given ones.

that algorithm can be generalized to arbitrary many points by taking the least squares solution to the intersection of the bisector planes with the subspace that is orthogonal to these intersections and contains th $n$.

For numerical reasons the maximum weight spanning tree seems preferable over the minimum weight spanning tree; it is also recommended to move the $n$ points center of gravity to the origin to prior to the calculations.

Manfred Weis
  • 13.2k
  • 4
  • 34
  • 76