Commit Graph

108209 Commits

Author SHA1 Message Date
Andreas Fabri bff4417fec whitespace 2024-05-15 07:25:48 +01:00
Andreas Fabri bd62ca59c4 Fix NewKernel_d 2024-05-13 16:05:51 +01:00
Andreas Fabri 3da3481263 Fix Interpolation 2024-05-13 15:40:50 +01:00
Andreas Fabri 008752cedc Use macro CGAL_NO_UNIQUE_ADDRESS 2024-05-13 11:01:36 +01:00
Andreas Fabri ffc5541ce7 CGAL_USE 2024-05-13 10:50:50 +01: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 d9d5a02375 fix CC time_stamper 2024-04-26 16:39:01 +02:00
Laurent Rineau 488668b54b remove less_cpp14 2024-04-26 16:38:09 +02:00
Laurent Rineau 33c3d22bf8 simpler timestamp system 2024-04-26 16:36:39 +02:00
Laurent Rineau ec1d97bea9 fix the timestamp system 2024-04-26 16:36:39 +02:00
Laurent Rineau ce58f38b76 move With_point_and_info_tag to Compact_container.h 2024-04-26 16:36:33 +02:00
Laurent Rineau 4d95e4c987 fix a compilation error with C++<20 2024-04-26 16:35:21 +02:00
Laurent Rineau 11402dfeb9 Add With_offset_tag 2024-04-26 16:35:14 +02:00
Laurent Rineau 69aa7b878b use using instead of typedef (and use base cstr) 2024-04-26 16:34:00 +02:00
Laurent Rineau 7579026503 add the last static_assert to the test 2024-04-26 16:31:23 +02:00
Andreas Fabri 3ce808553b Add issue 2024-04-26 16:29:16 +02:00
Laurent Rineau 78001c1c38 missing include 2024-04-26 16:10:23 +02:00
Laurent Rineau 1fb3e0d837 cosmetic change 2024-04-26 16:10:23 +02:00
Laurent Rineau 127163fda3 cosmetic changes in debug messages 2024-04-26 16:10:23 +02:00
Laurent Rineau 4bf1c438af Add a tool to list non triangulated off files 2024-04-26 16:10:23 +02:00
Laurent Rineau 612d6e3f59 cosmetic change 2024-04-26 16:10:23 +02:00
Laurent Rineau cc5fdfb7d0 remove CGAL::cpp17, useless now that CGAL requires C++17 2024-04-26 16:10:23 +02:00
Laurent Rineau 56054ce7d9 fix io_signature issue 2024-04-26 16:10:23 +02:00
Laurent Rineau 70c73237e7 reimplement TDS_3::is_edge (speed-up by a factor 7) 2024-04-26 16:10:23 +02:00
Laurent Rineau 9194bb0bca speed up incident_cells_threadsafe 2024-04-26 16:10:23 +02:00
Laurent Rineau 05d1cfa9b3 speed-up is_edge with function_output_iterator. 2024-04-26 16:10:23 +02:00
Laurent Rineau 1ee8152353 patch to speed up `incident_cells` in 3D 2024-04-26 16:10:23 +02:00
Laurent Rineau ad30644ed5 add CGAL::Scope_exit
Example of use:

```c++
    Scope_exit guard{[&] {
      for(auto v : region_vertices) {
        v->clear_mark(Vertex_marker::REGION_BORDER);
        v->clear_mark(Vertex_marker::REGION_INSIDE);
      }
    }};
```

with CTAD, or:

```c++
    auto cleanup_tds_data = make_scope_exit([&] {
      for(auto c : cells) {
        c->tds_data().clear();
      }
    });
```
2024-04-26 16:10:23 +02:00
Laurent Rineau 5c636823ba TDS::is_valid add a check of number_of_cells() 2024-04-26 15:08:05 +02:00
Laurent Rineau ed26ee0ab1 fix missing include of <cstdint.h> 2024-04-26 14:52:22 +02:00
Laurent Rineau ca90296877 macros to support C++20 concepts conditionally
(used in CDT_3 only, for the moment)
2024-04-26 14:48:19 +02:00
Laurent Rineau ac47f30cd8 experiment adding tuple-like support for Segment_3 2024-04-26 14:44:37 +02:00
Laurent Rineau cb933b1391 make Unique_hash_map movable 2024-04-26 14:42:36 +02:00
Laurent Rineau 3148e8a6fe make Circulator_from_container somewhat compatible with C++20 ranges 2024-04-26 14:41:48 +02:00
Laurent Rineau cfb8722861 add comments on Compare_angle_3 2024-04-26 14:37:21 +02:00
Laurent Rineau 4adf7e786b fix Compare_angle_3 with six points 2024-04-26 14:37:21 +02:00
Laurent Rineau 15d4d788e6 add Compare_angle_3 with 6 points 2024-04-26 14:37:04 +02:00
Laurent Rineau f53e169baf fix include of <cstdint> 2024-04-26 14:09:41 +02:00
Laurent Rineau ee07b44d67 add a missing include 2024-04-26 14:05:33 +02:00
Laurent Rineau f39b90670b Fix CMake warning: remove usage of VTK_USE_FILE
Backport: master, 5.5.x, 5.4.x
2024-04-26 13:54:44 +02:00
Laurent Rineau bc76d8cbda add CGAL_CAN_USE_CXX20_FORMAT macro for <format> support (C++20) 2024-04-26 13:44:57 +02:00
Laurent Rineau 877e8322d2 fix oformat 2024-04-26 13:42:48 +02:00
Laurent Rineau 4c75012cca oformat(x, tag) passed the tag value to the Output_rep
That allows to pass an integral offset to the displayed time stamps.

The goal is to set it to -1, to display vertices IDs that are identical
to the input vertices indices of the `Surface_mesh``.
2024-04-26 13:29:31 +02:00
Laurent Rineau c2fe3273ff fix the std::formatter for Output_rep 2024-04-26 13:26:50 +02:00