Commit Graph

2834 Commits

Author SHA1 Message Date
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
Sébastien Loriot 5254404517 Merge remote-tracking branch 'cgal/master' into HEAD 2024-03-27 22:25:41 +01:00
Guillaume Damiand 9a0b8eb824 Merge branch 'master' into gsoc2022-EBVs-Mostafa-ashraf19 2024-03-26 16:25:29 +01:00
Mael Rouxel-Labbé 5e38ed54df Fix double "Figure" in doc 2024-03-22 17:33:43 +01:00
Laurent Rineau de34b83d26 cleanup 2024-03-22 10:53:18 +01:00
Laurent Rineau 3d14707b0c reimplement does_first_triangle_intersect_second_triangle_interior
Now use a modified code of the original predicate `do_intersect(Tri_3, Tri_3)`.
2024-03-22 10:52:17 +01:00
Laurent Rineau 379bb331cf optimizations about vtuning 2024-03-18 17:22:37 +01:00
Laurent Rineau 44b6c51828 introduce Intel ITT for debug interaction with vtune 2024-03-18 15:03:29 +01:00
Laurent Rineau 5c8a7ea1e7 5.1 degrees seems right 2024-03-13 14:59:43 +01:00
Laurent Rineau 9c763033c6 new debug output: all borders of merged facets 2024-03-10 19:14:36 +01:00
Laurent Rineau 199ece2b10 new options/criteria to choose which facets to merge 2024-03-10 19:14:19 +01:00
Laurent Rineau 7ec2873f9a fix the almost-coplanar regions detector
1e-14 was way too small
2024-03-07 12:58:49 +01:00
Jane Tournois a02ce9ea21 fix dependencies by removing Random_numbers where it's not needed anymore 2024-03-07 09:36:59 +01:00
Laurent Rineau fccbeaed59 change the distance check between constraint segment and vertex
Now it is done up-front, and not during the execution of the process.
2024-03-06 16:26:45 +01:00
Laurent Rineau a7f97ca017 fix a debug message 2024-03-06 14:21:39 +01:00
Laurent Rineau 8127850dca fix for 90224.stl
-> a face restricted to one point (its 2D triangulation is dimension 0)
2024-03-04 10:11:25 +01:00
Laurent Rineau d968bc3f4a fix for data/113344-min3.off
There was a hole in the cavity: the set of intersecting cells was not simply connected.
There was a sliver, in the interior of the cavity, that was not intersecting the region.
2024-03-01 16:24:35 +01:00
Laurent Rineau 2fbad9aa4e fix for error_mesh-p_not_equal_0-min2 2024-02-27 16:52:51 +01:00
Laurent Rineau 283c1a2116 More debug message in cdt.is_valid(true) 2024-02-27 16:39:56 +01:00
Sébastien Loriot 910945eb5f undo dependency changes + always use core if not disabled 2024-02-27 16:19:28 +01:00
Sébastien Loriot 3b30756cd3 do not depend on CGAL_Core 2024-02-27 14:46:18 +01:00