Laurent Rineau
150e129b33
fix with AppleClang 12 (CGAL_CXX20==1 but <ranges> is not implemented)
2025-04-04 15:43:39 +02:00
Sébastien Loriot
cc77715588
Merge pull request #6849 from JulyCode/gsoc2022-isosurface
...
Isosurfacing_3 (new package)
2025-04-03 21:41:22 +02:00
Sébastien Loriot
7ff41a8950
Merge pull request #7837 from hoskillua/gsoc2023
...
GSoC2023 - ACVD for Simplification & Remeshing
2025-04-03 18:00:57 +02:00
Sébastien Loriot
a4170b1fb9
Merge pull request #8586 from MaelRL/Kernel_23-Fix_dangling_ref_in_CC3-GF
...
Do not rely on result_type definitions in kernels
2025-04-03 16:12:09 +02:00
Sebastien Loriot
ede0864914
BGL - add `CGAL::dijkstra_shortest_path(vs, vt, mesh)` ( #8724 )
...
## Summary of Changes
computes the shortest path between two vertices, using Dijkstra
algorithm
Todo
- [x] write doc and integrate to
- [x] add np
- [x] add measure to define what "shortest" means
- [x] add to ref manual top page
- [x] use in demo code
## Release Management
* Affected package(s): BGL
* [Small
feature](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Add_CGAL::shortest_path(vs,_vt) )
* Link to compiled documentation
[CGAL::shortest_path_between_two_vertices()](https://cgal.github.io/8724/v0/BGL/group__PkgBGLTraversal.html#ga5627dee8a6fe4d238cb5c91e123aa763 )
* License and copyright ownership: unchanged
2025-04-03 16:07:02 +02:00
Sébastien Loriot
93e8257255
workaround possible optimisation that would alter the value of the erase_counter
...
The code is still not legal but works in practise.
fix similar to 5853673267
2025-04-03 12:16:27 +02:00
Jane Tournois
c1a3b2dc09
merge cgal/master
2025-04-02 07:26:08 +01:00
Sebastien Loriot
3483e40b10
Mesh_3 - add `surface_only()` named parameter ( #8781 )
...
## Summary of Changes
Add the option `surface_only()` to `make_mesh_3()`, to completely skip
the "refine_cells" part of Mesh_3, and cancel perturbation and
exudation.
@soesau and I noticed that scanning cells, even in the context of
"Surface mesher", takes a lot of useless time.
@soesau you can use this branch for your benchmark
@lrineau do you think `surface_only` should be a member of `Mesher_3` or
a parameter of `Mesher_3::refine_mesh()` (as done here)?
## Release Management
* Affected package(s): Mesh_3
* [Small
Feature](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Mesh_3_surface_only() )
Pre-approved by
[User:Sloriot](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/User:Sloriot )
-- 2025/03/17
* Link to compiled documentation
[make_mesh_3()](https://cgal.github.io/8781/v0/Mesh_3/group__PkgMesh3Functions.html#gac8599a0c967075f740bf8e2e92c4770e )
and
[parameters::surface_only()](https://cgal.github.io/8781/v0/Mesh_3/group__PkgMesh3Parameters.html#gaa2618c09b6117d7caab12dccca16ee58 )
* License and copyright ownership: unchanged
2025-03-28 18:23:22 +01:00
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
lvalque
cc593c35d8
Merge branch 'CGAL:master' into PMP_triangle_soup_rounding-GF
2025-03-18 15:47:50 +01:00
Mael Rouxel-Labbé
25f5f5a548
Replace linear_subdivision with a NP in Loop and Catmull-Clark methods
...
As to support fixed subdivsion for quad meshes
2025-03-17 16:50:11 +01:00
Mael Rouxel-Labbé
f9001833b1
Merge remote-tracking branch 'cgal/master' into Kernel_23-Fix_dangling_ref_in_CC3-GF
2025-03-15 14:09:28 +01:00
Jane Tournois
3a94fcb68a
add surface_only() as a named parameter to make_mesh_3()
...
to completely skip the "refine_cells" part of Mesh_3
2025-03-11 16:58:28 +01:00
Andreas Fabri
6eaeb7a148
merge cgal/master
2025-02-28 08:55:20 +00:00
Sven Oesau
24d44e786b
Merge remote-tracking branch 'cgal/master' into PMP-PoissonDiskSampling-GF
2025-02-25 12:24:19 +01:00
Sébastien Loriot
4f9bf703e3
Merge remote-tracking branch 'cgal/6.0.x-branch' in master
2025-02-19 07:19:25 +01:00
Sébastien Loriot
f7629fa682
Merge remote-tracking branch 'cgal/5.6.x-branch' into cgal/6.0.x-branch
2025-02-19 07:18:41 +01:00
Léo Valque
9b84d4c73c
rename do_snap to apply_iterative_snap_rounding, remove trailing whitespace
2025-02-17 18:09:04 +01:00
Léo Valque
d4e66753ad
made snap polygon soup an option of autorefine_triangle_soup
2025-02-17 14:17:45 +01:00
Sébastien Loriot
b589c88869
Merge remote-tracking branch 'cgal/master' into gsoc2023-hoskillua
2025-02-13 01:00:12 +01:00
Sébastien Loriot
2d0ffba5b4
rename parameters
2025-02-12 23:50:00 +01:00
Sébastien Loriot
21f615aa25
rename parameters
2025-02-12 22:21:59 +01:00
Sébastien Loriot
043becfe7f
Merge pull request #8273 from lrineau/CGAL-followup_PR_8170-lrineau
...
Improvement backports from CDT_3 branch (Follow-up to PR #8170 )
2025-02-12 19:43:35 +01:00
Sebastien Loriot
636368ed8f
Always init time_stamp to -2 ( #8714 )
...
It is not clear to me that this is the right thing to do:
- it is done for some classes
- but in some test, a comment mention that it should be uninitialized
(the test works if init to -1 but not to 0).
- Base_time_stamper is doing an init to -2
2025-02-12 19:40:27 +01:00
Andreas Fabri
98b6cf398d
change iterator category to bidirectional
2025-02-12 17:48:55 +00:00
Sven Oesau
bc97771d6a
added documentation
...
renamed weight_functor to weight_function
changed some default values of named parameters
2025-02-11 22:54:52 +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
Sébastien Loriot
b1e3ed1e3c
add ratio as parameter
2025-02-10 21:57:29 +01:00
Sébastien Loriot
e6961ef94c
factorize qem metric and non qem metric impl
2025-02-10 21:33:46 +01:00
Laurent Rineau
fa83d0bd45
fix Compact_container::reserve, with timestamps
2025-02-10 18:07:32 +01:00
Laurent Rineau
8eefb7f173
Merge branch 'master' into pr/lrineau/8273
2025-02-07 16:10:52 +01:00
Sven Oesau
f41a0a2e78
working poisson disk elimination
2025-02-05 17:27:20 +01:00
Léo Valque
14ccffcd13
Doc, verbose and named parameter of snap_polygon_soup
2025-02-04 13:51:53 +01:00
Jane Tournois
0a8d61bbd1
add edge_weight property map
2025-02-03 11:59:04 +01:00
Laurent Rineau
45da3684ba
Bug with Linear_cell_complex
...
One cannot call `std::allocator_traits<Alloc>::construct`, because some of linear cell complex classes have protected constructors with a lot of friend classes. They cannot be friend of all possible allocator classes, so...
2025-01-31 19:19:45 +01:00
Laurent Rineau
d582ec6ee1
bug fix
2025-01-31 19:17:36 +01:00
Laurent Rineau
5853673267
fix the concurrent compact container with timestamps
2025-01-31 18:07:59 +01:00
Laurent Rineau
b50579bd09
another fix for the buggy compiler from MSVC 2017
2025-01-31 10:12:04 +01:00
Laurent Rineau
571c2ccadc
fix compilation errors with C++>=20, or g++12.2.0
2025-01-30 17:39:32 +01:00
Sébastien Loriot
5b4b19a1c8
add cut_with_plane and new clip method
2025-01-28 14:54:27 +01:00
Laurent Rineau
0dcc287941
add CGAL::unordered_flat_set
2025-01-23 17:23:12 +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
1ce108778f
rewrite/refactor a lot of the code
2025-01-22 16:03:26 +01:00
Mael Rouxel-Labbé
3b7a4ed21e
Merge remote-tracking branch 'cgal/master' into Kernel_23-Fix_dangling_ref_in_CC3-GF
2025-01-16 11:52:34 +01:00
Laurent Rineau
2869ad810b
fix compilation errors with C++<20
2025-01-15 19:08:01 +01:00
Laurent Rineau
d4e6ffddf4
fix protection against min/max macros
...
The regular expression I used was:
```
((?!(?:^.*(\/\/|\/\*).*|^ *\* .*|^[^"]*"(?:"[^"]*"|[^"])*))^(?:.*[ ,\(]|))(\b(?:(?:[A-Za-z]+::)*)(?:max|min))\b *\(
```
2025-01-14 16:12:34 +01:00
Laurent Rineau
bc8c1e6594
new allocator type, that allocates randomly on purpose
...
To debug non-determinism on Linux platforms.
2025-01-08 21:53:44 +01:00
Laurent Rineau
ea151ff987
fix CGAL_USE_BARE_STD_MAP with Polyline_constraint_hierarchy_2
2025-01-08 21:15:22 +01:00
Laurent Rineau
552685784b
Add CGAL::unordered_flat_map implementation
...
...and `refactor Polyline_constraint_hierarchy_2` to use it.
`CGAL::unordered_flat_map` will be Boost `unordered_flat_map` if availlable, or the standard `std::unordered_map` otherwise.
2025-01-08 11:46:23 +01:00
Mael Rouxel-Labbé
7b160e34e3
Template the Uncertain enum_cast overload with Uncertain, not base enum
...
Templating by the base CGAL enum is just a way to have unintended
loss of uncertainty.
2024-12-29 23:17:58 +01:00
Andreas Fabri
a9a51d2af7
whitespace
2024-12-27 12:22:24 +00:00
Andreas Fabri
12801ed85a
advance the iterator
2024-12-27 09:18:32 +00:00
Sébastien Loriot
9296fe78c2
hide force filtering and the traits in NP
2024-12-20 14:19:58 +01:00
Sébastien Loriot
f78f51450b
add missing operator
2024-12-20 11:21:07 +01:00
Jane Tournois
7e3aa09f2a
complete move file
2024-12-19 22:03:28 +01:00
Jane Tournois
a98101aa75
move tuple_like_helpers.h to STL_Extension to avoid dependency on Mesh_3
2024-12-19 17:38:14 +01:00
Laurent Rineau
8e5fab0c98
allow the initial points generator to be non-const
...
A lot of type erasure was necessary.
2024-12-18 16:45:25 +01:00
Laurent Rineau
e2d11a0fc5
allow a range as parameter
...
The preview implementation enforced the use of a full container.
2024-12-18 13:44:54 +01:00
Andreas Fabri
000bae9889
Add operator+(int) and operator-(other)
2024-12-18 11:07:13 +00:00
Sébastien Loriot
b32558b87e
Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface
2024-12-16 11:47:34 +01:00
Sven Oesau
b7e1841b1d
added hidden named parameters for isovalue nudging and interior vertex placement
2024-12-16 11:32:48 +01:00
Sébastien Loriot
c050bb15a3
Merge remote-tracking branch 'cgal/master'
2024-11-15 11:41:07 +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
Jane Tournois
75d3d30cb4
fix unused variable warnings and add a const
2024-11-05 10:27:54 +01:00
Jane Tournois
f77f9c6847
Merge remote-tracking branch 'cgal/master' into Mesh-3-rework-make-mesh-point-initialization-2-aclement
...
# Conflicts:
# Installation/CHANGES.md
2024-10-23 16:35:56 +02:00
Sébastien Loriot
619875392c
Merge branch 'gsoc2023' into master
2024-10-18 14:33:31 +02:00
Jane Tournois
c1f2236ee3
Merge remote-tracking branch 'cgal/master' into Mesh-3-rework-make-mesh-point-initialization-2-aclement
...
# Conflicts:
# Installation/CHANGES.md
2024-09-30 14:02:09 +02:00
Jane Tournois
7c4ab1ca00
remove outdated named parameter
2024-09-30 13:04:00 +02:00
Jane Tournois
f3b9a5ac84
doc (Mael's review)
2024-09-30 12:46:29 +02:00
Jane Tournois
f0ad731919
cleaning
2024-09-30 12:12:54 +02:00
Jane Tournois
f4e2b3db69
remove useless generator() accessor
2024-09-26 11:02:34 +02:00
Jane Tournois
b3a8530dcf
use new API with named paremeter initial_points_generator in demo
...
and fix compilation issues
2024-09-24 11:05:41 +02:00
Jane Tournois
39254bb7db
introduce Dummy_initial_points_generator
...
fix compilation of Mesh_3 tests and examples
2024-09-20 17:17:41 +02:00
Jane Tournois
b5740393b2
compilation of examples fixed
2024-09-20 13:58:24 +02:00
Jane Tournois
026850cf97
use initial points vector
2024-09-19 12:24:18 +02:00
Jane Tournois
ce9cd9e596
wip PR https://github.com/CGAL/cgal/pull/7798
2024-09-17 18:04:40 +02:00
Andreas Fabri
82805a0c69
Re-add the fix
2024-09-10 08:35:23 +01:00
Andreas Fabri
726b9c9485
Show the problem in a test
2024-09-10 08:34:52 +01:00
Andreas Fabri
22151a582f
STL_extension: Add conversion operator
2024-09-08 12:26:21 +01:00
Laurent Rineau
600c63aca1
fix compilation with C++17
2024-07-09 01:37:41 +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
Sébastien Loriot
9e2f375d10
check if Kernel provides the nested type
2024-06-19 11:21:44 +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
Laurent Rineau
1b534cd347
Merge pull request #8248 from sloriot/CGAL-deprecate_Surface_mesher
...
deprecate Surface_mesher package
2024-06-12 10:06:14 +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
76a829e6d4
move manifold tags to <CGAL/tags.h>
2024-06-05 19:08:29 +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
Sebastien Loriot
d06a57a292
Mesh_3 edge_distance criterion : an upper bound for the distances of the feature edge to the input feature ( #7532 )
...
## Summary of Changes
Fixes issue #5110 .
Adds a edge_distance criteria to the mesh generation process.
This criteria is an upper bound for the distance from the edge to the 1D
feature.
## Release Management
* Affected package(s): Mesh_3
* Issue(s) solved (if any): fix #5110
* Link to small feature page :
[Mesh_3_edge_distance_criteria](https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Mesh_3_edge_distance_criteria )
* Link to compiled documentation
[*here*](https://cgal.github.io/7532/v1/Manual/index.html ):
*
[Mesh_edge_criteria_3](https://cgal.github.io/7532/v1/Mesh_3/classCGAL_1_1Mesh__edge__criteria__3.html )
* [Mesh_criteria_3](https://cgal.github.io/7532/v1/Mesh_3 )
2024-05-27 10:58:15 +02:00
Sebastien Loriot
596fa09e20
Kinetic Shape Partition ( #7198 )
...
PR for Kinetic Partitioning and Reconstruction feature.
* Affected package(s): Kinetic Partitioning and Reconstruction
* Issue(s) solved (if any):
* Feature/Small Feature (if any):
[link](https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Kinetic_Shape_Partition_3 )
* Link to compiled documentation:
[link](https://cgal.github.io/7198/v0/Manual/packages.html#PkgKineticSpacePartition )
* License and copyright ownership: GeometryFactory/Inria
**TODO:**
- [x] check branch size (for @sloriot)
2024-05-26 17:51:49 +02:00
Sébastien Loriot
ddbd2e6818
Merge remote-tracking branch 'cgal/master'
2024-05-24 14:18:24 +02:00
Laurent Rineau
0c0b22ba92
add tests and assertions for the timestamper
2024-05-23 16:35:54 +02:00
Laurent Rineau
6160887748
fix warning
...
```
include\CGAL/Compact_container.h(443): warning C4101: 'ts': unreferenced local variable
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-6.0-Ic-248/Minkowski_sum_2/TestReport_Christo_MSVC2017-Debug-64bits.gz
2024-05-22 12:22:56 +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
e9fb0190c3
Merge pull request #7373 from sloriot/Kernel-Perfect_forwarding
...
Add some perfect forwarding in the Kernel
2024-05-15 16:12:23 +02:00
Andreas Fabri
008752cedc
Use macro CGAL_NO_UNIQUE_ADDRESS
2024-05-13 11:01:36 +01:00