Click or drag to resize
Accord.NET (logo)

SimpleShapeCheckerIsTriangle Method (ListIntPoint, ListIntPoint)

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

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

Parameters

edgePoints
Type: System.Collections.GenericListIntPoint
Shape's points to check.
corners
Type: System.Collections.GenericListIntPoint
List of triangle corners on successful return.

Return Value

Type: Boolean
Returns if the specified set of points form a triangle shape or otherwise.
See Also