cgal icon indicating copy to clipboard operation
cgal copied to clipboard

Mesh_3: Save/load c3t3 objects correctly

Open lrineau opened this issue 8 years ago • 6 comments

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

  • CGAL version: CGAL-4.11

Cc: @sloriot

lrineau avatar Aug 22 '17 12:08 lrineau

Shall this issue be handled by @maxGimeno ?

sloriot avatar Apr 01 '19 12:04 sloriot

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

lrineau avatar Apr 02 '19 11:04 lrineau

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

sloriot avatar Apr 02 '19 19:04 sloriot

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.

maxGimeno avatar Apr 03 '19 07:04 maxGimeno

related to issue #7780

janetournois avatar Oct 10 '23 13:10 janetournois

PR #7821 solves this issue

janetournois avatar Oct 26 '23 13:10 janetournois