mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 04:49:58 +00:00
arrange polies: lower iou to 45%
This commit is contained in:
@@ -3399,7 +3399,7 @@ void arrange_cgal_polygons(svgfill::arrange_polygon_settings settings, const std
|
|||||||
|
|
||||||
auto it = std::min_element(ious.begin(), ious.end());
|
auto it = std::min_element(ious.begin(), ious.end());
|
||||||
|
|
||||||
if (it != ious.end() && (*it < 0.5)) {
|
if (it != ious.end() && (*it < 0.45)) {
|
||||||
std::cerr << "Significant difference between cleaned and original arrangement, using original for topology reconstruction: " << *it << std::endl;
|
std::cerr << "Significant difference between cleaned and original arrangement, using original for topology reconstruction: " << *it << std::endl;
|
||||||
fallback_to_line_cleaning_algo_1 = true;
|
fallback_to_line_cleaning_algo_1 = true;
|
||||||
apply_line_cleaning_algo_1();
|
apply_line_cleaning_algo_1();
|
||||||
|
|||||||
Reference in New Issue
Block a user