IO: write_PLY() for Epeck
Summary of Changes
As reported in #7868 the function CGAL::IO::write_PLY() used in binary mode does not correctly write the coordinates if the points are from a kernel with exact constructions.
~~This PR applies `to_double()" to the coordinates.~~
After a discussion with @MaelRL we decided that the user is in charge to pass a vertex_point_map as named parameter that does the conversion. This is straightforward as we offer the Cartesian_converter_property_map.
As the problem is the same for the vertex normals we add a named parameter vertex_normal_map.
Todo
- [ ] Fix the generic function
write_polygon_mesh(). Currently it is fixed forSurface_mesh
Release Management
- Affected package(s): Stream_support
- Issue(s) solved (if any): fix #7868 and fix https://github.com/CGAL/cgal/issues/7327
- License and copyright ownership: unchanged
BGL tests failing in CGAL-6.0-Ic-112
Successfully tested in CGAL-6.0-Ic-116
@afabri There is still an undone TODO in the top message of this other PR. Do you want this PR merged as it is?
@afabri There is still an undone TODO in the top message of this other PR. Do you want this PR merged as it is?
No, I still want to fix the generic code.
@afabri any chance you can fix that today (if inclusion in 5.6.1 is needed)?
@afabri, this PR was marked tested 2 month ago and is still waiting for a TODO. Maybe you want to open an issue instead and integrate the PR.
Ping @afabri
Ping @afabri
Will be treated somewhere in the future.
This pull-request was previously marked with the label Tested, but has been modified with new commits. That label has been removed.
/build:v0
The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/7874/v0/Manual/index.html