Geometry problem

What is the diameter of the smallest circle that can encompass a given set of 2D points? Points may lie on the circle. Can this be done analytically?

Looking for a general solution.

That seems to cover it. Thanks!