Maxime Gimeno
1c00bf6847
Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno
2020-10-29 15:09:16 +01:00
Laurent Rineau
646db6ef74
Try to fix a warning on MSVC
...
```
...\include\CGAL/Polyhedral_mesh_domain_with_features_3.h(264): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data
with
[
_Ty=int
]
...\cmake\platforms\x64_Cygwin-Windows10_MSVC2017-Release-64bits\test\Mesh_3\test_meshing_polylines_only.cpp(80): note: see reference to function template instantiation 'void CGAL::Polyhedral_mesh_domain_with_features_3<K,CGAL::Polyhedron_3<Gt,CGAL::Mesh_3::Mesh_polyhedron_items<Patch_id>,CGAL::HalfedgeDS_default,std::allocator<_Ty>>,CGAL::Default,Patch_id,CGAL::Tag_true>::add_features<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<std::vector<CGAL::Point_3<Kernel_>,std::allocator<CGAL::Point_3<Kernel_>>>>>>>(InputIterator,InputIterator)' being compiled
with
[
Gt=K,
Patch_id=int,
_Ty=int,
Kernel_=CGAL::Epick,
InputIterator=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<Polyline>>>
]
```
2020-10-27 09:43:46 +01:00
Laurent Rineau
19fa64fdca
Mesh_3: Fix Polyhedral_mesh_domain_with_features_3::add_features
...
This patch, allows to mesh a polyhedron in a 3D demo, while
specifying a polylines item for the sharp features.
2020-10-23 13:52:54 +02:00
Maxime Gimeno
bebd60c12b
Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno
2020-10-20 09:53:54 +02:00
Sebastien Loriot
c54622e9b4
Merge pull request #4976 from janetournois/Tet_remeshing-speedup-GF
...
Tetrahedral Remeshing - speedup
2020-10-02 15:29:24 +02:00
Sebastien Loriot
9e4970faef
Merge pull request #4781 from lrineau/Mesh_3-ITT_support-GF
...
Add ITT support in Mesh_3
2020-10-02 15:20:04 +02:00
Sebastien Loriot
20ac7ff2da
Merge pull request #4792 from lrineau/Mesh_3-reduce_size_of_debuginfo-GF
...
Reduce size of symbols (and debug infos)
2020-10-02 15:17:44 +02:00
Sebastien Loriot
b92ad36e82
Merge pull request #4892 from lrineau/Mesh_3-new_TBB_task_group_API-GF
...
Mesh_3: now uses tbb:task_group instead of tbb::task (deprecated)
2020-10-02 15:16:08 +02:00
Jane Tournois
8063d3cf6f
replace deprecated std::not1 by std::not_fn
...
std::not1 is deprecated in C++17 and removed from C++20
commit 5b474e0075 is similar
2020-09-25 15:00:49 +02:00
Maxime Gimeno
efc903d8dc
Fix error
2020-09-10 10:22:09 +02:00
Maxime Gimeno
aeda2ef58c
Replace boolean name and prevent maxx_domain=0
2020-09-07 12:35:54 +02:00
Maxime Gimeno
98c80402bc
Don't use cell info()
2020-09-04 12:27:32 +02:00
Maxime Gimeno
56af55ecd4
Fix bug in mesh_3 tests
2020-08-27 13:46:04 +02:00
Maxime Gimeno
39c0f96492
Fix domain 0 behaviour
2020-08-27 13:18:46 +02:00
Maxime Gimeno
9d1e849517
Allow the .mesh to be read even with null domains
2020-08-27 10:26:58 +02: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
Maxime Gimeno
9c15f2c9dc
Use FeatureSummary in the demo, and remove CGAL_FOUND
2020-08-04 12:46:17 +02:00
Laurent Rineau
d311fca3ec
Remove the deprecated use of approximate_number_of_enqueued_element
2020-08-03 14:42:44 +02:00
Laurent Rineau
4fc2f5938d
Mesh_3 now uses tbb:task_group instead of tbb::task (deprecated)
2020-07-31 16:17:56 +02:00
Laurent Rineau
dd383217f2
Avoid a race-condition between two tests using the same I/O file
2020-07-29 16:42:10 +02:00
Laurent Rineau
40a0a1bf49
Allow the use of Default as concurrency tag in Mesh_triangulation_3
...
That is used in Tetrahedral_remeshing.
2020-07-29 16:41:37 +02:00
Laurent Rineau
9a0f310e6b
Fix IO of Mesh_vertex_3: case of dimension -1
...
I forgot that dimension() can be -1, for far points. It has to be
dealt with in I/O.
2020-07-29 16:40:48 +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
Laurent Rineau
2e912d4cb2
Merge branch 'master' into Mesh_3-ITT_support-GF
2020-07-08 16:22:58 +02:00
Laurent Rineau
72b0f36790
Remove the task "Mesher_3::refine_mesh" (useless)
2020-07-08 15:47:56 +02:00
Laurent Rineau
bc4fffebc0
ITT for CGAL_MESH_3_VERBOSE as well
2020-07-08 15:47:38 +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
3895932005
Fix the TDS: restore the concurrency tag
2020-06-25 16:56:37 +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