Commit Graph

4474 Commits

Author SHA1 Message Date
Jane Tournois f76161be3c store squared min_size instead of min_size 2023-11-02 09:27:27 +01:00
Laurent Rineau 51627e3505 Merge remote-tracking branch 'cgal/master' into CGAL-Qt6-GF
# Conflicts:
#	GraphicsView/demo/Bounding_volumes/CMakeLists.txt
2023-11-01 20:59:44 +01:00
Jane Tournois 3204b527e8 reduce perturb_mesh_3 angle bound to fit timeout on more platforms 2023-10-30 12:11:24 +01:00
Jane Tournois 4bbbc482cf reduce the target dihedral angle to fit in the testsuite timeout 2023-10-24 17:21:29 +02: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
Laurent Rineau 98a6bf7934 Merge pull request #7744 from lrineau/CGAl-fix_IO_oformat_iformat-GF
fix : iformat/oformat are in CGAL::IO
2023-10-16 11:13:21 +02:00
albert-github 6f560fcdce issue #7767 Problem with the documenation of Mesh_3
removing files that were removed by #7445 but reintroduced by #7395
2023-10-09 16:03:49 +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 7dc1f889e0 wip adding a test 2023-10-06 09:44:04 +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
Laurent Rineau ebdfddbf5b add a link to TBB 2023-09-25 16:30:47 +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 28632f21fc Merge branch 'master' into CGAL-Qt6-GF
# Conflicts:
#	Installation/CHANGES.md
2023-09-14 17:40:05 +02:00
Laurent Rineau b05e1e9e46 Remove UseCGAL.cmake
and our old CMake macros `use_lib` and `use_component`.
2023-09-14 17:32:55 +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
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
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
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
Sébastien Loriot 61874d15e1 do not use deprecated code 2023-08-09 08:36:44 +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 ba0172a544
Update Mesh_3/doc/Mesh_3/PackageDescription.txt
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-27 11:59:30 +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
Andreas Fabri 81bbc3e0db
Update Mesh_3/doc/Mesh_3/Mesh_3.txt
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-27 11:50:23 +02:00
Andreas Fabri fb3680f8f5
Update Mesh_3/doc/Mesh_3/Mesh_3.txt
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-07-27 11:48:55 +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
albert-github ad41766454 issue #7395 Improvement of layout of model relations
Corrected `cgalModels` to `cgalHasModes` inside `cgalHasNodelsBegin` / `cgalHasModelsEnd`
2023-07-18 13:23:37 +02:00
albert-github de3ba0f47c Merge remote-tracking branch 'upstream/master' into feature/issue_7395 2023-07-17 10:17:34 +02:00
albert-github 4e5578d469 issue #7395 Improvement of layout of model relations
- based on review
2023-07-15 13:12:15 +02:00
Laurent Rineau d10e9387c2 Merge branch 'master' into CGAL-add_missing_test
# Conflicts:
#	STL_Extension/test/STL_Extension/test_skiplist.cpp
2023-07-12 15:48:42 +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
albert-github ee2a55279d issue #7395 Improvement of layout of model relations
- Completed the cgalHasModel part
- corrected spelling of `Has Model` and `Is Model Of` to `Has model` and `Is model of`
2023-07-06 17:35:34 +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
Andreas Fabri 7a26a6af58 Remove files in test that are also in examples (and compiled there) 2023-06-29 10:14:48 +01:00
Sébastien Loriot 62f22e9a6c use oformat for optional 2023-06-29 10:43:56 +02:00
Sébastien Loriot efd8b2d38b add more missing tests 2023-06-27 11:18:20 +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
Sébastien Loriot dfc386d65b Merge branch 'master' into HEAD 2023-06-22 14:05:45 +02:00
Laurent Rineau 70ac38bed0 Merge pull request #7523 from nmnobre/doc_segmentation
Fix typos in multiple manuals
2023-06-22 11:59:32 +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 6e5070c302 Merge pull request #7523 from nmnobre/doc_segmentation
Fix typos in multiple manuals
2023-06-22 11:58:48 +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
Nuno Miguel Nobre 0469f46105 Fix plurals in a number of manuals 2023-06-20 13:29:44 +01:00
Sébastien Loriot 0ee31a5d4f remove extra parenthesis 2023-06-19 19:17:49 +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
Sébastien Loriot e54408370b remove CGAL_CXX17 macro
... and no longer used macros
2023-06-15 10:41:56 +02:00
Mael Rouxel-Labbé 21358ac490 Clean CMakelists.txt 2023-05-31 17:41:39 +02:00
Mael Rouxel-Labbé 8f0a9dd996 Fix two links 2023-05-31 11:34:37 +02:00
Mael Rouxel-Labbé cab9751987 Merge remote-tracking branch 'cgal/master' into Mesh_3-doc_fixes-GF 2023-05-31 11:30:19 +02:00
Sebastien Loriot b1b02d64fe
P3M3: Non-cubic domains, fixes, improvements (#7062)
## Summary of Changes

- Add a dummy point generator that is agnostic to the periodic domain's
geometry, allowing P3M3 to handle non-cubic domain.
- Add an example of P3M3 running on polyhedral domains.
- Fix a few issues in SMDS_3's tet soup reading relating to
non-manifoldness + general IO code speed improvements.
- Fix a few issues in P3M3's medit output and always duplicate facets to
reduce the quantity of non-manifoldness occurences.
- Fix an issue with including Mesh_3 headers before P3M3's.
- Fix periodic point projection (for Mesh_3 optimizers) badly computing
the projection direction
- Robustify a handful of P3M3 functions that were using intermediate
constructions rather than the <Point, Offset> API (which uses filtered
predicates and thus yields proper robustness)
- Misc minor code cleaning / modernization

ToDo:
- [x] Check if some medit IO issues are fixed
- [x] Add non-manifoldness flag to read_MEDIT
- [x] Fix value of orthosphere_radius_threshold
- [x] Check calls of insert_dummy_points() (use generic)
- [x] Check doc of P3M3 about cubic domains requirement

Not done:
- [ ] Fix sharp features for periodic polyhedral domains (problems due
to changing weights creating cover change...). Code:
https://gist.github.com/MaelRL/357c52dc04e16a162f13a3c6860a1398; WIP
diff: https://gist.github.com/MaelRL/f98809964acffbacb6d3f42793e2654e

## Release Management

* Affected package(s): `Mesh_3`,  `P3M3`, `P3T3`, `SMDS3`
* Issue(s) solved (if any): Fix #6997, Fix #7214
* Feature/Small Feature (if any): TODO
* License and copyright ownership: no change
2023-05-30 19:13:45 +02:00
Mael Rouxel-Labbé 7b91a3d972 Fix compilation 2023-05-26 13:47:20 +02:00
Mael Rouxel-Labbé b3fe07a51d Remove deprecated labeled mesh domains 2023-05-26 13:47:15 +02:00
Mael Rouxel-Labbé 97097f1f04 misc fixes 2023-05-26 13:19:19 +02:00
Mael Rouxel-Labbé 525338eec2 Haronize Gt/GT/etc. 2023-05-26 12:52:35 +02:00
Mael Rouxel-Labbé abad43a63d Add missing doc dependency 2023-05-25 15:19:36 +02:00