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.10.1935 (2.4.10.1935)

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
)
F#
static member cvCheckContourConvexity : 
        contour : IntPtr -> int 

Parameters

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

Return Value

Type: Int32
-1 if input is not valid, 1 if convex, 0 otherwise

See Also