Overloaded the minEnclosingTriangle function such that there is an alternative function with the same name which does not require the output parameter ``area''.
Changed the sample source file minarea.cpp to use the overloaded version of the function. Updated some comments in the min_enclosing_triangle.cpp source file.
This commit is contained in:
@@ -1451,6 +1451,10 @@ CV_EXPORTS_W void boxPoints(RotatedRect box, OutputArray points);
|
||||
CV_EXPORTS_W void minEnclosingCircle( InputArray points,
|
||||
CV_OUT Point2f& center, CV_OUT float& radius );
|
||||
|
||||
//! computes the minimal enclosing triangle for a set of points
|
||||
CV_EXPORTS_W void minEnclosingTriangle( InputArray points,
|
||||
CV_OUT OutputArray triangle );
|
||||
|
||||
//! computes the minimal enclosing triangle for a set of points
|
||||
CV_EXPORTS_W void minEnclosingTriangle( InputArray points,
|
||||
CV_OUT OutputArray triangle, CV_OUT double& area );
|
||||
|
Reference in New Issue
Block a user