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.0.1.0 (2.0.1.0)

Syntax

C#
public static int cvCheckContourConvexity(
	IntPtr contour
)
Visual Basic (Declaration)
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

true if convex

See Also