mirror of https://github.com/CGAL/cgal
## 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 |
||
|---|---|---|
| .. | ||
| IO | ||
| METIS | ||
| internal | ||
| Dual.h | ||
| Euler_operations.h | ||
| Face_filtered_graph.h | ||
| Graph_with_descriptor_with_graph.h | ||
| Graph_with_descriptor_with_graph_fwd.h | ||
| Seam_mesh.h | ||
| alpha_expansion_graphcut.h | ||
| backward_compatibility_functions.h | ||
| breadth_first_search.h | ||
| copy_face_graph.h | ||
| dijkstra_shortest_path.h | ||
| generators.h | ||
| graph_concepts.h | ||
| graph_traits_OpenMesh.h | ||
| graph_traits_PolyMesh_ArrayKernelT.h | ||
| graph_traits_Seam_mesh.h | ||
| graph_traits_TriMesh_ArrayKernelT.h | ||
| graph_traits_inheritance_macros.h | ||
| halfedge_graph_traits.h | ||
| helpers.h | ||
| io.h | ||
| iterator.h | ||
| kruskal_min_spanning_tree.h | ||
| named_params_helper.h | ||
| partition.h | ||
| prim_minimum_spanning_tree.h | ||
| properties.h | ||
| properties_OpenMesh.h | ||
| properties_PolyMesh_ArrayKernelT.h | ||
| properties_Seam_mesh.h | ||
| properties_TriMesh_ArrayKernelT.h | ||
| property_maps.h | ||
| selection.h | ||
| split_graph_into_polylines.h | ||
| visitor.h | ||