CGAL / cgal

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

Mesh_3: Save/load c3t3 objects correctly #2359

Open lrineau opened 7 years ago

lrineau commented 7 years ago

Issue Details

For the moment, the I/O of C3t3 objects only save/load the information of the TDS_3, and the I/O of C3t3::Triangulation::Vertex and C3t3::Triangulation::Cell ensures that most of the information of the C3t3 is saved and restored.

But a C3t3 object has data that is not stored in the TDS. Some of it can be retrieved after a load by a call to the undocumented method c3t3.rescan_after_load_of_triangulation(), but the c3t3.is_in_complex(Edge) information cannot be retrieved. It should be stored in the file, and loaded from it.

This issue will require a solution to #861 first.

Environment

Cc: @sloriot

sloriot commented 5 years ago

Shall this issue be handled by @maxGimeno ?

lrineau commented 5 years ago

The issue pointed by #861 is a real blocker for this one.

sloriot commented 5 years ago

To me it seems this issue has a proposal solution :)

maxGimeno commented 5 years ago

Indeed, you seem to have agreed with Sebastien's proposal to add new functions to complete the IO. I could probably take care of both issues.

janetournois commented 11 months ago

related to issue #7780

janetournois commented 10 months ago

PR #7821 solves this issue