Check if the specified set of points form a circle shape.

Namespace:  AForge.Math.Geometry
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public bool IsCircle(
	List<IntPoint> edgePoints
)

Parameters

edgePoints
Type: System.Collections.Generic..::.List<(Of <(IntPoint>)>)
Shape's points to check.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the specified set of points form a circle shape or falseFalsefalsefalse (False in Visual Basic) otherwise.

Remarks

Note:Circle shape must contain at least 8 points to be recognized. The method returns falseFalsefalsefalse (False in Visual Basic) always, of number of points in the specified shape is less than 8.

See Also