Click or drag to resize

Cv2IsContourConvex Method (IEnumerablePoint2f)

returns true if the contour is convex. D oes not support contours with self-intersection

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static bool IsContourConvex(
	IEnumerable<Point2f> contour
)

Parameters

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

Return Value

Type: Boolean
See Also