Cv2IsContourConvex Method (InputArray) 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(
	InputArray contour
)

Parameters

contour
Type: OpenCvSharp.CPlusPlusInputArray
Input vector of 2D points

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.IsContourConvex(OpenCvSharp.CPlusPlus.InputArray)"]

See Also

Reference