Commit Graph

2854 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 691fd789f9 Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2025-03-24 21:34:55 +01:00
Laurent Rineau 6b97b34a10 Merge 'cgal/master' into Triangulation_3-CDT_3-lrineau 2025-03-21 18:01:23 +01:00
Mael Rouxel-Labbé 6ad818b190 Use Oriented_side definition from Kernel, not global 2025-03-19 09:38:52 +01:00
Sébastien Loriot 9d38a4b413 avoid using nested private type 2025-03-19 09:05:52 +01:00
Sébastien Loriot 158aa550c8 disable case failing while it is debugged 2025-02-14 16:00:30 +01:00
Sébastien Loriot 25bc1db221 conditional thingi 2025-02-14 15:52:09 +01:00
Sébastien Loriot 4f0e463912 fix compilation on non fully c++2- compliant 2025-02-14 14:11:25 +01:00
Andreas Fabri 834571c410 ws 2025-02-13 14:02:45 +00:00
Laurent Rineau 87e979160f min/max issues 2025-02-12 13:38:49 +01:00
Laurent Rineau 063266f0ac add `CGAL_setup_tl-excepted.cmake` 2025-02-11 18:27:00 +01:00
Laurent Rineau a2571bbab8 Merge remote-tracking branch 'lrineau/CGAL-followup_PR_8170-lrineau' into Triangulation_3-CDT_3-lrineau 2025-02-11 18:26:52 +01:00
Laurent Rineau e19e5b7025 do not require `Boost_FOUND` 2025-02-11 15:36:44 +01:00
Laurent Rineau e5001d1a50 update our CMake version 3.18...3.31
That will suppress the warnings about `CMP0167` (from CMake 3.30):

```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
```
2025-02-04 14:32:37 +01:00
Sébastien Loriot c313da8791 Merge remote-tracking branch 'cgal/6.0.x-branch' 2025-01-22 10:55:21 +01:00
Sébastien Loriot 5139e6ed09 Merge remote-tracking branch 'cgal/5.6.x-branch' into HEAD 2025-01-22 10:54:25 +01:00
Jane Tournois fbaccdb075 fix compilation on msvc and use public API 2025-01-21 15:55:25 +01:00
Jane Tournois b721064782 fix doc of Triangulation_simplex_3 (the template param is TDS) 2025-01-21 15:54:49 +01:00
Sébastien Loriot b4a8c00e09 Merge remote-tracking branch 'cgal/6.0.x-branch' 2025-01-20 10:19:17 +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
Mael Rouxel-Labbé 8fe8a8c904 Fix compilation of traverser benchmark 2025-01-16 11:03:06 +01:00
Sébastien Loriot b32558b87e Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-12-16 11:47:34 +01:00
Laurent Rineau b2047631b8 fix the CMake file after the introduction of tf::expected 2024-12-06 16:01:43 +01:00
Laurent Rineau 6dda003fc2 reorganize display on cerr/cout
and display the exit code
2024-11-22 17:43:57 +01:00
Laurent Rineau e8650d91fd add command line option --reject-self-intersections 2024-11-22 17:42:54 +01:00
Laurent Rineau 635e852104 reorganise the user-code, in other to prepare a refactoring 2024-11-21 13:21:03 +01:00
Laurent Rineau 07ddcf9806 incorrect use of tl::expected 2024-11-20 15:48:47 +01:00
Laurent Rineau b855f5237d typo in variable names 2024-11-20 15:48:29 +01:00
Laurent Rineau c5b94332fd detect self-intersecting inputs 2024-11-20 15:26:47 +01:00
Laurent Rineau 02632017a5 Merge remote-tracking branch 'cgal/master' into Triangulation_3-CDT_3-lrineau 2024-11-12 12:33:37 +01:00
Laurent Rineau 568e6cb50d refactor the handling of program options 2024-11-04 16:19:53 +01:00
Laurent Rineau b2474a88b4 Fix a regression bug in `cdt_3_from_off`
The faces with holes were no longer handled correctly.
2024-11-04 13:56:49 +01:00
Laurent Rineau 4cb8c1a617 implement new option "--debug-input-faces" 2024-11-04 13:52:20 +01:00
Laurent Rineau de0c412bed output to medit instead of binary.cgal 2024-10-28 17:21:38 +01:00
Laurent Rineau 7e2bb10853 fix the PLY output 2024-10-28 16:51:40 +01:00
Sébastien Loriot fb605cdd39 remove -D that is not compatible with "older" cmake versions 2024-10-22 08:19:49 +02:00
Laurent Rineau 96cd3e6f09 Merge remote-tracking branch 'cgal/master' into pr/afabri/8528 2024-10-17 00:25:24 +02:00
Sven Oesau a06002ab2b Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-10-14 14:42:46 +02:00
Laurent Rineau 2cd3575376 rename to add "conforming" 2024-10-10 16:01:00 +02:00
Andreas Fabri 5829760b05 No need to include from ../../include 2024-10-09 13:12:52 +01:00
Andreas Fabri 9e75ab340d Use add_compile_definitions 2024-10-09 11:58:52 +01:00
Andreas Fabri 527569346e CGAL: Modernize CMakeLists.txt 2024-10-08 17:02:41 +01:00
albert-github dd02af92a2 issue #8515 Spelling mistakes found checking `en-GB` to `en-US`
Spelling corrections, `en-GB` -> `en-US`
2024-10-05 11:28:29 +02:00
Laurent Rineau cae4cbfd98 new version of the cdt_3 plugin: can take a colorized surface_mesh as input 2024-07-29 20:10:01 +02:00
Laurent Rineau 318861c37c Merge remote-tracking branch 'cgal/master' into Triangulation_3-CDT_3-lrineau 2024-07-26 12:00:45 +02:00
Sébastien Loriot 630e58f484 Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-07-23 17:18:09 +02:00
Laurent Rineau ed4fb14f74 merge master (WIP: need #8273) 2024-07-01 16:38:56 +02:00
Laurent Rineau e20cee0fcb new version, after review 2024-07-01 16:02:45 +02:00
Mael Rouxel-Labbé 67aba3fefe Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-06-20 10:18:49 +02:00
Laurent Rineau 4769cbaae7 move Constrained_Delaunay_triangulation_vertex_base_3 in its header 2024-06-19 16:39:59 +02:00
Laurent Rineau 858450069c CDT_vertex_base_3 no longer derives from Constrained_Delaunay_triangulation_vertex_data_3 2024-06-19 16:39:59 +02:00
Laurent Rineau ae314078a6 Implement Constrained_Delaunay_triangulation_3 and *_impl 2024-06-19 16:39:32 +02:00
Laurent Rineau 6f4b598b6a Merge pull request #8278 from albert-github/feature/bug_spell_20240511
Spelling correction
2024-06-13 12:48:43 +02:00
Andreas Fabri 7e8b6678bc CGAL: Add namespace to models in concepts 2024-06-12 13:50:44 +01:00
Laurent Rineau 32893b91c0 Merge pull request #8263 from lrineau/CGAL-update_minimal_cmake-GF
cmake_minimum_required(VERSION 3.12...3.29)
2024-06-12 10:06:12 +02:00
albert-github c35a0a7f11 Spelling correction
Spelling correction due to updated dictionary.
(dictionary was updated after the previous spelling correction :-( )
2024-06-11 10:12:12 +02:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02: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
albert-github 92a5cc9ea0 Spelling correction
instanciation -> instantiation
2024-05-27 13:01:46 +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 caee91a6d1 mv new header files from T_3/include to CT_3/include 2024-05-06 23:01:39 +02:00
Laurent Rineau 531853418c add Constrained_Delaunay_triangulation_vertex_data_3 2024-05-06 22:09:18 +02:00
Laurent Rineau 53eb2b5034 fix SPDX-License-Identifier headers 2024-05-06 11:14:36 +02:00
Laurent Rineau b42aaefc01 Constrained_triangulation_3: add a skeleton of package and documentation 2024-05-03 23:18:14 +02:00
Laurent Rineau b7b734106f indentation 2024-04-26 16:59:40 +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 ce58f38b76 move With_point_and_info_tag to Compact_container.h 2024-04-26 16:36:33 +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 3148a4665c add CGAL_CAN_USE_CXX20_FORMAT macro for <format> support (C++20) 2024-04-24 17:44:57 +02:00
Laurent Rineau 0fa27bc857 Merge remote-tracking branch 'cgal/master' into Triangulation_3-CDT_3-lrineau 2024-04-24 16:51:27 +02:00
Laurent Rineau 2cf6303a16 add support for dumping surface mesh after merging facets 2024-04-24 15:49:44 +02:00
Laurent Rineau 9e84694535 reduce filter failures 2024-04-24 15:21:07 +02:00
Laurent Rineau 0315b25fdf do not reinsert all vertices several times 2024-04-24 14:18:34 +02:00
Laurent Rineau 7ca63c2095 reduce symbols names 2024-04-24 14:16:50 +02:00
Laurent Rineau 9c59169b1d remove a possible filter failure, when the target is a vertex 2024-04-24 12:05:01 +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
Laurent Rineau 66cfdd5418 use Scope_exit 2024-04-11 17:39:38 +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
Sébastien Loriot 180dbaeb40 fix dependency updates 2024-04-11 09:51:34 +02:00
Laurent Rineau 4db6bc6d16 Merge pull request #6967 from gdamiand/gsoc2022-EBVs-Mostafa-ashraf19
GSoC'22: New CGAL's design to handle basic viewers
2024-04-10 18:04:25 +02:00
Laurent Rineau 8d5984bd1b Merge pull request #8108 from lrineau/CGAL-simplify_cmake-GF
CMake: simplify, now that C++17 is required
2024-04-10 18:04:20 +02:00
Laurent Rineau 2b012c900d vector<hash_set> instead of a hash_set of pairs 2024-04-10 15:27:52 +02:00
Sébastien Loriot 6a1417d8ba trigger the update 2024-04-09 13:34:33 +02:00
Laurent Rineau ce3daa342b final fix for `is_edge` with the hash set 2024-04-05 16:39:26 +02:00
Laurent Rineau 708711e7a7 Merge pull request #8018 from janetournois/PMP-add_bbox_to_face_graph-jtournois
New function `PMP::add_bbox(face_graph)` that adds bbox to face graph
2024-04-05 14:25:17 +02:00
Laurent Rineau 9077dec742 add flag --use-finite-edges-map 2024-04-04 12:36:36 +02:00
Laurent Rineau fe52551128 fix command line parameters 2024-04-04 11:43:50 +02:00
Laurent Rineau 202d136b16 small optimization: use a Delaunay tr_3 instead of a CDT_3 for the cavity 2024-04-04 11:23:56 +02:00
Laurent Rineau e0abcf0e9f protect debug code with a flag 2024-04-04 11:23:10 +02:00
Laurent Rineau 9d63c10175 fix 2024-04-03 17:10:44 +02:00
Laurent Rineau 1711b842f6 WIP work-in-progress 2024-04-03 10:34:49 +02:00
Laurent Rineau 04cf39bd8c CMake: simplify, now that C++17 is required 2024-03-28 18:38:48 +01:00