Commit Graph

140 Commits

Author SHA1 Message Date
Jane Tournois 7e3aa09f2a complete move file 2024-12-19 22:03:28 +01:00
Jane Tournois 7e5b9eec9b rename concept with _3 postfix 2024-12-19 12:04:10 +01:00
Laurent Rineau 51b9c4a4b2 cleanup 2024-12-18 18:50:02 +01:00
Laurent Rineau 8e5fab0c98 allow the initial points generator to be non-const
A lot of type erasure was necessary.
2024-12-18 16:45:25 +01:00
Laurent Rineau e2d11a0fc5 allow a range as parameter
The preview implementation enforced the use of a full container.
2024-12-18 13:44:54 +01:00
Laurent Rineau 5c70d487a1 actually allow tuple-like objects, and test that feature 2024-12-17 18:27:13 +01:00
Jane Tournois 75d3d30cb4 fix unused variable warnings and add a const 2024-11-05 10:27:54 +01:00
Jane Tournois c1f2236ee3 Merge remote-tracking branch 'cgal/master' into Mesh-3-rework-make-mesh-point-initialization-2-aclement
# Conflicts:
#	Installation/CHANGES.md
2024-09-30 14:02:09 +02:00
Jane Tournois 88457ee5b3 make initialization logic consistent
and fix doc accordingly

1. protect features
2. insert initial_points() range
3. use initial_points_generator(), if provided
4. use domain.construct_initial_points_object(), if initialization not complete
2024-09-30 11:10:14 +02:00
Jane Tournois 490a6ad589 update doc 2024-09-24 12:22:32 +02:00
Jane Tournois b3a8530dcf use new API with named paremeter initial_points_generator in demo
and fix compilation issues
2024-09-24 11:05:41 +02:00
Jane Tournois 39254bb7db introduce Dummy_initial_points_generator
fix compilation of Mesh_3 tests and examples
2024-09-20 17:17:41 +02:00
Jane Tournois b5740393b2 compilation of examples fixed 2024-09-20 13:58:24 +02:00
Jane Tournois 026850cf97 use initial points vector 2024-09-19 12:24:18 +02:00
Jane Tournois ce9cd9e596 wip PR https://github.com/CGAL/cgal/pull/7798 2024-09-17 18:04:40 +02:00
ange-clement 8575f53583 Doc upgrades + simplified initial_points_generator parameter + fixed memory leaks 2024-05-02 17:29:23 +02:00
Jane Tournois 973f8a1f66 make default edge distance be 0 for consistency with other criteria (instead of DBL_MAX)
rename check_distance_field() to has_distance_field()
2024-04-16 15:32:59 +02:00
ange-clement e558f43e01 Added check_distance_field in Edge criteria so that refine_balls() only check edge distance when necessary. 2024-04-04 12:08:13 +02:00
ange-clement ae0f8f37c9 Finished Merge 2024-03-29 16:49:33 +01:00
ange-clement 5b0f1fc4c2 Merge branch 'master' of https://github.com/CGAL/cgal into Mesh-3-rework-make-mesh-point-initialization-2-aclement 2024-03-29 16:46:24 +01:00
ange-clement e64e28d5ef Made initial_point parameter work with any Range
With doc and example (
 example "mesh_3D_image_with_initial_points.cpp" has been renamed to  "mesh_3D_image_with_image_initialization.cpp")
2024-03-29 16:29:07 +01:00
ange-clement 2c9fb5cd4e doc 2024-03-28 14:14:29 +01:00
ange-clement 70fd9113e7 Merge branch 'master' of https://github.com/CGAL/cgal into Mesh-3-edge-distance-criterium-aclement 2024-03-28 11:36:39 +01:00
Jane Tournois 644d6493eb nearest_power_vertex() does not work on an empty triangulation 2024-03-21 16:33:26 +01:00
Jane Tournois 44e176b88a
unused typedef
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2024-03-21 16:13:30 +01:00
Jane Tournois 80fd8759dd avoid insertion of points inside protecting balls, during initialization step 2024-03-14 16:40:28 +01:00
ange-clement ec7a6ac876 Added meshing parameter : initial_points 2023-11-10 17:06:04 +01:00
ange-clement ca7548b341 Removed example +
Modified example mesh_3D_image_with_custom_initialization to use new API
+ Changed InitialPointsGenerator concept : outputs
std::tuple<Weighted_point_3, int, Index> instead of
std::tuple<Point_3, int, Index>
+ custom initialization will be called even if a feature detector is set
2023-11-07 15:25:50 +01:00
ange-clement ea11f328d6 Doc update +
Changed initial_point_generator default parameter +
Fix previous change from pair to tuple
2023-11-03 17:44:05 +01:00
ange-clement 48a8796248 Corrected changes.md +
Removed word "distancing" +
Renamed distance_bound_field to distance_field +
Commented example output +
Removed use of sizing_field_param for edge_distance +
Renamed SizingField2 to DistanceField +
Added function query_size
2023-11-03 12:38:05 +01:00
ange-clement d7f110e428 Changed InitialPointsGenerator concept :
The points' dimensions are also outputed by the initialisation.
2023-10-31 15:34:42 +01:00
ange-clement ec5539eac3 Revision 1 :
Doc fix +
Deleted default_initial_points_generation() +
Created Construct_initial_points_gray_image.h
2023-10-25 14:57:48 +02:00
ange-clement 932e8a2b34 Fix Doc missing end of description 2023-10-18 12:46:44 +02:00
ange-clement 23af3eb0e2 Updated doc example snippets +
Added group "Mesh Initialization Functions" +
Added concept "InitialPointsGenerator" +
Documented model "Construct_initial_points_labeled_image" +
Updated demo parametters +
Fix reneming errors
2023-10-18 12:38:03 +02:00
ange-clement cb715951d0 Doc changed example +
Doc added parameter +
Doc make_mesh_3 +
Doc Construct_initial_points_labeled_image header +
Remove unwanted duplicata
2023-10-18 10:31:19 +02:00
ange-clement c232929fd1 Fix error when no initial_points_generator 2023-10-17 16:12:48 +02:00
ange-clement 4ee4dff969 Doc change + small fix 2023-10-17 16:02:28 +02:00
ange-clement f2af65444d Use parameters instead of template
Allows easier initialisation
2023-10-17 15:39:42 +02:00
ange-clement 9fc7230e64 Fix CI 2023-10-16 14:04:45 +02:00
ange-clement 0d0c1f3213 Fix CI 2023-10-16 13:26:20 +02:00
ange-clement bec5358ff1 Fix CI 2023-10-16 12:39:04 +02:00
ange-clement 2732dad5e4 Fix CI 2023-10-16 10:17:37 +02:00
ange-clement 3937c5df34 Implemented make_mesh_3 param :
initial_points_generator
2023-10-13 14:51:43 +02:00
Ange Clement 53704ac50f edge_distance changed from a value to a scalar field 2023-06-20 14:40:58 +02:00
Ange Clement d2b8627fba framework for edge_distance criterium 2023-06-19 12:46:17 +02:00
Jane Tournois b76f640a41 Merge branch 'Mesh_3-edge_min_size-GF' into Mesh_3-min_size-jtournois
# Conflicts:
#	Mesh_3/test/Mesh_3/CMakeLists.txt
#	Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Meshing_dialog.ui
2023-04-24 13:59:48 +02:00
Laurent Rineau 281de129ed Merge pull request #7280 from janetournois/Mesh_3-improve_initialization-jtournois
Mesh_3 - improve initialization when features are inserted
2023-03-31 11:10:54 +02:00
Jane Tournois 818b08f331 add edge_min_size
to constrain protecting balls placement to insert no feature smaller
than the given bound
2023-03-09 15:57:08 +01:00
Jane Tournois de1369d8ec improve initialization when features are inserted
when the c3t3 contains no cells after initialization by features,
it may be needed to add more points for initialization, even when
the nb of facets in complex is > 0
It is the case for example when facets cover a very small part, or
too few connected components of the domain
2023-02-21 09:28:48 +00:00
Sébastien Loriot e249f59f38 add missing const 2023-02-20 14:38:38 +01:00