This page is adapted the algorithm from a book Computational Geometry - Algorithms and Applications, 3rd Ed by Berg et. al. You can see details in chapter 4.7 Smallest Enclosing Discs. For more information you can refer to: wiki/Smallest-circle_problem

Source