Sebastien Loriot
925ff14ad9
Merge pull request #5587 from janetournois/Mesh_3-fix_polylines_on_cube_detection-jtournois
...
Mesh_3 - fix features detection on image bounding box
2021-04-17 11:02:16 +02:00
Jane Tournois
7574751d4f
not all points on the edges of the cube are corners
...
differentiate between corner vertices and edge vertices
corner vertices are forced to be "terminal" in the call
to split_graph_into_polylines() hence leading to
as many polylines as segments on image bbox edges
2021-04-06 14:59:49 +01:00
Maxime Gimeno
acd886b11b
Don't indent, use return()
2021-03-23 14:55:55 +01:00
Maxime Gimeno
aff0380871
Fix Eigen in cmakelists
2021-03-23 12:59:47 +01:00
Laurent Rineau
14a3938747
Merge pull request #5468 from sloriot/CGAL-tiny_fixes
...
Mesh_3: various small bug-fixes
2021-03-03 16:31:13 +01:00
Dmitry Anisimov
5ca5472ba4
better style
2021-02-22 11:12:43 +01:00
Dmitry Anisimov
9689ad23c2
added RUN_SERIAL option to the parallel tests in Triangulation_3 and Mesh_3
2021-02-22 11:08:06 +01:00
Sébastien Loriot
98e48385e8
a RIGHT angle is also a corner
2021-02-17 15:49:48 +01:00
Sébastien Loriot
3b9dafb23b
fix after BOOST_FOREACH -> for replacement
2021-02-17 15:49:30 +01:00
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