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)

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static int cvMinEnclosingCircle(
	IntPtr points,
	out PointF center,
	out float radius
)
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
)

Parameters

points
IntPtr
Sequence or array of 2D points
center
PointF%
Output parameter. The center of the enclosing circle
radius
Single%
Output parameter. The radius of the enclosing circle.

Return Value

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

See Also