Commit Graph

110824 Commits

Author SHA1 Message Date
Sébastien Loriot ca17f813b6 fix debug 2025-01-31 08:57:21 +01:00
Sébastien Loriot f20af1a946 fix the value used creating the infimax box used for pairing halfedges
without the abs the intersection line of x=-1 and z=-1 would be on the box
leading to invalid behavior (and degenerate halfedges)
2025-01-31 08:54:42 +01:00
Andreas Fabri f7a57a6c41 Add smaller failing issue 2025-01-31 08:54:29 +01:00
Laurent Rineau d837dbde21 fix for STL debug mode
It is invalid to try to detect if an iterator is singular or value-initialized.
The only operations allowed with value-initialized iterators are:
  - copy the iterator, or
  - destroy or assign the iterator.

Comparisons like `vertex_it == Vertex_it{}` are not allowed.
2025-01-30 17:51:20 +01:00
Laurent Rineau 571c2ccadc fix compilation errors with C++>=20, or g++12.2.0 2025-01-30 17:39:32 +01:00
Laurent Rineau a45ac3eb69 fix the detection of <format> and std::format 2025-01-29 16:28:48 +01:00
Laurent Rineau c6d6d673af fix compilation error with gcc-12.2 2025-01-29 16:12:04 +01:00
Laurent Rineau 96dbd55463 extra fix for MSVC 2017 in Constrained_Delaunay_triangulation_2 2025-01-29 14:27:43 +01:00
Mael 68e7bfa4aa
Might as well use the real type 2025-01-28 21:07:58 +01:00
Mael Rouxel-Labbé 8c5515bb42 Fix types 2025-01-28 21:05:27 +01:00
Laurent Rineau b701981572 fix another compilation error
VC++ 19.16 thought there was an ambiguous call to `operator==`
between `skip_iterator` and `skip_iterator` in the internals of `boost::iterator_adaptor` (yet another matching bug) of VC++ 19.16).

I solved it by using the more modern `boost::stl_interfaces::iterator_interface` from Boost.STLintface (Boost>=1.74).
2025-01-28 15:27:48 +01:00
Laurent Rineau 7f88e5b0cf fix compilation errors with MSVC 2017 (VC++ 19.16) 2025-01-28 14:01:58 +01:00
Laurent Rineau 5a1f8cdb21 small optimization 2025-01-28 09:44:42 +01:00
Andreas Fabri 17e3878a5a Explain union/intersetion rule better 2025-01-28 07:29:25 +00:00
Sébastien Loriot 1b9dca6e1f use std tuple 2025-01-27 16:06:35 +01:00
Sébastien Loriot 4737f58130 do not use tie when not needed 2025-01-27 14:02:15 +01:00
Sébastien Loriot 3d260ba6eb typo 2025-01-27 10:18:42 +01:00
Laurent Rineau 9fa067cb4d recycle the constraints indices 2025-01-24 19:36:57 +01:00
Laurent Rineau e1e94a1304 fix a warning from UBSAN (in a postcondition) 2025-01-24 18:14:29 +01:00
Laurent Rineau b31c2ddbe1 CDt_plus_2: lots of refactoring
- encapsulate the creation/erasure of constraints in the hierarchy class
- add encapsulation in the hierarchy class, to detect direct uses of members
- add a test of `CDt_plus_2::insert_vertex_in_constraint`, and fix it
- rename `concatenate` and `concatenate2` to
  - `concatenate`
  - `prepend`
  and force a rvalue reference on the argument corresponding to the constraint
  that will be swallowed
- rename `split` to `split_tail` and `split2` to `split_head`
- rename `fix_contexts` to give it a longer self-explaning name
2025-01-24 16:29:56 +01:00
Sébastien Loriot 107f3696dc boost::tie -> std::tie 2025-01-24 14:20:00 +01:00
Sébastien Loriot eb0da467ed always init time_stamp to -1 2025-01-24 11:08:34 +01:00
Sébastien Loriot e4c7edc436 undo init (will be done globally in another PR) 2025-01-24 10:00:20 +01:00
Sébastien Loriot 49b0f52f00 remove no longer valid comment 2025-01-24 08:10:05 +01:00
Sébastien Loriot b19515e1f8 Merge remote-tracking branch 'cgal/6.0.x-branch' 2025-01-24 08:09:18 +01:00
Sébastien Loriot 7720caa9dc Merge remote-tracking branch 'cgal/5.6.x-branch' into HEAD 2025-01-24 08:08:33 +01:00
Sebastien Loriot 9a7755b31f
Fix bad detection of warnings + remove outdated scripts (#8704)
for examples/tests a warning might be reported as `t`
2025-01-24 08:06:52 +01:00
Sebastien Loriot 8f78a020ed
Correct icon sizes (#8703)
Correct icon sizes

**Without correction**

![image](https://github.com/user-attachments/assets/e4973cb8-09b8-4c81-8348-edef27859de9)

**With correction**

![image](https://github.com/user-attachments/assets/3513ce79-753d-431c-9dcf-83487448654c)
2025-01-24 08:06:03 +01:00
albert-github 8824b917ae Update Documentation/doc/resources/1.8.13/cgal_stylesheet.css
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2025-01-24 08:04:50 +01:00
albert-github 8a5cbddf72 Update Documentation/doc/resources/1.8.13/cgal_stylesheet.css
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2025-01-24 08:04:50 +01:00
albert-github 3aa58ef5fb Update Documentation/doc/resources/1.8.13/cgal_stylesheet.css
Looks like it is not necesary for the 1.8.13 version

Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2025-01-24 08:04:50 +01:00
albert-github e36065c773 Correct icon sizes
Correct icon sizes
2025-01-24 08:04:50 +01:00
Laurent Rineau 310f4bdf4e glue constraints_set.insert(..) and new_constraint_id()
.. to prepare a refactoring
2025-01-23 18:20:21 +01:00
Laurent Rineau 0d84f271d6 whitespace and comments 2025-01-23 18:14:05 +01:00
Laurent Rineau 796190863c derive Ct_plus_2 from the hierarchy
Instead of storing the hierarchy as a data member, store it
as a hidden (protected) base class. That allows to forward
member functions easily with using-declarations. That also avoids
mismatches between the names in the triangulation and the hierarchy.
2025-01-23 17:51:53 +01:00
Laurent Rineau 239a2adb1a virtual -> override 2025-01-23 17:26:06 +01:00
Laurent Rineau 0dcc287941 add CGAL::unordered_flat_set 2025-01-23 17:23:12 +01:00
Laurent Rineau 3d61960ea3 use using-declarations and type aliases 2025-01-23 17:14:31 +01:00
Laurent Rineau 49a9efa2eb add a nested type using Vertex_handle_compare = Compare;
... add switch to `using` in the whole file.
2025-01-23 16:33:38 +01:00
Laurent Rineau 9f5bee7abd rename contexts_end to contexts_not_found because that name is already used in the class 2025-01-23 16:24:33 +01:00
Sébastien Loriot 0bb274d169 fix warnings 2025-01-23 11:45:06 +01:00
Laurent Rineau f95027a5c5 Polyline_constraint_hierarchy_2: more refactoring
- refactor the member function `enclosing_constraint`
- refactor things around `sc_to_sc_map`, using new member functions
  to encapsulate the logic
- remove unused/undocuments functions
2025-01-23 09:36:30 +01:00
Laurent Rineau 58c739c61f clearnup: remove undocumnted/unused member functions 2025-01-23 09:33:35 +01:00
Laurent Rineau 0b4dfa8952 Polyline_constraint_hierarchy_2: get_contexts -> context 2025-01-23 09:33:35 +01:00
Laurent Rineau 9ddc5294fa cleanup in CGAL/Iterator_range.h
... and add a default constructor to create an
empty range (with singular iterators).
2025-01-23 09:32:51 +01:00
Laurent Rineau 7808c6f93d fix the failing test 2025-01-22 22:43:59 +01:00
Laurent Rineau 2db7278922 add failing tests (for now) 2025-01-22 16:04:32 +01:00
Laurent Rineau 1ce108778f rewrite/refactor a lot of the code 2025-01-22 16:03:26 +01:00
Sébastien Loriot 88ed74a164 script not used 2025-01-22 14:42:00 +01:00
Sébastien Loriot d8106aab4b we now use ctest for testing + extra clean up 2025-01-22 11:42:50 +01:00