Click or drag to resize
Accord.NET (logo)

SimpleShapeCheckerCheckIfPointsFitShape Method

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

Namespace:  Accord.Math.Geometry
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public bool CheckIfPointsFitShape(
	List<IntPoint> edgePoints,
	List<IntPoint> corners
)
Request Example View Source

Parameters

edgePoints
Type: System.Collections.GenericListIntPoint
Shape's points to check.
corners
Type: System.Collections.GenericListIntPoint
Corners of convex polygon to check fitting into.

Return Value

Type: Boolean
Returns if the specified shape fits the specified convex polygon or otherwise.
Remarks

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

See Also