Check if a shape specified by the set of points fits a convex polygon specified by the set of corners.

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

Syntax

C#
public bool CheckIfPointsFitShape(
	List<IntPoint> edgePoints,
	List<IntPoint> corners
)

Parameters

edgePoints
Type: System.Collections.Generic..::.List<(Of <(IntPoint>)>)
Shape's points to check.
corners
Type: System.Collections.Generic..::.List<(Of <(IntPoint>)>)
Corners of convex polygon to check fitting into.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the specified shape fits the specified convex polygon or falseFalsefalsefalse (False in Visual Basic) otherwise.

Remarks

The method checks if the set of specified points form the same shape as the set of provided corners.

See Also