Commit Graph

1180 Commits

Author SHA1 Message Date
Sébastien Loriot bc0000919f Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/master' 2025-08-05 16:28:05 +02:00
Sebastien Loriot 2659bae961
Triangulation_3: Fix move_if_no_collision() (#8934)
## Summary of Changes

The function did not move vertices in higher levels.  

### Todo

- [x] Check if fixes have to be made in 2D as well
- [x] Check the other functions moving vertices in the hierarchy
classes.

## Release Management

* Affected package(s): Triangulation_3
* License and copyright ownership: unchanged
2025-08-05 16:05:08 +02:00
Sébastien Loriot 8e0f2d6f73 Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/master' 2025-07-31 15:19:07 +02:00
Sébastien Loriot 28eee36cb6 Merge remote-tracking branch 'cgal/5.6.x-branch' into 'cgal/6.0.x-branch' 2025-07-31 15:15:52 +02:00
Jane Tournois deb2229f8b fix the case where `p` is hidden in the RT3
if `p` would be hidden, its conflict zone is empty
2025-07-30 11:33:16 +02:00
Andreas Fabri c8915cf19e Add type to enum 2025-07-08 08:57:28 +01:00
Andreas Fabri 1ad06e9538 Deal with 2D and other move_if function 2025-06-30 13:15:35 +01:00
Andreas Fabri 4825d47f9e Triangulation_3: Fix move_if_no_collision 2025-06-12 16:08:53 +01:00
Sébastien Loriot 9fba4c9918 Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/master' 2025-06-10 17:32:45 +02:00
Sébastien Loriot 8e54507fde Merge remote-tracking branch 'cgal/5.6.x-branch' into 'cgal/6.0.x-branch' 2025-06-10 17:31:42 +02:00
Sébastien Loriot 38d88b168d remove double clear and take the link of vh and not the infinite vertex 2025-06-04 09:40:17 +02:00
Guillaume Damiand 219ea871d7 copy the parts of gsoc2024-basic_viewer_glfw-tgrillon that concern only the qt basic viewer 2025-04-17 15:55:54 +02:00
Mael Rouxel-Labbé 613e629524 ie > i.e. 2025-03-28 21:04:43 +01:00
Mael Rouxel-Labbé e1b7c4726e Replace boost::optional with std::optional
See https://github.com/CGAL/cgal/pull/7526
2025-01-16 13:45:12 +01:00
albert-github 36c8b7589d Spelling corrections
Last batch (for now) of spelling corrections in doxygen and normal comments
2024-05-31 19:05:34 +02:00
Laurent Rineau 70464ea107 Merge remote-tracking branch 'afabri/STL_extension-Fix_Prevent_deref-GF' into pr/lrineau/8170 2024-05-21 18:55:11 +02:00
Laurent Rineau 797c056577 Prevent_deref, major changes
Now the second parameter is the `reference` type and no longer the `value_type`.
2024-05-21 08:53:48 +02:00
Laurent Rineau e96aaf37ad Merge branch 'master' into pr/afabri/7410 2024-05-17 23:03:55 +02:00
Laurent Rineau 48eaf9c3f4 remove a possible filter failure, when the target is a vertex 2024-04-26 16:57:14 +02:00
Laurent Rineau 90b2aa5d8f T_3:::copy_triangulation_into_hole postpone *cit++
If the output iterator is a function-output-iterator, then the cell is already
correctly constructed.

Also, rename `fit` to `cit`
2024-04-26 16:57:14 +02:00
Laurent Rineau 52393d19a2 small factorization with a lambda expression 2024-04-26 16:56:46 +02:00
Laurent Rineau 75689f325a use std::invoke (C++17) for IILE
*Immediately Invoked Lambda Expression*

Now that CGAL can use C++17 , switch to `std::invoke`
that is more readable that the two small characters `()`
hidden somewhere a few lines below.

With `std::invoke`, we understand straight away that the lambda is
called immediately.

Ref:

https://www.cppstories.com/2016/11/iife-for-complex-initialization/
2024-04-26 16:54:59 +02:00
Laurent Rineau 3f92648e1a add T_3::is_facet(u, v, w) 2024-04-26 16:52:40 +02:00
Laurent Rineau 3fda4e64c0 Triangulation_3: rewrite the code a little
that avoids code like `o_vt_f_pair.second.first`

Backport: master
2024-04-26 16:51:45 +02:00
Laurent Rineau ab061360f8 add const to understand better the semantic 2024-04-26 16:51:30 +02:00
Laurent Rineau 952d34c6ea cosmetic changes (indent, spaces, naming) 2024-04-26 13:09:05 +02:00
Andreas Fabri 53b438eeeb STL_extension: Add parameter for value type to Prevent_deref 2024-04-26 13:08:06 +02:00
Laurent Rineau 67466144bb Merge pull request #8139 from janetournois/Mesh_3-revert_encroachment_loop-jtournois
Mesh_3 - revert encroachment rule modification, and fix infinite refinement
2024-04-22 14:53:50 +02:00
Jane Tournois a8debb0d2d Revert "Fix sometimes creating holes in the C3T3"
This reverts commit 06d272169f.

There may be an inconsistency between exact and inexact computations,
in the facet encroachment rule

This code was leading to a local infinite refinement loop during cells refinement
2024-04-11 14:16:41 +02:00
Guillaume Damiand 3bc56024d3 Merge branch 'master' into gsoc2022-EBVs-Mostafa-ashraf19 2024-01-11 14:08:05 +01:00
Sébastien Loriot c99b69a0e7 add missing license headers 2024-01-04 13:50:15 +01:00
Sébastien Loriot e7c26349f2 move header in a package to GPL 2024-01-04 13:36:34 +01:00
Sebastien Loriot caecbe29c7
Replace boost::mpl (#7813)
- `boost::mpl::if_` --> `std::conditional`
- `boost::enable_if` -> `std::enable_if`
- `boost::mpl::and_` -> `&&`
- `boost::mpl::or_` -> `||`
- `boost::constant::bool_` -> `std::bool_constant`
- ...
2023-12-26 17:33:36 +01:00
Laurent Rineau 5a628ec88a Merge pull request #7881 from afabri/Poisson-enable_structural_filtering-GF
Poisson Surface Reconstruction: Enable Structural Filtering
2023-12-11 13:56:08 +01:00
Guillaume Damiand a204073c08 draw t3 2023-12-01 10:00:03 +01:00
Guillaume Damiand 0655006622 Merge with master: now viewers use Qt6 2023-11-29 14:36:38 +01:00
Andreas Fabri 8f8280ce34 Add structural filtering to Robust circumcenter traits 2023-11-23 19:37:23 +00:00
Sébastien Loriot 16de47d1e6 more fixes 2023-11-23 14:55:30 +01:00
Laurent Rineau 01f021d532 Merge pull request #7808 from janetournois/Triangulation_3-vertices_array-jtournois
Triangulation_3 - add `vertices()` helper functions
2023-11-15 15:44:22 +01:00
Jane Tournois 47477277d3 use initializer list 2023-11-13 13:58:05 +01:00
Jane Tournois 5974f2ca32 replace Vertex_triple by std::array<Vertex_handle, 3> 2023-11-13 13:48:05 +01:00
Andreas Fabri 97721a0c12 namespace fixes 2023-11-13 11:11:46 +00:00
Sébastien Loriot 2277013d84 replace boost::mpl::and_ 2023-11-10 16:19:26 +01:00
Sébastien Loriot ca0f9acbe0 Merge remote-tracking branch 'cgal/5.6.x-branch' 2023-10-25 17:43:16 +02:00
Guillaume Damiand 761fde02be add_in_graphics_scene -> add_to_graphics_scene; plus remove template parameter NumberType 2023-10-23 01:52:38 +02:00
Guillaume Damiand 6daa2a0c3b Graphics_scene is no more templated 2023-10-23 01:30:57 +02:00
Jane Tournois 47e17d0a2c remove vertices(vertex) that is useless 2023-10-19 11:53:56 +02:00
Sébastien Loriot 9cefb1a481 fix out-of-bound warnings 2023-10-19 11:40:35 +02:00
Jane Tournois c799051e2b add vertices() function for every dimension of simplex in T3
returns a std::array of vertices
2023-10-19 11:13:28 +02:00
Guillaume Damiand a5ee74cb66 Merge branch 'master' into gsoc2022-EBVs-Mostafa-ashraf19 2023-09-29 08:36:37 +02:00