Small optimization into its_convex_hull_2d_above()

This commit is contained in:
enricoturri1966 2023-06-01 14:49:58 +02:00
parent 071eb3d393
commit aea3f1dc86

View File

@ -903,7 +903,7 @@ Polygon its_convex_hull_2d_above(const indexed_triangle_set& its, const Transfor
chs.push_back(collect_mesh_projection_points_above(range)); chs.push_back(collect_mesh_projection_points_above(range));
}); });
const Polygons polygons(chs.begin(), chs.end()); const Polygons polygons(std::make_move_iterator(chs.begin()), std::make_move_iterator(chs.end()));
return Geometry::convex_hull(polygons); return Geometry::convex_hull(polygons);
} }