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:
@@ -44,9 +44,8 @@ int main( int /*argc*/, char** /*argv*/ )
|
||||
|
||||
// Find the minimum area enclosing triangle
|
||||
vector<Point2f> triangle;
|
||||
double area;
|
||||
|
||||
minEnclosingTriangle(points, triangle, area);
|
||||
minEnclosingTriangle(points, triangle);
|
||||
|
||||
// Find the minimum area enclosing circle
|
||||
Point2f center, vtx[4];
|
||||
|
Reference in New Issue
Block a user