Commit Graph

916 Commits

Author SHA1 Message Date
Sébastien Loriot 6257109821 Merge remote-tracking branch 'cgal/6.0.x-branch' 2025-03-24 11:55:32 +01:00
Andreas Fabri feaa60ff81 Remove name of parameter which is only there for matching a function 2025-03-19 08:40:49 +01:00
Jane Tournois fcfae432e5 trailing whitespaces 2025-03-18 16:53:42 +01:00
Jane Tournois 1e553a2e90 for tetrahedra with very-very small volume (like 1e-15), split at midpoint can invert orientation
this commit introduces a heuristic to try other split points, close to midpoint, and hope
to find one that do not invert any incident tetrahedron to the edge to be split
2025-03-18 16:44:01 +01:00
Jane Tournois 9687034ac3 move `remove_from_complex(e)` after checking orientation
otherwise it may happen that `e` is removed from complex, then Vertex_handle()
is returned to cancel split, and `e` is not re-added to the complex
2025-03-14 15:53:14 +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 b4a8c00e09 Merge remote-tracking branch 'cgal/6.0.x-branch' 2025-01-20 10:19:17 +01:00
Mael 72520db3a8
Use std::optional::reset
Co-authored-by: Anirudh Lakhanpal <91114837+SharonIV0x86@users.noreply.github.com>
2025-01-17 09:15:36 +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
Sébastien Loriot 765fea2134 use the same generator for reproducible runs 2025-01-09 10:18:25 +01:00
Sébastien Loriot 11640a3946 Merge remote-tracking branch 'cgal/6.0.x-branch' in master 2024-12-04 14:13:01 +01:00
Sébastien Loriot b8874a23ad Merge remote-tracking branch 'cgal/5.6.x-branch' into 6.0.x-branch 2024-12-04 14:12:00 +01:00
Sébastien Loriot 84d0f6b9a6 use default_random 2024-11-19 17:46:22 +01:00
Sébastien Loriot fb605cdd39 remove -D that is not compatible with "older" cmake versions 2024-10-22 08:19:49 +02:00
Andreas Fabri 9e75ab340d Use add_compile_definitions 2024-10-09 11:58:52 +01:00
Andreas Fabri 95616154d5 More PRIVATE in LCC and Generalized_map 2024-10-09 07:19:52 +01:00
Andreas Fabri 527569346e CGAL: Modernize CMakeLists.txt 2024-10-08 17:02:41 +01:00
Sébastien Loriot 13b5f3676a remove extra wording 2024-08-23 10:09:45 +02:00
Jane Tournois 76de0f3f8c this assertion is invalid
it would break for example when the function takes a far vertex, inserted by
parallel version of Mesh_3
2024-07-25 12:18:39 +02: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
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
Jane Tournois 7cb7be8a2e 3 missing typedefs 2024-05-16 10:41:29 +02:00
Sébastien Loriot cf186388f6 accomodate AABB-tree package API update 2024-05-15 18:43:57 +02:00
Jane Tournois d257b659c4 remove comments 2024-05-10 11:40:12 +02:00
Jane Tournois 428a2bf600 doc 2024-05-10 10:39:21 +02:00
Jane Tournois 6389a1ccf2 update armadillo figure 2024-05-10 10:35:51 +02:00
Jane Tournois 30a66089b8 replace f by ff!
and use facet_edges() helper function
2024-05-06 17:50:23 +02:00
Jane Tournois f8ff5f6f1c verbose mode 2024-05-06 17:28:23 +02:00
Jane Tournois de8953bacf rename mass to density 2024-05-06 16:54:20 +02:00
Jane Tournois 6727a64e6a Revert "fix moving with sizing formula"
This reverts commit bbeb755d379b56198ee879b648b80bde7fed041e

but keep the vh*_moving booleans
2024-05-06 15:38:35 +02:00
Jane Tournois d4e2bd0436 speedup max_cos_dihedral_angle 2024-05-06 09:13:25 +02:00
Jane Tournois 0b203b1d26 add missing 'expensive' 2024-05-02 15:44:58 +02:00
Jane Tournois f8d3a4bce9 avoid copies 2024-05-02 15:44:42 +02:00
Jane Tournois cb734cd9fd unused typedef 2024-05-02 15:44:20 +02:00
Jane Tournois ff15dd7121 turn more assertions into expensive_assertions 2024-04-30 17:04:36 +02:00
Jane Tournois 2fc25a87e3 fix moving with sizing formula
xi* = sum(xi * length / sizing(midpoint)) * 1./sum(length / sizing(midpoint))

and reorganize code for fewer computations
2024-04-30 16:16:59 +02:00
Jane Tournois 3b74baac1a fix collapse condition 2024-04-30 16:15:23 +02:00
Jane Tournois 28f377a8a6 fix average_edge_length_3(cell)
we actually need all edges of selected cells, even boundary edges, to get a size gradation
as close as possible to the input sizes
2024-04-30 11:48:43 +02:00
Jane Tournois 6a42415cb3 Merge remote-tracking branch 'cgal/master' into Tet_remeshing-with_sizing_field-jtournois 2024-04-29 11:02:07 +01:00
Jane Tournois ebb70f7538 add approximate_edge_length(edge) helper function 2024-04-26 16:17:06 +02:00
Jane Tournois fad15d129b cleaning 2024-04-26 15:26:59 +02:00
Jane Tournois 1a4fd5ae04 use midpoint_with_info() in density_along_segment() 2024-04-26 15:26:42 +02:00
Jane Tournois 987dffb615 remove comment 2024-04-26 14:29:44 +02:00
Jane Tournois c954e36591 Improve Adaptive_remeshing_sizing_field
* use 2 kd_trees to find nearest neighbors, either on surfaces (kd_tree_2)
or inside volume (kd_tree_3)
* insert more points in the kd-trees, at centroids and midpoints, to densify the
point sets and be more robust to extreme cases (for example when there are no
vertices with dimension 3)
* interpolate sizing values among nearest neighbors
2024-04-26 14:29:25 +02:00
Jane Tournois 5f21b2c01f add midpoint_with_info() to avoid duplicate code 2024-04-26 14:24:04 +02:00
Jane Tournois 17736e925d compute lower and upper size bounds at edge midpoint 2024-04-26 11:52:01 +02:00
Jane Tournois e84b01b4a2 density is 1/sizing to have mass = length/sizing a quantity with no dimension
and rename function to density
2024-04-26 11:36:59 +02:00
Jane Tournois 97b5be8c35 move max_dimension_index() higher in file 2024-04-26 11:34:04 +02:00
Jane Tournois 4024802646 add missing return type 2024-04-26 11:32:04 +02:00