Check if the specified set of points form a quadrilateral 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 IsQuadrilateral(
	List<IntPoint> edgePoints,
	out 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>)>) %
List of quadrilateral corners on successful return.

Return Value

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

See Also