cgal/BGL/include/CGAL/boost/graph/IO
Sebastien Loriot dfc5fb5065
IO: write_PLY() for Epeck (#7874)
## 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`](https://doc.cgal.org/latest/Property_map/structCGAL_1_1Cartesian__converter__property__map.html).~~

Moving back to the previous proposal: hardcode some to_double and
to_float casts such that we meet the requirements of the file format,
whatever the input.

As the problem is the same for the vertex normals we add a named
parameter `vertex_normal_map`.

### Todo
- [x] Fix the generic function `write_polygon_mesh()`. Currently it is
fixed for `Surface_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
* upcoming integration, update #9072 and test it
2025-11-13 09:38:55 +01:00
..
3MF.h Cleanup as suggested in Issue 8399 2024-09-17 09:51:55 +01:00
GOCAD.h more workarounds for MSVC 2015 2022-08-10 23:50:39 +02:00
Generic_facegraph_builder.h Also dump can_add_face output when a face fails to be added 2025-10-02 13:35:48 +02:00
Generic_facegraph_printer.h Merge parameters::Is_default and parameters::is_default_parameter 2022-04-20 16:01:02 +02:00
INP.h rename macro since Named_function_parameter is part of STL_Extension 2022-01-13 14:43:34 +01:00
OBJ.h more workarounds for MSVC 2015 2022-08-10 23:50:39 +02:00
OFF.h CGAL: Remove some deprecated functions 2025-08-05 16:13:44 +01:00
OM.h in OpenMesh, the outgoing halfedge of a boundary vertex must be the boundary halfedge 2024-12-03 10:48:57 +01:00
PLY.h Deal with generic version 2025-10-30 11:45:28 +01:00
STL.h Merge remote-tracking branch 'cgal/master' into PMP-Remove_degen_faces-no-clear-GF 2023-07-19 13:55:35 +02:00
Tds_2_off.h CGAL: No longer per package assertions 2022-09-23 12:49:40 +01:00
VTK.h CGAL: Remove some deprecated functions 2025-08-05 16:13:44 +01:00
WRL.h CGAL: Remove some deprecated functions 2025-08-05 16:13:44 +01:00
polygon_mesh_io.h merge master 2024-04-03 14:09:39 +01:00