Cv2IsContourConvex Method (IEnumerablePoint) OpenCvSharp Class Library
returns true if the contour is convex. Does not support contours with self-intersection

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static bool IsContourConvex(
	IEnumerable<Point> contour
)

Parameters

contour
Type: System.Collections.GenericIEnumerablePoint
Input vector of 2D points

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.IsContourConvex(System.Collections.Generic.IEnumerable{OpenCvSharp.CPlusPlus.Point})"]

See Also

Reference