Finds the minimal circumscribed circle for 2D point set using iterative algorithm. It returns nonzero if the resultant circle contains all the input points and zero otherwise (i.e. algorithm failed)

C# | Visual Basic | Visual C++ |
Public Shared Function cvMinEnclosingCircle ( _ points As IntPtr, _ <OutAttribute> ByRef center As PointF, _ <OutAttribute> ByRef radius As Single _ ) As Integer
public: static int cvMinEnclosingCircle( IntPtr points, [OutAttribute] PointF% center, [OutAttribute] float% radius )

Nonzero if the resultant circle contains all the input points and zero otherwise (i.e. algorithm failed)