CGAL / cgal

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

Mesh_3: provide an API to allow custom intialization of a triangulation #922

Open lrineau opened 8 years ago

lrineau commented 8 years ago

For the moment, the only documented way to setup the initialization of a C3t3 is though the Construct_initial_points functor of the domain, and that is not really documented correctly.

We should document a way to insert custom points in the mesh, so that user can complement, or skip, that initialization.

Relates to #921.

Cc: @afabri @janetournois @cjamin

afabri commented 7 years ago

LR: Example of API:

c3t3.insert_initial_point(p, 2, patch_index);

that does:

auto v = tr.insert(p);
v->set_in_dimension(2);
v->set_index(patch_index_of_surface);
janetournois commented 1 year ago

This issue is also related to #7469

We should discuss a global solution for all types of domains cc @ange-clement @lrineau