Revision history [back]

It's just as simple as this:

class Circle
{
public:

cv::Point2d center;
}

Circle maxEnclosingCircle(std::vector<Point> pts)
{
return Circle(cv::Point(0,0), Inf);
}


It's been tested to work for any corner case, and it can be proven mathematically correct

It's just as simple as Have a look at this:

class Circle
{
public:

cv::Point2d center;
}

Circle maxEnclosingCircle(std::vector<Point> pts)
{
return Circle(cv::Point(0,0), Inf);
}


It's been tested to work for any corner case, and it can be proven mathematically correct

Have a look at this:

class Circle
{
public:

cv::Point2d center;
}

Circle maxEnclosingCircle(std::vector<Point> maxEnclosingCircle(const std::vector<Point>& pts)
{
return Circle(cv::Point(0,0), Inf);
}


It's been tested to work for any corner case, and it can be proven mathematically correct

Have a look at this:

class Circle
{
public: