welzl


welzl, a MATLAB code which computes the minimal bounding circle or sphere for a set of points, using algorithms by Welzl or Ritter, by Anton Semechko.

Functions are provided for computing the exact minimal bounding sphere in 2 and 3 dimensions, using Welzl's algorithm. Additional functions approximate the minimal bounding sphere in higher dimensions, using Ritter's algorithm.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license.

Languages:

welzl is available in a MATLAB version.

Related Data and Programs:

welzl_test

Reference:

  1. Jack Ritter,
    An efficient bounding sphere,
    in Graphics Gems,
    edited by Andrew Glassner,
    Academic Press, pages 301-303, 1990.
  2. Emo Welzl,
    Smallest enclosing disks (balls and ellipsoids),
    Lecture Notes in Computer Science,
    Volume 555, pages 359-370, 1991.
  3. https://www.mathworks.com/matlabcentral/fileexchange/48725-exact-minimum-bounding-spheres-and-circles

Source Code:


Last modified on 12 December 2021.