Commit Graph

2196 Commits

Author SHA1 Message Date
Laurent Rineau 8648a72655 Add new Boost Parameter `nonlinear_growth_of_balls` 2019-05-03 15:49:49 +02:00
Laurent Rineau a1e3e05558 Add maximal_number_of_vertices and stop_ptr to the protection code 2019-05-03 11:46:13 +02:00
Jane Tournois 576a3799eb improve doc of constructor for polyhedral complex
pairs cannot be reversed or the domain is not consistent
2019-04-23 15:29:41 +01:00
Sebastien Loriot 81b78d6a8b
Merge pull request #3810 from maxGimeno/temp_branch
Mesh_3: Simplify AABB_primitive of Polyhedral_mesh_domain_3
2019-04-12 15:32:49 +02:00
Sébastien Loriot db65bd8ecc Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2019-04-11 21:38:48 +02:00
albert-github 1dd7473818 Correction of links
Correction of redirected links and links that moved to another place.
2019-04-11 21:37:05 +02:00
Maxime Gimeno 6795d4fb48 Fix error with new primitive in demo 2019-04-10 10:45:35 +02:00
Laurent Rineau 04bef2b071 Merge pull request #3781 from sloriot/CGAL-update_for_cpp14
Update for cpp14
2019-04-08 15:59:28 +02:00
Laurent Rineau 65ebf7d386 Merge branch 'Mesh_3-fix_output_to_vtu-GF' into VTU_output-Add-attribute-GF 2019-04-03 19:57:36 +02:00
Laurent Rineau 043239d738 Avoid copies of vectors of attributes 2019-04-03 19:57:06 +02:00
Laurent Rineau 2e43cc0f71 Remove a warning about an unused variable 2019-04-03 19:11:15 +02:00
Laurent Rineau dcc6d7a58a Fix CGAL::output_to_vtu(..., ASCII) and add tests 2019-04-03 19:03:48 +02:00
Sébastien Loriot 5a30e88a92 replace cpp11::function by std::function 2019-03-29 13:28:33 +01:00
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Sébastien Loriot f62624c4f9 replace cpp11::tuple by std::tuple 2019-03-29 13:28:33 +01:00
Sébastien Loriot 1d908c1c0b remove code for CGAL_INTERSECTION_VERSION 1 2019-03-29 13:28:32 +01:00
Sébastien Loriot 0ce7fc09b5 turns iterator pairs into iterable ranges 2019-03-29 13:28:22 +01:00
Sébastien Loriot d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Sébastien Loriot 700342bfa7 remove cpp11 workaround in mesh_3 related packages 2019-03-29 10:41:50 +01:00
Maxime Gimeno ec00f50eec Use the same primitive type for polyhedron_3 and other types 2019-03-28 11:37:16 +01:00
Maxime Gimeno fc5e966c20 Simplify the AABB_primitive used in Polyhedral_mesh_donain_3 2019-03-28 11:24:19 +01:00
Maxime Gimeno 4326f39944 Add misisng header 2019-03-25 16:12:42 +01:00
Maxime Gimeno 27ceec33b5 Replace Weighted point by Point 2019-03-21 16:10:18 +01:00
Maxime Gimeno adfeee84d9 typedef the attribute type 2019-03-20 16:25:09 +01:00
Maxime Gimeno 15aca3ebf7 Add a bool to decide if we want to export the complex or the cells not in complex. 2019-03-19 16:08:28 +01:00
Maxime Gimeno b9762b9431 Fix declared type in xml 2019-03-19 10:47:54 +01:00
Maxime Gimeno c787e40ca7 Use boost variant for attributes to be able to send `double`s, `uint_8`s and `std::size_t`s 2019-03-18 13:14:00 +01:00
Laurent Rineau f5836b2206 Merge branch 'releases/CGAL-4.13-branch' 2019-03-07 14:31:16 +01:00
goran-w b820b11625 More work on consistent facet orientation in medit output 2019-03-05 09:52:27 +01:00
Sébastien Loriot 06cebcb46e remove cout 2019-02-22 14:40:06 +01:00
Laurent Rineau 35c74b11f3 Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' 2019-02-22 11:08:50 +01:00
Laurent Rineau 285332d25b
Merge pull request #3556 from goran-w/goran-w-patch-3553
Fixed non-compiling outdated code (for issue #3553)

Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
2019-02-22 10:05:54 +00:00
Laurent Rineau c16c039a52 Fix two warnings [-Wmaybe-uninitialized]
```
In file included from /home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Compact_container.h:40:0,
                 from /home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Concurrent_compact_container.h:36,
                 from /home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Triangulation_data_structure_3.h:50,
                 from /home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Triangulation_3.h:47,
                 from /home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Delaunay_triangulation_3.h:34,
                 from /home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Mesh_3/io_signature.h:31,
                 from /home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/cmake/platforms/Ubuntu-clang-64bits/test/Mesh_3/test_meshing_polyhedron.cpp:27:
/home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Time_stamper.h: In member function 'bool CGAL::Mesh_3::Triangulation_helpers<Tr>::no_topological_change__without_set_point(const Tr&, CGAL::Mesh_3::Triangulation_helpers<Tr>::Vertex_handle, const Point&, CGAL::Mesh_3::Triangulation_helpers<Tr>::Cell_vector&) const [with Tr = CGAL::Mesh_3_regular_triangulation_3_wrapper<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Mesh_3::Robust_intersection_traits_3_new<CGAL::Epick> >, CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Mesh_3::Robust_intersection_traits_3_new<CGAL::Epick> >, CGAL::Polyhedral_mesh_domain_3<CGAL::Polyhedron_3<CGAL::Epick, CGAL::Polyhedron_items_3, CGAL::HalfedgeDS_default, std::allocator<int> >, CGAL::Epick, CGAL::Default, void, CGAL::Boolean_tag<true> >, CGAL::Regular_triangulation_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Mesh_3::Robust_intersection_traits_3_new<CGAL::Epick> >, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Compact_mesh_cell_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Mesh_3::Robust_intersection_traits_3_new<CGAL::Epick> >, CGAL::Polyhedral_mesh_domain_3<CGAL::Polyhedron_3<CGAL::Epick, CGAL::Polyhedron_items_3, CGAL::HalfedgeDS_default, std::allocator<int> >, CGAL::Epick, CGAL::Default, void, CGAL::Boolean_tag<true> >, void>, CGAL::Parallel_tag> >]':
/home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Time_stamper.h:82:27: warning: '*((void*)& v +144)' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return pt->time_stamp();
                           ^
/home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Time_stamper.h:82:27: warning: '*((void*)& v +144)' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return pt->time_stamp();
                           ^
/home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Time_stamper.h: In member function 'bool CGAL::Mesh_3::Triangulation_helpers<Tr>::no_topological_change__without_set_point(const Tr&, CGAL::Mesh_3::Triangulation_helpers<Tr>::Vertex_handle, const Point&, CGAL::Mesh_3::Triangulation_helpers<Tr>::Cell_vector&) const [with Tr = CGAL::Mesh_3_regular_triangulation_3_wrapper<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Mesh_3::Robust_intersection_traits_3_new<CGAL::Epick> >, CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Mesh_3::Robust_intersection_traits_3_new<CGAL::Epick> >, CGAL::Polyhedral_mesh_domain_3<CGAL::Polyhedron_3<CGAL::Epick, CGAL::Polyhedron_items_3, CGAL::HalfedgeDS_default, std::allocator<int> >, CGAL::Epick, CGAL::Default, void, CGAL::Boolean_tag<true> >, CGAL::Regular_triangulation_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Mesh_3::Robust_intersection_traits_3_new<CGAL::Epick> >, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Compact_mesh_cell_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Mesh_3::Robust_intersection_traits_3_new<CGAL::Epick> >, CGAL::Polyhedral_mesh_domain_3<CGAL::Polyhedron_3<CGAL::Epick, CGAL::Polyhedron_items_3, CGAL::HalfedgeDS_default, std::allocator<int> >, CGAL::Epick, CGAL::Default, void, CGAL::Boolean_tag<true> >, void>, CGAL::Sequential_tag> >]':
/home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Time_stamper.h:82:27: warning: '*((void*)& v +136)' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return pt->time_stamp();
                           ^
/home/gimeno/cgal_testsuite/CGAL-4.14-Ic-122/include/CGAL/Time_stamper.h:82:27: warning: '*((void*)& v +136)' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return pt->time_stamp();
                           ^
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.14-Ic-122/Mesh_3/TestReport_Friedrich_Ubuntu-clang-64bits.gz
2019-02-13 16:18:28 +01:00
Laurent Rineau 27e9a09360 Merge pull request #3647 from maxGimeno/Demo-Fix_mesh_3_without_sharp_edges-GF
Polyhedron Demo: Fix mesh_3 without edge protection.
2019-02-13 15:38:42 +01:00
Laurent Rineau 24bccaa8ff Initialize the face_patch_id_t pmap before adding to the AABB tree 2019-02-12 14:38:01 +01:00
Laurent Rineau ef48d053ad Revert that patch, that breaks the testsuite 2019-02-12 14:26:24 +01:00
Andreas Fabri 6ce4122908 More places where we have to disable parallel exudation 2019-02-12 13:42:29 +01:00
Maxime Gimeno 8541cf453b Initialize maps for all stored polyhedra in domain constructors. 2019-02-12 12:34:30 +01:00
Laurent Rineau 1c6b15a49e
Commit my version 2019-02-11 15:36:25 +00:00
Andreas Fabri 616fb5dd51 Mesh_3: Disable parallel sliver exudation in VC++ debug in the testsuite 2019-02-11 16:06:34 +01:00
Maxime Gimeno 37cc9b03c7 Fix output_to_vtu 2019-02-05 16:42:00 +01:00
Laurent Rineau dc275ec013 Fix a warning about unused local type 2019-02-04 15:48:29 +01:00
Maxime Gimeno b812f333a0 Dont export far points when converting to vtkUnstructuredGrid 2019-01-25 15:04:37 +01:00
Maxime Gimeno 06b42de055 Fixes 2019-01-25 14:43:58 +01:00
Maxime Gimeno 1ce8c87b64 Add a function that writes a vtu from a c3t3 and a list of attributes 2019-01-25 14:39:44 +01:00
Laurent Rineau a57db0bac4 Fix the filling of 'mids' 2019-01-22 12:20:53 +01:00
Laurent Rineau c9164a0660
Merge branch 'master' into Stream_support-Dont_use_vtk_for_vtu-GF 2019-01-22 12:06:08 +01:00
Laurent Rineau b74753680b Fix "<CellData Scalars=" 2019-01-22 12:03:05 +01:00
Laurent Rineau 4d3df85cb3 Remove far points 2019-01-22 10:38:48 +01:00
Laurent Rineau ae108c5d96 Improve comments and fix indentation 2019-01-21 17:14:14 +01:00
Laurent Rineau c7b95e25c5 Rename two write_points functions as well 2019-01-21 16:32:37 +01:00
Laurent Rineau 8f658695f8 Rename internal methods to avoid a namespace class
There was two methods named `CGAL::write_points_tag`. I renamed then
to:
  - `write_c3t3_points_tag`, and
  - `write_cdt_points_tag`.
2019-01-21 16:17:28 +01:00
Laurent Rineau 8dd54fbeb0 Merge branch 'releases/CGAL-4.13-branch' 2019-01-18 16:38:04 +01:00
Laurent Rineau 73ea2ee4ea Merge pull request #3567 from goran-w/goran-w-patch-3566
Modified output_to_medit() for consistent facet orientation
2019-01-18 16:33:32 +01:00
Laurent Rineau dbd569d51c Fix the result of check_headers 2019-01-17 18:29:27 +01:00
Laurent Rineau c1d4608665 My changes to output_to_vtu 2019-01-17 16:03:43 +01:00
Laurent Rineau c06bf7836c Add a test of Mesher_3::display_number_of_bad_elements
And:
- fix compilation errors (with `this->`)
- fix a warning about unused variables
2019-01-09 16:15:57 +01:00
Maxime Gimeno 1006be85bd Fix Conflicts 2019-01-09 12:29:20 +01:00
Sébastien Loriot 61169b394e Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' 2019-01-04 17:19:19 +01:00
goran-w 509594f21d
Added missing typename qualifier.
My bad. Visual Studio 2017 compiler did not complain about this.
2018-12-21 11:46:04 +01:00
goran-w 3bf248f04c
Update File_medit.h 2018-12-21 08:59:13 +01:00
goran-w 15a0228205
Fixed Travis error
The r_tr_ variable was used without qualifying by `this->`.
2018-12-19 20:31:43 +01:00
goran-w e62da17cf0
Fixed non-compiling outdated code
The number_of_bad_elements_impl() method in Refine_facets_3 was not updated after recent API-breaking changes.
2018-12-18 15:39:46 +01:00
Mael Rouxel-Labbé b6f6aeb844 Merge remote-tracking branch 'mine/T3-Fix_weighted_ranges_insertion_removal-GF' into T3-Fix_weighted_ranges_insertion_removal-GF 2018-12-18 13:20:58 +01:00
Maxime Gimeno 7b13f4a969 Add misisng license header, rename vtu functions and update change.md 2018-11-23 10:11:23 +01:00
Maxime Gimeno 33482dc532 Fix conflicts 2018-11-21 10:55:09 +01:00
Maxime Gimeno 5180876290 Fix ambiguity between 2D and 3D write_VTU and restore gone bool binary in write_VTU 3D 2018-11-21 10:48:16 +01:00
Maxime Gimeno 6e4ab58edc Put write_vtk in Polyhedron_IO 2018-11-20 15:15:53 +01:00
Sébastien Loriot 98c13715fc fix warning
init time stamp of a vertex that is copied
2018-11-13 10:28:33 +01:00
Sébastien Loriot d940632471 Merge pull request #3258 from MaelRL/PMP-Filter_degenerate_polygon_soup_input-GF
PMP: repair polygon soup
2018-11-02 10:37:58 +01:00
Maxime Gimeno 33a3996fa1 Rename write_VTU and write_VTP 2018-10-29 15:02:20 +01:00
Maxime Gimeno 63488d81d1 Update Changes and doc 2018-10-29 12:59:44 +01:00
Maxime Gimeno 5f38a107a1 Update. 2018-10-29 11:50:57 +01:00
Laurent Rineau d21f236928 Merge pull request #3393 from lrineau/Mesh_3-fix_polyhedral_complex_domain-GF
Fix Polyhedral_complex_mesh_domain_3 when detect_features() is not called
2018-10-29 10:41:31 +01:00
Laurent Rineau 821f9c015e Merge pull request #3311 from sloriot/Doc-Pkg_link_name
Update the name of package names reference links
2018-10-29 10:27:53 +01:00
Laurent Rineau e54b036516 Merge pull request #3379 from lrineau/Mesh_3-fix_Index-GF
Mesh_3: Allow `Subdomain_index` to be `short`
2018-10-29 10:27:33 +01:00
Laurent Rineau 7e9de72e9c Merge pull request #3368 from lrineau/Mesh_3-determinism_with_one_thread-GF
Mesh_3 is now deterministic with TBB when only one thread is used
2018-10-29 10:27:32 +01:00
Laurent Rineau 25e2351b8c Merge pull request #3393 from lrineau/Mesh_3-fix_polyhedral_complex_domain-GF
Fix Polyhedral_complex_mesh_domain_3 when detect_features() is not called
2018-10-29 10:25:45 +01:00
Laurent Rineau 9964b18243 Fix Polyhedral_complex_mesh_domain_3 when detect_features() is not called 2018-10-10 16:01:33 +02:00
Maxime Gimeno 14c526a378 Add constrained edges to vtu output for cdt 2018-10-09 14:42:42 +02:00
Mael Rouxel-Labbé 208e20e817 Fixed minor merge errors 2018-10-08 20:02:21 +02:00
Mael Rouxel-Labbé d18e21cfe7 Merge branch 'PMP-Filter_degenerate_polygon_soup_input-GF-old' into PMP-Filter_degenerate_polygon_soup_input-GF 2018-10-08 16:19:26 +02:00
Laurent Rineau d50e70eee8 boost::make_variant_over cannot be trusted!
Use my own naive implementation, with ugly meta-programming, instead
of using `boost::make_variant_over` and `boost::mpl::set`.
2018-10-08 14:53:48 +02:00
Sébastien Loriot 3dd0aa112d rename macro not following the convention 2018-10-08 10:28:55 +02:00
Maxime Gimeno e8cf3f3192 add license includes 2018-10-05 17:09:43 +02:00
Laurent Rineau d82cdbcff1 Mesh_3: Allow `Subdomain_index` to be `short`
... That forced me to modify the `Index` of domains with features.
2018-10-05 17:02:38 +02:00
Maxime Gimeno 0c800d5830 Add SPDX stuff 2018-10-05 11:48:46 +02:00
Maxime Gimeno 99832879ed Add missing files 2018-10-04 14:08:52 +02:00
Laurent Rineau 3a8aee198d Concurrent_compact_container uses Time_stamper
- and remove the `CCC_iterator`, in favor of a generic `CC_iterator`.
2018-10-03 17:34:38 +02:00
Mael Rouxel-Labbé 345434afe5 Added a comment to clarify some code 2018-10-03 15:56:18 +02:00
Laurent Rineau f947d9af6d Fix the non-parallel version 2018-09-19 15:45:52 +02:00
Laurent Rineau 9044e4e11b When the stop variable is flipped, cancel unprocessed tasks 2018-09-19 11:13:57 +02:00
Mael Rouxel-Labbé ef6a6af122 Made STL reader compatible with SequenceContainers
It's useful to not be constrained to cpp11::arrays when the polygon soup
is to be processed through reparation functions (for example)
2018-08-03 14:21:17 +02:00
Mael Rouxel-Labbé 46bd7dc832 Merge branch 'PMP-Filter_degenerate_polygon_soup_input-GF-old' into PMP-Filter_degenerate_polygon_soup_input-GF 2018-08-03 09:34:15 +02:00
Mael Rouxel-Labbé 16a9bc4d7c Fixed some links / concepts related to sgi.com and cppreference 2018-07-26 16:27:58 +02:00
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 777bfab1d0 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:41:47 +02:00
Laurent Rineau 98bf6284fd Fix the issue with the preprocessor 2018-07-24 12:40:19 +02:00
Laurent Rineau bac90efde0 Fix for CGAL_NO_ATOMIC (with old Boost and C++<=03) 2018-07-24 12:40:19 +02:00
Laurent Rineau 7713e790e9 Fix warnings 2018-07-24 12:40:19 +02:00
Laurent Rineau ea47dcfd70 support Mesher_3<C3T3,MC,MD>::status() with TBB 2018-07-24 12:40:19 +02:00
Laurent Rineau a96e69af29 Add the possibility to stop Mesh_3 with TBB 2018-07-24 12:40:18 +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
Mael Rouxel-Labbé edf84b155e Added a virtual destructor to silence a warning 2018-05-24 14:17:58 +02:00
Andreas Fabri 76c260142b Add #include 2018-05-23 11:48:59 +02:00
Andreas Fabri 4de6c30323 Add missing #include 2018-05-23 11:48:59 +02:00
Andreas Fabri 6e828da0e9 Move stuff to CGAL/boost/parameter 2018-05-23 11:48:59 +02:00
Andreas Fabri f6cd1e0bcf Factorize boost parameters in the file CGAL/boost/parameter.h 2018-05-23 11:48:59 +02:00
Andreas Fabri c15306df4c Put duplicated functors in an extra file 2018-05-23 11:48:58 +02:00
Laurent Rineau 13518a0501 Fix check_headers 2018-05-16 17:38:39 +02:00
Laurent Rineau 6653dabc62 Add the license-checking #include 2018-05-16 11:07:13 +02:00
Laurent Rineau 337d49a3ad Fix compatibility with C++03 2018-05-15 16:25:32 +02:00
Laurent Rineau cd032f05fc Do not store const& to the function/functor by copy by value
However, one cannot store a function type directly, but only *pointers* to
function types. So I used Boost MPL to discriminate between function types
and other callable (such as lambdas or functors, that can be copied).
2018-05-15 15:13:05 +02:00
Laurent Rineau 301181ca53 Fix compilation bug with CGAL_MESH_3_PROTECTION_DEBUG 2018-05-15 15:13:05 +02:00
Laurent Rineau c616f66811 Use static_evaluate 2018-05-15 15:13:05 +02:00
Laurent Rineau ae0b45b79f Fix a compilation bug if Mesh_3 and Mesh_2 are both used
The conflict is withing the Boost parameters defined for Lloyd 2D and
Lloyd 3D.
2018-05-15 15:13:05 +02:00
Laurent Rineau a140ed004c Remove the `const bool = true` from the function wrappers 2018-05-15 15:13:04 +02:00
Laurent Rineau 30ff350986 Deprecate Implicit_mesh_domain_3 as well 2018-05-15 15:13:04 +02:00
Laurent Rineau f0233cfbf7 Remove the domain classes deprecated since CGAL-4.5.
Mael talked about that in his review.
2018-05-15 15:13:04 +02:00
Laurent Rineau ae255e248f Remove trivial, useless, buggy documentation comments 2018-05-15 14:56:24 +02:00
Laurent Rineau b61cef82dd Wording
See Mael's comment:
https://github.com/CGAL/cgal/pull/2739#discussion_r175448829
2018-05-15 14:56:24 +02:00
Laurent Rineau 0cacf1a1bb Document where the geometric objects come from (from BGT)
See Mael's comment:
https://github.com/CGAL/cgal/pull/2739#discussion_r175414307
2018-05-15 14:56:23 +02:00
Laurent Rineau a40cad5291 Remove an unused template parameter 2018-05-15 14:56:23 +02:00
Laurent Rineau 5a38837588 fixup! Force nodes on the edges of the cube to be terminal nodes 2018-05-15 14:56:23 +02:00
Laurent Rineau d91929a539 Force nodes on the edges of the cube to be terminal nodes 2018-05-15 14:56:23 +02:00
Laurent Rineau f362ecd516 Support image offsets in polylines_to_protect 2018-05-15 14:56:23 +02:00
Laurent Rineau a09757b775 Fix compilation in C++03 2018-05-15 14:56:23 +02:00
Laurent Rineau c20f0bc843 result_type is used by polylines_to_protect() 2018-05-15 14:56:23 +02:00
Laurent Rineau a76e43de94 Handle the image offset 2018-05-15 14:56:23 +02:00
Laurent Rineau 82f900bcb6 Add Labeled_mesh_domain_3<K>::create_labeled_image_mesh_domain
... and deprecate `CGAL::Labeled_image_mesh_domain_3`.
2018-05-15 14:56:22 +02:00
Laurent Rineau 9126b7aa65 Use boost/shared_ptr.hpp to re-enable move semantic 2018-05-15 14:56:22 +02:00
Laurent Rineau db224d2998 Fix the code when Surface_patch_index is not std::pair<int,int> 2018-05-15 14:56:22 +02:00
Laurent Rineau 1dfbb84bf0 Add Labeled_mesh_domain_3<K>::create_gray_image_mesh_domain
... and deprecate `CGAL::Gray_image_mesh_domain_3`.
2018-05-15 14:56:22 +02:00
Laurent Rineau f0ad9b4872 Correct use of CGAL_NO_DEPRECATED_CODE 2018-05-15 14:56:22 +02:00
Laurent Rineau e687db7b61 Missing #include 2018-05-15 14:56:22 +02:00
Laurent Rineau c3de61a1d9 Use <boost/noncopyable.hpp> instead of our home-made solution 2018-05-15 14:56:22 +02:00
Laurent Rineau 87066b93a1 Rename a function for readability 2018-05-15 14:56:22 +02:00
Laurent Rineau a2a5c6ed6a Cleaning of impl. details in <CGAL/Mesh_3/Image_to_labeled_function_wrapper.h>
Now that wrapper class:
 - uses `std::function`,
 - is not longer templated by the kernel,
 - or by the image type.
2018-05-15 14:56:22 +02:00
Laurent Rineau 0d839ce60a Correct usage of Boost Parameters 2018-05-15 14:56:21 +02:00
Laurent Rineau 8b25761094 Add a constructor using Boost Parameters 2018-05-15 14:56:21 +02:00
Laurent Rineau 0400eb6c4b Cleanup included header for Boost Parameters 2018-05-15 14:56:21 +02:00
Laurent Rineau fd1a788851 Replace Default by the real type default 2018-05-15 14:56:21 +02:00
Laurent Rineau 85d9e02cc3 Call iso_cuboid in the Impl_details base class 2018-05-15 14:56:21 +02:00
Laurent Rineau 91b6dc3b13 Add Construct_surface_patch_index to the Impl_details 2018-05-15 14:56:21 +02:00
Laurent Rineau 7e9165d78a WIP: Change the template parameters of Labeled_image_mesh_domain_3 (TODO)
TODO: document the changes, once that is over.
2018-05-15 14:56:21 +02:00
Laurent Rineau cbcad49920 Use CGAL::cpp11::function to store functors
and at the same time the constructors logic is factorized in the
constructor of a base class.
2018-05-15 14:56:21 +02:00
Laurent Rineau 1a3c4436ae WIP: allow to change the Surface_patch_index type 2018-05-15 14:56:21 +02:00
Laurent Rineau 79829ffb99 Move Index_generator to another header 2018-05-15 14:56:21 +02:00
Laurent Rineau c751c1fc39 Rename the file 2018-05-15 14:56:21 +02:00
Laurent Rineau 9655043e69 Add debug instructions 2018-05-15 14:56:21 +02:00
Laurent Rineau c19c84a022 Fix a line of code that was never tested 2018-05-15 14:56:21 +02:00
Laurent Rineau 2a66790614 Fix a bug
and add assertions. The assertions use lambda expression to display useful
information.
2018-05-15 14:56:21 +02:00