I am trying to project a Polyhedron on the xy plane with CGAL, which should result in a (2D) polygon.
I wonder, if there is an elegant way to achieve it?
Of course, I can iterate over all surfaces and build 2D-Segments from the 3D-Segments by throwing away the z coordinate and then reassemble the polgon cycles.
But I feel, that somehow using
Projection_traits_xy_3 it should be possible to solve that task more elegant, however, I couldn't find a way. Is this possible?