#include #include std::vector> simplify_hull(std::vector hull); std::vector> simplify_hull(std::vector hull, double mindistance); bool similar_fit(cv::Point a, cv::Point b, cv::Point newpoint); bool similar_fit(cv::Point a, cv::Point b, cv::Point newpoint, float tolerance_degrees);