Commit Graph
1194 Commits
Author SHA1 Message Date
Sébastien Loriot 62116800fc Merge pull request #9123 from lrineau/CDT_3-fix_v2-lrineau
CDT_3: fix v2
2026-02-12 15:52:32 +01:00
Sebastien Loriot f60daf05e4 Mesh_2: fix degenerate cases (#9290)
## Summary of Changes

This PR fixes the error reported in issue #781. The main two changes
are:

- in `Refine_edges.h`: allow the refinement point of a constrained edge
to be an existing close encroaching vertex,
- in `Refine_faces.h`: skip tiny bad faces when their bbox are smaller
than a few ulp.

## Release Management

* Affected package(s): Triangulation_2, Mesh_2
* Issue(s) solved (if any): fix #781
* Feature/Small Feature (if any):
* Link to compiled documentation (obligatory for small feature) [*wrong
link name to be changed*](httpssss://wrong_URL_to_be_changed/Manual/Pkg)
* License and copyright ownership: maintenance by GeometryFactory, now
copyright change
2026-02-12 15:01:59 +01:00
Laurent Rineau f498226561 fix conflicts (merge 'cgal/main') 2026-02-12 10:02:05 +01:00
Laurent Rineau d0a6e51554 fix conflicts (merge 'cgal/main' ) 2026-01-30 16:38:49 +01:00
Andreas Fabri efcc227871 Half-space -> Halfspace 2026-01-23 10:49:04 +00:00
Laurent Rineau 4e89bf4da4 fix compilation error in poisson_refine_triangulation 2026-01-22 14:46:40 +01:00
albert-github a223559d82 Spelling corrections
Spelling corrections
2026-01-13 18:10:02 +01:00
ST3-NET 7fc5bc3310 Fix doubled words: 'be be' and 'compares compares' 2026-01-02 16:16:11 +05:30
Laurent Rineau 9d98f0485b fix clangd warnings 2025-12-16 21:06:04 +01:00
Sébastien Loriot 2ae34a22ba Merge remote-tracking branch 'cgal/6.1.x-branch' into 'cgal/main' 2025-08-13 18:09:36 +02:00
Sébastien Loriot 81952a1c18 Merge pull request #8965 from ybellargui/Small_feature/rename_functions_with_deprecated
[Small Feature] Rename import functions with deprecation and add alias tests
2025-08-07 14:42:13 +02:00
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
Yliess Bellargui 48e2387253 [Small Feature] Use CGAL_DEPRECATED and protect deprecated functions 2025-07-16 14:43:17 +02:00
Yliess Bellargui 66de6cba3d [Small Feature] Use CGAL_DEPRECATED and protect deprecated functions 2025-07-16 13:56:17 +02:00
Andreas Fabri c8915cf19e Add type to enum 2025-07-08 08:57:28 +01:00
Yliess Bellargui ff6a91eb61 [Small Feature] Rename import functions with deprecation and add alias tests 2025-07-01 11:36:49 +02: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