http://www.emgu.com
Tests whether the input contour is convex or not. The contour must be simple, i.e. without self-intersections.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static int cvCheckContourConvexity(
	IntPtr contour
)
Visual Basic
Public Shared Function cvCheckContourConvexity ( _
	contour As IntPtr _
) As Integer
Visual C++
public:
static int cvCheckContourConvexity(
	IntPtr contour
)

Parameters

contour
Type: System..::..IntPtr
Tested contour (sequence or array of points).

Return Value

-1 if input is not valid, 1 if convex, 0 otherwise

See Also