Laurent Rineau
dce5ed14b7
Merge pull request #5355 from sloriot/CGAL-boost_function_output-5.1
...
Include non-deprecated header (5.1)
2021-01-21 16:09:39 +01:00
Sébastien Loriot
eecb00534e
fix macro name to be consistent with find_package
2021-01-15 10:43:34 +01:00
Sébastien Loriot
efc0c525e8
include non-deprecated header
2021-01-15 10:02:00 +01:00
Laurent Rineau
37f85e7702
Merge pull request #5209 from janetournois/Mesh_3-debug_global_optimizers-jtournois
...
Mesh_3 global optimizers - improve projection to surface
2020-12-09 14:58:56 +01:00
Jane Tournois
2d73ef361e
remove wrong assertions
...
when v has dimension 3, its incident cells can be either all inside
or all outside the complex
2020-12-04 17:18:04 +01:00
Jane Tournois
232cf10af8
remove unused code
2020-12-04 10:40:42 +01:00
Mael Rouxel-Labbé
35fa50213a
Avoid copies in Mesh_triangulation_3's trivial functions
...
These exist because of P3M3
2020-12-03 12:25:37 +01:00
Maxime Gimeno
0ed99d0182
Add a test for old Mesh_cell_base_3
2020-11-30 12:54:59 +01:00
Maxime Gimeno
5ee03985bf
Fix atomic wrong function
2020-11-30 11:37:16 +01:00
Jane Tournois
0ed6aca5a4
replace get_closest_point() by get_closest_triangle()
...
to use this function with Periodic_3_mesh_3
2020-11-27 13:04:06 +01:00
Jane Tournois
9666b3cb73
replace PCA of points by PCA of triangles
...
to make projection more precise and avoid moving a point inside a
protecting ball
2020-11-26 16:25:55 +01:00
Sébastien Loriot
93d62b969c
add forward declaration
...
File_medit.h is included by Mesh_complex_3_in_triangulation_3_base.h
2020-08-18 14:09:06 +02:00
Jane Tournois
1e42f4c9d4
rename IO functions for MEDIT format and a Triangulation_3
2020-08-18 11:16:58 +02:00
Jane Tournois
0a7d8cfd25
add an example with IO for a .mesh file
2020-08-18 10:42:20 +02:00
Laurent Rineau
e293161a43
Merge pull request #4870 from lrineau/Mesh_3-fix_warning-GF
...
Mesh_3: fix a warning
2020-07-23 17:15:00 +02:00
Laurent Rineau
25eeff801b
Fix a warning
...
```
.../CGAL/Mesh_3/C3T3_helpers.h:1249:14: warning: ‘*((void*)& surface +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
1249 | return surface;
| ^~~~~~~
```
2020-07-22 12:29:55 +02:00
Laurent Rineau
251074ad54
Use an API compatible with boost::optional and std::optional
2020-07-22 12:29:39 +02:00
Mael Rouxel-Labbé
93f1cd99ca
Merge remote-tracking branch 'cgal/master' into CGAL-Improve_NP_doc_presentation-GF
2020-07-16 09:53:31 +02:00
Laurent Rineau
95687acb0f
Merge branch 'Mesh_3-fix_examples_CMakeLists_with_TBB-GF' into Mesh_3-fix_examples_CMakeLists_with_TBB-GF--for_master
2020-07-09 13:58:41 +02:00
Laurent Rineau
9bf27c6763
Fix the link with TBB
2020-07-09 13:24:08 +02:00
Laurent Rineau
ae40fec6a3
Missing target
2020-07-09 13:23:55 +02:00
Laurent Rineau
49f2d04d68
Sort target names
2020-07-09 13:22:37 +02:00
Laurent Rineau
72d280fdd9
Merge pull request #4803 from janetournois/Tet_remeshing-from_c3t3_input-jtournois
...
Tetrahedral remeshing from C3T3
2020-07-08 16:24:42 +02:00
Jane Tournois
612d6772b9
operator* between enum and floating type is deprecated, fix warning
2020-07-07 11:13:16 +02:00
Jane Tournois
5b474e0075
replace deprecated std::not1 by std::not_fn
...
std::not1 is deprecated in C++17 and removed from C++20
+ add a C++17 macro in config.h
2020-07-07 10:49:58 +02:00
Laurent Rineau
4d1d4e51eb
Merge pull request #4809 from lrineau/Mesh_3-move_semantic_for_c3t3-GF
...
Add move-semantic for c3t3, and a test
2020-07-03 16:21:27 +02:00
Jane Tournois
2a4b4a2a10
set the Surface_patch_index also in the infinite cell
...
otherwise facet and its mirror don't have the same patch index
2020-07-03 07:35:20 +02:00
Laurent Rineau
36fd23d27c
Fix the move-constructor: `far_vertices_` was forgot
2020-07-02 16:50:38 +02:00
Jane Tournois
460b1f29a6
Merge branch 'master' into Tet_remeshing-from_c3t3_input-jtournois
...
# Conflicts:
# Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/tetrahedral_adaptive_remeshing_impl.h
2020-07-01 08:01:05 +02:00
Laurent Rineau
07eacf5231
Merge pull request #4795 from janetournois/Mesh_3-fix_optimisers_parallel-jtournois
...
Mesh_3 - fix parallel optimisers
2020-06-30 16:38:05 +02:00
Jane Tournois
40668a297e
fix protection of parallel code
2020-06-29 07:07:13 +02:00
Jane Tournois
7740686d78
remove trailing whitespace
2020-06-26 15:54:17 +02:00
Jane Tournois
2a3dba9156
make build_triangulation() more generic with Surface_patch_index instead of int
...
this is necessary to be able to remesh a C3t3 with a Surface_patch_index that
is not convertible to `int`
It is the case with meshes generated from images, which often use
std::pair<Subdomain_index, Subdomain_index>
2020-06-26 15:53:02 +02:00
Jane Tournois
615ac14086
protect incident_cells_threadsafe with macro
...
Periodic_3_mesh_3 does not have an implementation of these functions
because it does not have a parallel implementation
2020-06-26 15:51:15 +02:00
Laurent Rineau
5572d9dba8
Add move-semantic for c3t3, and a test
2020-06-24 10:59:19 +02:00
Laurent Rineau
92ca24d013
Merge pull request #4783 from maxGimeno/CGAL-Fixes_after_beta1-maxGimeno
...
Some Fixes after beta1
2020-06-23 18:50:00 +02:00
Laurent Rineau
bd7d3c498f
Merge pull request #4786 from lrineau/Mesh_3-fix_compilation_error_MSVC2015-GF
...
Continue workaround for MSVC2015
2020-06-23 18:49:58 +02:00
Maxime Gimeno
f221f4ba4a
Try to add CGAL::CGAL_Image_IO to the linked target to fix LINK error on MSVC 2019
2020-06-19 15:53:50 +02:00
Jane Tournois
d4b7af22ba
use tr_.try_lock_and_get_incident_cells()
...
and remove a "todo" of CJ
2020-06-19 13:31:52 +02:00
Jane Tournois
7cd18cd659
unlock after the move, even if there is no topological change
...
to avoid making changes with another thread
2020-06-19 13:31:50 +02:00
Jane Tournois
c6a922c9dc
fix Facet_updater parallel
...
`vertex_to_proj` was not locked and this was causing seg faults
2020-06-19 13:31:49 +02:00
Mael Rouxel-Labbé
26eb7903aa
Merge remote-tracking branch 'cgal/master' into CGAL-Improve_NP_doc_presentation-GF
2020-06-18 12:46:46 +02:00
Laurent Rineau
113c3d1d6f
Continue woraround for MSVC2015
...
That is a followup to commit 5fbaaa9e42
from PR #4468 .
I also chose a better name `is_null` instead of
`compare_weighted_circumcenter`.
2020-06-15 15:56:28 +02:00
Maxime Gimeno
49e66c4ddf
Add missing target
2020-06-15 13:08:28 +02:00
Laurent Rineau
d263a63925
Refresh examples/Mesh_3/CMakeLists.txt
...
... and remove the use of the variable `WITH_CGAL_ImageIO`.
2020-06-12 20:43:42 +02:00
Laurent Rineau
9b8ecd720b
Merge pull request #4636 from sgiraudot/CMake-Third_party_imported_targets-GF
...
CMake: Use Imported Targets for 3rd Party Libs
2020-06-05 17:54:14 +02:00
Mael Rouxel-Labbé
071565467d
Merge remote-tracking branch 'cgal/master' into CGAL-Improve_NP_doc_presentation-GF
2020-06-03 19:01:46 +02:00
Laurent Rineau
871c97273a
Merge pull request #4496 from lrineau/CGAL-move_semantic_for_triangulations-GF
...
Add move-semantic to Compact_container and Triangulations
2020-06-03 16:23:22 +02:00
Laurent Rineau
a828cb0d06
Merge pull request #4620 from janetournois/Tetrahedral_remeshing-new-jtournois
...
Tetrahedral remeshing - new package
2020-06-03 16:23:17 +02:00
Simon Giraudot
89285f1feb
Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF
2020-05-28 08:53:17 +02:00