From 7ac768651f29e35bfefa35f3534636485af79733 Mon Sep 17 00:00:00 2001 From: Ovidiu Parvu Date: Sun, 15 Sep 2013 22:40:57 +0100 Subject: [PATCH] Added the signature cvMinEnclosingTriangle (C version) to the imgproc_c.h header --- modules/imgproc/include/opencv2/imgproc/imgproc_c.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/imgproc/include/opencv2/imgproc/imgproc_c.h b/modules/imgproc/include/opencv2/imgproc/imgproc_c.h index 4e2dc7142a..f691e3eeb9 100644 --- a/modules/imgproc/include/opencv2/imgproc/imgproc_c.h +++ b/modules/imgproc/include/opencv2/imgproc/imgproc_c.h @@ -377,6 +377,10 @@ CVAPI(double) cvContourArea( const CvArr* contour, CVAPI(CvBox2D) cvMinAreaRect2( const CvArr* points, CvMemStorage* storage CV_DEFAULT(NULL)); +/* Finds minimum enclosing triangle for a set of points */ +CVAPI(int) cvMinEnclosingTriangle( const CvArr* points, + CvArr* triangle, double* area ); + /* Finds minimum enclosing circle for a set of points */ CVAPI(int) cvMinEnclosingCircle( const CvArr* points, CvPoint2D32f* center, float* radius );