|
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
)
Public Function CheckIfPointsFitShape (
edgePoints As List(Of IntPoint),
corners As List(Of IntPoint)
) As Boolean
Request Example
View SourceParameters
- 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:
BooleanReturns
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