Changed the signature of the minEnclosingTriangle function such that it returns the area automatically. Moreover, the overloaded function was no longer required so it was removed. Sample code, documentation and unit tests were updated correspondingly.
This commit is contained in:
@@ -1451,13 +1451,8 @@ 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 );
|
||||
//! computes the minimal enclosing triangle for a set of points and returns its area
|
||||
CV_EXPORTS_W double minEnclosingTriangle( InputArray points, CV_OUT OutputArray triangle );
|
||||
|
||||
//! matches two contours using one of the available algorithms
|
||||
CV_EXPORTS_W double matchShapes( InputArray contour1, InputArray contour2,
|
||||
|
Reference in New Issue
Block a user