Commit Graph
1204 Commits
Author SHA1 Message Date
Sébastien Loriot ae366bad98 Merge pull request #8924 from sloriot/T3-improve_link_to_fg_api
Improve link_to_face_graph API
2026-03-20 17:04:34 +01:00
Sébastien Loriot cc533ac18f backward compatibility 2026-03-19 17:28:43 +01:00
Sébastien Loriot 9486495f59 Merge remote-tracking branch 'cgal/main' into 'MaelRL/AW2-GF' 2026-03-05 18:29:53 +01:00
Laurent Rineau 3571af7cc2 simplify Tr_helpers::get_sq_distance_to_closest_vertex 2026-02-27 04:19:21 +01:00
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
Mael Rouxel-Labbé f0ee5bd692 Merge remote-tracking branch 'cgal/main' into AW2-GF 2025-11-19 15:08:28 +01:00
Sebastien Loriot 77903cddfa Merge branch 'main' into T3-improve_link_to_fg_api 2025-10-22 08:36:48 +02:00
Sebastien LoriotandMael 0a47b7799d suggestions from Mael
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2025-10-22 08:35:00 +02: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 d4516b633d improve link_to_face_graph API
and use it in Tetra remeshing to detect the sharp feature of the domain
2025-06-04 12:43:24 +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
Mael Rouxel-Labbé 8f95d2850f Fix typo 2025-04-20 15:03:30 +02:00
Mael Rouxel-Labbé 3be3e965c5 Fix compilation behind expensive assertion 2025-04-20 15:03:08 +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