CGAL / cgal

The public CGAL repository, see the README below
https://github.com/CGAL/cgal#readme
Other
4.68k stars 1.35k forks source link

Polygon_repair:: Use move semantics; Add Polygon_2::reserve() #8143

Closed afabri closed 2 months ago

afabri commented 2 months ago

Summary of Changes

Avoid copying sequences of points. Also add a function to Polygon_2 that calls reserve() in case it is offered by the underlying container.

Release Management

sloriot commented 2 months ago

Successfully tested in CGAL-6.0-Ic-228