Commit Graph

1945 Commits

Author SHA1 Message Date
Sébastien Loriot 62a8391fde Merge pull request #3242 from lrineau/Mesh_3-fix__add_stop_with_TBB-GF
Mesh 3 fix: add the possibility to stop the algorithm, when Parallel_tag is used
2018-07-25 18:59:46 +02:00
Laurent Rineau 3022ceb198 Fix use of tbb::atomic
I misread the TBB documentation: the constructor of `tbb::atomic` is
only available since C++11. Otherwise, it has to be
default-initialized, and then assigned.
2018-07-24 12:06:53 +02:00
Laurent Rineau ae1e1439cf Fix the issue with the preprocessor 2018-07-23 11:15:26 +02:00
Laurent Rineau ea6da4cb07 Fix for CGAL_NO_ATOMIC (with old Boost and C++<=03) 2018-07-20 16:33:02 +02:00
Laurent Rineau ad735083ef Fix warnings 2018-07-20 16:31:33 +02:00
Mael Rouxel-Labbé f1175d30ed Fixed useless variable not being initialized 2018-07-20 10:48:00 +02:00
Laurent Rineau 5310bba673 support Mesher_3<C3T3,MC,MD>::status() with TBB 2018-07-19 16:15:43 +02:00
Mael Rouxel-Labbé efd971c4bc Reworked with/without subdomain index handling 2018-07-19 10:42:13 +02:00
Mael Rouxel-Labbé 7ac1417623 Use a resize function to allow to use arrays 2018-07-19 10:32:33 +02:00
Mael Rouxel-Labbé 97cb7bb151 Removed orientation.h dependency 2018-07-19 10:32:03 +02:00
Laurent Rineau ba21ecb66a Add the possibility to stop Mesh_3 with TBB 2018-07-18 18:26:08 +02:00
Mael Rouxel-Labbé e5cbe7eb1e Use facets_in_complex_3_to_TM in Boundary_of_subdomain off functions 2018-07-18 17:17:47 +02:00
Mael Rouxel-Labbé 7fcb3d6da6 Reworked facets in complex extractor
Some optimizations, orient properly, create an internal function
to extract a specific subdomain index
2018-07-18 17:17:15 +02:00
Mael Rouxel-Labbé 8baecca728 Added a quick return in topo change checks
Useful because it returns 'true' for periodic triangulations, whereas it
normally always returns 'false'. This means that set_point() is used in
move_point(), which also has a quick return for periodic triangulation
when calling set_point() with the same position as the current vertex position.
2018-07-18 16:50:18 +02:00
Mael Rouxel-Labbé 542bf5fd6e Cleaned C3T3_helpers output 2018-07-17 18:24:10 +02:00
Mael Rouxel-Labbé c5fc0b6a4f Fixed infinite vertex not being properly set up in .mesh IO 2018-06-27 16:30:26 +02:00
Laurent Rineau 10a84aa34e Merge branch 'master' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-27 10:33:24 +02:00
Laurent Rineau c68cf8fc4c Merge pull request #3129 from sgiraudot/Point_set_processing-Callbacks-GF
Point Set Processing: Callbacks
2018-06-27 10:21:40 +02:00
Mael Rouxel-Labbé a878f9ca35 Use proper (cpp98) namespace for CGAL functional functions 2018-06-21 10:20:08 +02:00
Mael Rouxel-Labbé 7490f34560 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-21 10:15:25 +02:00
Laurent Rineau 5ec1b841b7 Merge pull request #3170 from MaelRL/CGAL-Fix_some_STL_extension_namespaces-GF
STL_Extension: move CGAL::iterator and CGAL::unary/binary functions to CGAL::cpp98::
2018-06-20 17:21:01 +02:00
Mael Rouxel-Labbé d6857514be Dropped 'const&' in function parameter in wrappers/model domains
1. This doesn't really make sense if the template is a function type.
2. There is already a copy of the function anyway
2018-06-20 12:35:19 +02:00
Laurent Rineau 5fbe760de9 Merge pull request #3149 from afabri/Mesh_3-boost_pp_warning-GF
Mesh_3: Suppress warning concerning boost/preprocessor
2018-06-14 17:40:28 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Mael Rouxel-Labbé c4fcf3be2e Minor doc changes
(actually undocumented functions, for now)
2018-06-12 23:29:54 +02:00
Mael Rouxel-Labbé 340e5d3b5a Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-12 23:29:43 +02:00
Laurent Rineau 3845494b5c Merge pull request #3151 from lrineau/Mesh_3-fix_uninitialized_variables-GF
Mesh_3: Fix the warnings about uninitialized variables
2018-06-12 16:38:27 +02:00
Mael Rouxel-Labbé ddeb4c0cd7 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-07 15:14:19 +02:00
Andreas Fabri e20aca8806 More disabling of warnings 2018-06-07 13:26:52 +01:00
Mael Rouxel-Labbé 27b6e03968 Added some missing header includes 2018-06-07 10:24:15 +02:00
Mael Rouxel-Labbé 5a13bb8bb7 Fixed typos 2018-06-06 16:30:51 +02:00
Laurent Rineau 0d7c2c41af Merge pull request #3139 from lrineau/Mesh_3-fix_verbose_mode-lrineau
Mesh_3: fix verbose mode (when the manifold criterion is used)
2018-06-06 14:39:13 +02:00
Mael Rouxel-Labbé cdda597e4e Renamed the medit output function 2018-06-06 11:58:36 +02:00
Mael Rouxel-Labbé e81fe3cc1d Fixed bad merge 2018-06-05 15:29:55 +02:00
Mael Rouxel-Labbé d97d388ef4 Reworked Periodic 3 mesh domain classes
No need to duplicate Labeled_mesh_domain_3 anymore: a wrapper is used.
2018-06-05 14:42:03 +02:00
Mael Rouxel-Labbé 7ea3a8044e Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-05 14:39:18 +02:00
Laurent Rineau d108f920d2 Fix conversion warnings in polylines_to_protect 2018-06-05 11:21:28 +02:00
Laurent Rineau aa8c4c2f87 Fix a warning
Do not initialize with `Bare_point()`, because that value has uninitialized
coordinates. And that gave warnings.
2018-06-05 10:46:07 +02:00
Laurent Rineau dfa08102c3 Fix the warnings about get_least_square_surface_plane
The previous implementation of `get_least_square_surface_plane` and
`project_on_surface`, in `C3T3_helpers`, was using uninitialized
values. Now, it uses `boost::optional`.
2018-06-04 19:44:37 +02:00
Laurent Rineau 335034e3cf Fix the CGAL_MESH_3_VERBOSE mode 2018-05-31 16:11:07 +02:00
Laurent Rineau a959f4115d Do not include the headers of deprecated classes 2018-05-30 18:38:08 +02:00
Andreas Fabri 89d96f4ce8 An #ifdef inside a CGAL_assertion_msg() does not compile on VC12 2018-05-30 08:15:31 +01:00
Simon Giraudot 16c0ae5f45 Fix TBB includes in Mesh_3 2018-05-29 11:42:04 +02:00
Laurent Rineau e14bad3df4 Workaround for MSVC
The MSVC is confused by the name `Function` being at the same time a
template parameter and a typedef of the base class.

```
...\include\CGAL/Implicit_mesh_domain_3.h(73): error C2248: 'CGAL::Labeled_mesh_domain_3<BGT,int,std::pair<int,int>>::Function': cannot access private typedef declared in class 'CGAL::Labeled_mesh_domain_3<BGT,int,std::pair<int,int>>'
        with
        [
            BGT=K
        ]
```
2018-05-29 10:30:43 +02:00
Laurent Rineau 2766e1ff5d Merge 'master' and fix conflicts 2018-05-28 16:40:09 +02:00
Laurent Rineau 588cc67897 Merge pull request #3096 from MaelRL/CGAL-Fix_deprecated_code_usage-GF
Fix some deprecation-related issues
2018-05-28 13:58:41 +02:00
Laurent Rineau 2ad4781a05 Merge pull request #3092 from maxGimeno/Travis-Check_including_all_headers-GF
Infrastructure : Test compilation of headers
2018-05-28 13:58:19 +02:00
Laurent Rineau f20743cc20 Merge pull request #3096 from MaelRL/CGAL-Fix_deprecated_code_usage-GF
Fix some deprecation-related issues
2018-05-28 11:00:45 +02:00
Laurent Rineau d7d39e9036 Merge pull request #3092 from maxGimeno/Travis-Check_including_all_headers-GF
Infrastructure : Test compilation of headers
2018-05-28 11:00:39 +02:00
Mael Rouxel-Labbé 497c8ccb50 Fixed conversion warning (changes mirrored from: 683fa43) 2018-05-24 14:18:40 +02:00