Commit Graph

3045 Commits

Author SHA1 Message Date
Jane Tournois 7fa2db8dfc add helper function minimal_weight() 2023-12-14 19:01:57 +01:00
Jane Tournois 85b8da120d constify more 2023-12-14 15:36:57 +01:00
Jane Tournois 54677b388c set default minimal_size_ to -1 and add helper function to check if it is set 2023-12-14 15:35:06 +01:00
Laurent Rineau ef881a1aa9 Merge pull request #7844 from janetournois/Mesh_3-remove_unused_criteria-GF
Mesh_3 - `Mesh_criteria_3` cleaning
2023-12-11 13:56:26 +01:00
Mael Rouxel-Labbé dc38d13066 Fix a few performance data exports 2023-12-07 20:56:52 +01:00
Mael Rouxel-Labbé d715a658a0 Minor indentation fix 2023-12-07 20:56:30 +01:00
Mael Rouxel-Labbé 024651390f Add the number of threads to the conccurent mesher config 2023-12-07 20:55:15 +01:00
Mael Rouxel-Labbé 27633e2f44 Fix doc 2023-12-07 10:13:58 +01:00
Jane Tournois 850c99e0f2 make data match exactly at vertices
with no degenerate border edges
2023-11-17 16:18:04 +01:00
Laurent Rineau 7b8c90ec3b
Merge branch 'master' into Mesh-3-edge-distance-criterium-aclement 2023-11-16 14:53:25 +01:00
Jane Tournois e4e13e2f57 do not check the graph of features after protection when minimal_size is set
when minimal_size is set, the graph of features is likely to be invalid

or at least inconsistent with the input graph
so checking its topology does not make any sense and could lead to
- assertions failing in debug mode,
- hanging in release mode
2023-11-14 12:28:18 +01:00
ange-clement 0450b2f0bb Updated example explication +
Deleted commented code and added const refs
2023-11-13 13:45:38 +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
Jane Tournois 5b6bf12745 use get_parameter_reference for all the possibly-field parameters 2023-11-02 14:39:34 +01:00
Jane Tournois 093660ce43 remove unused and undocumented criterion cell_radius_edge 2023-11-02 14:27:31 +01:00
Jane Tournois 361c5c5009 remove all the _sizing_field parameters that have never been used
they were removed from the documentation before being merged in the master branch
see SVN commit
1614a89e32
2023-11-02 14:13:07 +01:00
Jane Tournois f76161be3c store squared min_size instead of min_size 2023-11-02 09:27:27 +01:00
Jane Tournois 99c0df22ad Merge remote-tracking branch 'cgal/master' into Mesh_3-manifold_and_min_size-jtournois
# Conflicts:
#	Polyhedron/demo/Polyhedron/resources/shader_c3t3.frag
2023-10-24 12:55:09 +02:00
ange-clement 00514ec7dc Merge branch 'master' of https://github.com/CGAL/cgal into Mesh-3-edge-distance-criterium-aclement 2023-10-10 15:06:02 +02:00
Jane Tournois 2c0e04c4fd replace min_facet_size by squared version to avoid multiple redundant computations 2023-10-06 09:44:53 +02:00
Jane Tournois d46efd537f avoid computing twice the biggest incident facet 2023-10-02 16:59:42 +02:00
Jane Tournois 05b80838e7 check min_size before inserting facets or edges in refinement queues 2023-10-02 16:31:29 +02:00
Jane Tournois e8651b8a58 add min_radius_bound member and accessor 2023-10-02 16:30:21 +02:00
Jane Tournois 1d79ab5023 rename B_ 2023-10-02 16:28:04 +02:00
Jane Tournois eacc3ab4d1 add missing typedef 2023-10-02 12:13:54 +02:00
ange-clement 8cca7b57e3 Updated doc : Concept MeshCriteria_3, and CamelCase for template in CGAL::Mesh_edge_criteria_3 2023-09-28 10:14:30 +02:00
Laurent Rineau 1d29a75c9a iformat/oformat are in CGAL::IO
The calls without the `IO::` namespace are deprecated.
2023-09-25 16:09:41 +02:00
Sébastien Loriot 8700394122 boost::mpl::if_ -> std::conditional 2023-09-24 22:57:20 +02:00
Laurent Rineau 3cf928a4c7 Merge pull request #7704 from sloriot/Mesh_3-PCMD_in_domain_bug
Fix Is_in_domain potential infinite loop

# Conflicts:
#	Mesh_3/include/CGAL/Polyhedral_complex_mesh_domain_3.h
2023-09-13 16:16:23 +02:00
Sebastien Loriot b2c6cec8af
A missing ref
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-09-12 11:08:21 +02:00
ange-clement 96b3fbefad Updated CHANGES.md and small fixes 2023-09-08 11:43:34 +02:00
ange-clement f6de72af39 Fixed default construction for mesh_edge_criteria and protect_edges_sizing_field 2023-09-07 17:40:00 +02:00
Sébastien Loriot ed521e03b0 rename macro 2023-09-07 17:33:41 +02:00
Sébastien Loriot dd383da307 avoid an infinite loop in the case the source of the ray in on the face 2023-09-07 17:33:17 +02:00
ange-clement 25e9b67852 Removed white space 2023-09-07 11:37:07 +02:00
ange-clement a9d028e15f fixed merge problem 2023-09-07 11:08:04 +02:00
ange-clement a23c9d44ca Merge branch 'master' into Mesh-3-edge-distance-criterium-aclement 2023-09-07 10:54:10 +02:00
Laurent Rineau 46923342ad Merge pull request #7576 from albert-github/feature/issue_7395
issue #7395 Improvement of layout of model relations

# Conflicts:
#	Kernel_23/doc/Kernel_23/CGAL/Vector_2.h
2023-09-07 10:48:34 +02:00
ange-clement c73da52cf4 Rework of Mesh_edge_criteria's constructor.
Now using same principle as Mesh_facet_criteria.
2023-09-06 10:41:31 +02:00
ange-clement c0e92057ee Created dummy NoDistanceFunction.
DistanceFunction can now be ommited,
even if the SizingFunction is not default-constructible.
2023-09-05 13:53:28 +02:00
ange-clement 6b1627d539 fixed typos 2023-09-05 10:55:11 +02:00
Laurent Rineau f499b63534
Update features_detection.h 2023-08-28 14:07:24 +02:00
albert-github 93001308f4 Merge branch 'master' into feature/issue_7395
# Conflicts:
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementPointLocation_2.h
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementVerticalRayShoot_2.h
2023-08-18 11:10:42 +02:00
Sébastien Loriot 28f904f4e2 Merge remote-tracking branch 'cgal/master' 2023-08-15 07:16:14 +02:00
Sébastien Loriot eada3ee8ca Merge branch 'master' into 'sloriot/CGAL-using_c++17_stl' 2023-08-14 14:19:25 +02:00
Sébastien Loriot ed71cfdaa0 Merge pull request #7445 from afabri/Mesh_3-doc_fixes-GF
Mesh_3: Improvements of the Documentation
2023-08-14 14:06:16 +02:00
Andreas Fabri 959443253d Remove deprecated file 2023-07-28 12:41:45 +01:00
Andreas Fabri b843f0b2a8 CamelCase 2023-07-28 11:35:42 +01:00
Andreas Fabri de85effe56
Update Mesh_3/include/CGAL/Mesh_polyhedron_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-28 11:54:26 +02:00
Andreas Fabri 50f47a3f57
Update Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-28 11:51:23 +02:00
Andreas Fabri 2ef1bb4e48
Update Mesh_3/include/CGAL/Mesh_polyhedron_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-28 11:50:57 +02:00
Andreas Fabri 913e8848c6
Update Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-28 11:50:18 +02:00
Andreas Fabri 626f0578f7
Update Mesh_3/include/CGAL/Mesh_domain_with_polyline_features_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-28 11:48:33 +02:00
Andreas Fabri c70d8670b3
Update Mesh_3/include/CGAL/Mesh_domain_with_polyline_features_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-28 11:47:50 +02:00
Andreas Fabri c42aa48949
Update Mesh_3/include/CGAL/Mesh_domain_with_polyline_features_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-28 11:47:16 +02:00
Andreas Fabri da5b2ae862
Update Mesh_3/include/CGAL/Mesh_domain_with_polyline_features_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-28 11:46:33 +02:00
Andreas Fabri 41ae66aedf
Update Mesh_3/include/CGAL/Implicit_to_labeling_function_wrapper.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-28 11:42:59 +02:00
Andreas Fabri acdb2d40c5
Update Mesh_3/include/CGAL/Mesh_facet_criteria_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-27 11:58:24 +02:00
Andreas Fabri 5b08570345
Update Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-27 11:57:41 +02:00
Andreas Fabri 21b9f6dfb5
Update Mesh_3/include/CGAL/Mesh_cell_criteria_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-27 11:57:09 +02:00
Andreas Fabri 1963697d84
Update Mesh_3/include/CGAL/Mesh_cell_criteria_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-27 11:56:32 +02:00
Andreas Fabri 7bc4b30501
Update Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-27 11:52:13 +02:00
Andreas Fabri 54fbebf2b6
Update Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-27 11:51:38 +02:00
Andreas Fabri 7f20c6b773
Update Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-27 11:51:13 +02:00
Laurent Rineau a746283359 Merge pull request #7552 from MaelRL/Mesh_3-PMD_init_bug_fixes-GF
Fix initialisation issues in Mesh_3
2023-07-26 17:34:33 +02:00
Laurent Rineau 820b1c5609 Merge pull request #7552 from MaelRL/Mesh_3-PMD_init_bug_fixes-GF
Fix initialisation issues in Mesh_3
2023-07-26 17:30:40 +02:00
Mael Rouxel-Labbé 1f258bc84d Fix initialization failing if the ray's source is on the domain
This is a band aid fix, a proper fix is to rework the full initilization
pipeline. This is the purpose of the following pull request:
https://github.com/CGAL/cgal/pull/7606
2023-07-19 12:46:13 +02:00
Mael Rouxel-Labbé 0d3458504b Add some debug code 2023-07-12 10:47:17 +02:00
Mael Rouxel-Labbé 49bb14b6d2 Fix not rescaling some balls in 2D protection with non-zero minimal weight
The code break'd but did not restart if a special ball was encountered
2023-07-12 10:03:14 +02:00
Mael Rouxel-Labbé 6f65ecf246 Check the cached Boolean before doing more complex geometrical checks 2023-07-12 09:44:03 +02:00
albert-github 301728a8a9 issue #7395 Improvement of layout of model relations
- Completed the cgalModels part
2023-07-09 12:43:36 +02:00
Sébastien Loriot b66afab814 Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD 2023-07-05 11:29:35 +02:00
Sébastien Loriot 68813c5c63 Merge pull request #7403 from sloriot/CGAL-replace_boost_by_std
Replace boost by std
2023-07-05 11:08:36 +02:00
Sébastien Loriot 62f22e9a6c use oformat for optional 2023-06-29 10:43:56 +02:00
Mael Rouxel-Labbé 39c0a9fb33 Fix returning no intersection for a ray with spawn in a triangle 2023-06-26 17:15:49 +02:00
Mael Rouxel-Labbé 308ee5c967 Minor debug readability improvements 2023-06-26 17:10:58 +02:00
Mael Rouxel-Labbé fbecb18f49 Fix bad comparison 2023-06-26 17:10:06 +02:00
Andreas Fabri 28dbd6b8ee allow -> enable 2023-06-24 10:37:39 +01:00
Andreas Fabri 0f4f903f60 merge cgal/master 2023-06-24 10:24:15 +01:00
Ange Clement f3f1069ee7 Added example to the documentation + Corrected edge_distance documentation 2023-06-23 10:34:32 +02:00
Sébastien Loriot dfc386d65b Merge branch 'master' into HEAD 2023-06-22 14:05:45 +02:00
Laurent Rineau 4afd96e95d Merge pull request #7527 from janetournois/Mesh_3-fix_weighted_image_oracle-jtournois
Mesh_3 for weighted images - fix translated labeled image case
2023-06-22 11:59:29 +02:00
Laurent Rineau 63398aa5a0 Merge pull request #7527 from janetournois/Mesh_3-fix_weighted_image_oracle-jtournois
Mesh_3 for weighted images - fix translated labeled image case
2023-06-22 11:58:45 +02:00
Ange Clement d8f9ea3162 Clean whitespace in Protect_edges_sizing_field.h 2023-06-21 12:28:52 +02:00
Ange Clement 732fe69f83 edge_distance now works on images domains too 2023-06-21 11:36:51 +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 f5b1deb12d Removed non necessary check 2023-06-20 09:58:02 +02:00
Ange Clement 5e6b4b9db6 First result with method that look at geodesic distance of the midpoint. Only works for domain Polyhedral_mesh_domain_with_features_3 2023-06-20 09:26:16 +02:00
Sébastien Loriot 0ee31a5d4f remove extra parenthesis 2023-06-19 19:17:49 +02:00
Ange Clement d2b8627fba framework for edge_distance criterium 2023-06-19 12:46:17 +02:00
Sébastien Loriot f936680600 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 18:48:39 +02:00
Jane Tournois c9b04ebc97 apply input image translation to image with weights wrapper 2023-06-15 15:05:39 +02:00
Sébastien Loriot bdfa15c08f fixes after merge 2023-06-15 11:34:14 +02:00
Sébastien Loriot 9cdfe70abb Merge remote-tracking branch 'sloriot/CGAL-toward_6.0' 2023-06-15 11:34:09 +02:00
Sébastien Loriot bbc48b2c7e more fixes
use Mesh_3::internal::get_index
std::dynamic_point_cast
std::get_if
2023-06-15 10:57:10 +02:00
Sébastien Loriot 56499e017d do not use API that did not go into the standard 2023-06-15 10:57:10 +02:00
Sébastien Loriot 9a0bdb5d96 boost::variant ---> std::variant 2023-06-15 10:57:10 +02:00
Sébastien Loriot 604dcdc435 boost::optional => std::optional 2023-06-15 10:57:09 +02:00
Sébastien Loriot bbc4d08ee0 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 10:47:07 +02:00
Sébastien Loriot c8a88b9014 remove CGAL_static_assertion* 2023-06-15 10:42:10 +02:00