Commit Graph
1197 Commits
Author SHA1 Message Date
Sébastien Loriot 9486495f59 Merge remote-tracking branch 'cgal/main' into 'MaelRL/AW2-GF' 2026-03-05 18:29:53 +01:00
Laurent Rineau f505d5cf8a replace std::size_t(-2) by Time_stamper<void>::invalid_time_stamp
... and fix headers in passing.
2026-02-27 04:18:55 +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
Valque Léo aa6147c2a7 Merge branch 'master' into T2-do_not_insert_duplicates-GF 2026-02-02 17:50:56 +01:00
Laurent Rineau 2ee9b47a16 better debug messages 2026-01-20 17:58:58 +01:00
Laurent Rineau 6626a536ae Refine_edges refinement point: allow snapping to an existing vertex 2026-01-20 17:13:55 +01:00
Laurent Rineau 2134255b16 Mesher_level: detect infinite loops and abort 2026-01-20 17:13:02 +01:00
Attaullah Ansari 9dd424409b Fix typos in comments, documentation, and strings 2026-01-04 18:04:10 +05:30
Sébastien Loriot 5b771b794f Merge remote-tracking branch 'cgal/6.1.x-branch' into 'cgal/main' 2025-12-26 12:13:31 +01:00
Mael Rouxel-Labbé 40d9f17aab Merge remote-tracking branch 'mine/Polygon_repair-Fix_is_valid-GF' into AW2-GF 2025-12-23 12:39:07 +01:00
Mael Rouxel-Labbé 2ca057bb2b Make context() const
The documentation already advertised a const function.
2025-12-23 11:39:30 +01:00
lvalque 3bffb348d8 Merge branch 'main' into T2-do_not_insert_duplicates-GF 2025-12-19 10:36:07 +01:00
Mael Rouxel-Labbé ba5057508a Document Delaunay_face_base_[with_circumcenter_]2 2025-12-10 14:10:41 +01:00
lvalque 91ac6dbc60 Apply suggestions 2025-12-01 16:41:50 +01:00
Mael Rouxel-Labbé f0ee5bd692 Merge remote-tracking branch 'cgal/main' into AW2-GF 2025-11-19 15:08:28 +01:00
lvalque 6321dc5984 Correct template parameter not correctly deduced 2025-10-14 11:45:47 +02:00
lvalque af06bf99d7 Correct a typo in insert_constraints 2025-10-09 11:08:20 +02:00
lvalque 212e2f63a7 modify check_duplicates for Constrained_triangulation_plus 2025-10-09 11:06:48 +02:00
lvalque f3a809a4c2 check_duplicates became a template parameter for insert_constraints(t,begin,end) 2025-10-09 11:06:13 +02:00
lvalque d71f136d7d transform check_duplicates to a template parameter to be used at compile time 2025-10-07 18:12:09 +02:00
lvalque 0102c8a6bf Remove unused attribut and correct indendation 2025-10-06 15:59:15 +02:00
lvalque 8bcf91de45 Introduce functions insert_unique_constraints 2025-10-06 15:56:59 +02:00
Sebastien Loriot 4c97f3ea85 Dt2 remove: replace thread_local vectors by arrays (#9060)
## Summary of Changes

Fix issue #9058.

In `CGAL::Delaunay_triangulation_2`, replace thread_local vectors by
`std::array` on the stack.

## Release Management

* Affected package(s): Triangulation_2
* Issue(s) solved (if any): fix #9058
* License and copyright ownership: no change, maintenance by
GeometryFactory
2025-09-22 12:06:33 +02:00
Laurent Rineau e4bdc469b1 🤦
To store from 0 to 7... your need size==8.
2025-09-11 14:57:05 +02:00
Laurent Rineau 4e455a510c Dt2 remove: :replace thread_local vectors by arrays 2025-09-09 20:04:34 +02:00
Sébastien Loriot 72cfcc4156 Merge remote-tracking branch 'cgal/6.1.x-branch' into 'cgal/main' 2025-09-03 16:57:03 +02:00
Sébastien Loriot c0de2cf4a2 move to T2
try fixing CI
2025-08-29 09:55:55 +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 bc0000919f Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/master' 2025-08-05 16:28:05 +02:00
Andreas Fabri 8d4877b025 Triangulation_2: Document degree() 2025-07-09 15:09:42 +01:00
Andreas Fabri c9303c7bc3 cast from int to double 2025-07-09 13:22:39 +01: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
Laurent Rineau 161a313109 fix the move semantic of Constrained_triangulation_plus_2
The comparison functor passed to the constraints hierarchy has a
pointer to the `Constrained_triangulation_plus_2` that contains it.
That means the defaulted move constructor and move assignment operator of `Polyline_constraint_hierarchy_2` cannot be used to
implement the move constructor and move assignment operator of
`Constrained_triangulation_plus_2`.

Add a special constructor for `Polyline_constraint_hierarchy_2`, that is
usee to move the hierarchy and reassign the comparison operator.
2025-06-04 00:51:02 +02:00
Laurent Rineau b28a6bc7f6 workaround for MSVC 2019
See https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-6.1-Ic-155/Constrained_triangulation_3/TestReport_Christo_MSVC-2019-Community-Release.gz
2025-05-16 16:46:34 +02:00
Laurent Rineau 4b029e69bd Merge branch 'CGAL:master' into Triangulation_3-CDT_3-lrineau 2025-05-13 17:14:39 +02:00
Laurent Rineau fa7a62bd69 fix static_assert(std::is_nothrow_move_assignable<CDT_plus_2> 2025-04-29 11:52:40 +02:00
Laurent Rineau d3fe6989fa fix memory leaks
The move-assignment operator was wrong.
2025-04-28 17:07:43 +02:00
Mael Rouxel-Labbé 8b1052dee9 Add Delaunay and Delaunay_with_circumcenter_2 face bases 2025-04-20 15:02:08 +02:00
Mael Rouxel-Labbé 52842e68d1 Add 2D Robust_weighted_circumcenter filtered traits 2025-04-20 15:01:46 +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
Sébastien Loriot a838073ec7 Merge remote-tracking branch 'cgal/5.6.x-branch' into cgal/6.0.x-branch 2025-03-31 15:31:19 +02:00
Andreas Fabri 69df3ae5a5 T2: avoid maybe uninitialized warning 2025-03-23 21:50:14 +01:00
Laurent Rineau 6b97b34a10 Merge 'cgal/master' into Triangulation_3-CDT_3-lrineau 2025-03-21 18:01:23 +01:00
Andreas Fabri f557b1ca6e T2: avoid maybe uninitialized warning 2025-02-24 07:31:43 +00:00
albert-github cc9ab04a27 Spelling correction
Spelling correction
2025-02-19 11:29:09 +01:00
Sébastien Loriot bd358d01fc one extra tmp disable 2025-02-14 13:15:01 +01:00
Andreas Fabri db3843bf63 Add #include <stack> 2025-02-13 07:34:28 +00:00
Sébastien Loriot 043becfe7f Merge pull request #8273 from lrineau/CGAL-followup_PR_8170-lrineau
Improvement backports from CDT_3 branch (Follow-up to PR #8170)
2025-02-12 19:43:35 +01:00
Andreas Fabri 98b6cf398d change iterator category to bidirectional 2025-02-12 17:48:55 +00:00