Is there a function which can decouple self-intersect polygon?
using namespace boost::polygon; polygon_data<int> poly; std::vector<point_data<int>> points; points.push_back(point_data<int>(10, 6)); points.push_back(point_data<int>(17, 6)); points.push_back(point_data<int>(15, 9)); points.push_back(point_data<int>(13, 6)); points.push_back(point_data<int>(20, 6)); points.push_back(point_data<int>(20, 11)); points.push_back(point_data<int>(10, 11)); set_points(poly, points.begin(), points.end()); Is there a function can decouple “poly” in boost? I mean I expect to get a polygon with a hole. c++ boost boost-polygon New contributor OOOliver is a new contributor to […]