Minimum Bounding circle & sphere

You can see this thread where I and others have provided exactly what you’re looking for!