CvMinEnclosingCircle Method (IEnumerableCvPoint2D32f, CvPoint2D32f, Single) OpenCvSharp Class Library
Finds circumscribed rectangle of minimal area for given 2D point set

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static bool MinEnclosingCircle(
	IEnumerable<CvPoint2D32f> points,
	out CvPoint2D32f center,
	out float radius
)

Parameters

points
Type: System.Collections.GenericIEnumerableCvPoint2D32f
Sequence or array of 2D points.
center
Type: OpenCvSharpCvPoint2D32f
Output parameter. The center of the enclosing circle.
radius
Type: SystemSingle
Output parameter. The radius of the enclosing circle.

Return Value

Type: Boolean
The function cvMinEnclosingCircle finds the minimal circumscribed circle for 2D point set using iterative algorithm. It returns true if the resultant circle contains all the input points and false otherwise (i.e. algorithm failed).
See Also

Reference