Commit Graph

3385 Commits

Author SHA1 Message Date
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
Sébastien Loriot c8a3fdaff6 Merge pull request #3625 from sgiraudot/Stream_support-Enhance_color-GF
[Small Feature] Reworked CGAL::Color
2019-04-12 15:54:30 +02: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
Simon Giraudot d314711eaf Merge remote-tracking branch 'mine/Stream_support-Enhance_color-GF' into Stream_support-Enhance_color-GF 2019-04-09 15:00:56 +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 27f10ee7c9 Commited by error.
Partially revert "This branch now targets 4.13.2."

This reverts commit b392643a98, partially.
2019-04-08 12:15:05 +02:00
Laurent Rineau b392643a98 This branch now targets 4.13.2. 2019-04-05 14:50:41 +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
Simon Giraudot 2c1ca1e893 Replace old color API using global const variable with new one using functions 2019-04-03 11:51:29 +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
Laurent Rineau 8ae3756cb6
Merge pull request #3812 from janetournois/Mesh_3-c3t3-doc-fix-jtournois
Doc fix (tiny) in concept `MeshComplexWithFeatures_3InTriangulation_3`
2019-03-28 16:49:23 +01:00
Jane Tournois cdd2231e8a add two missing 's' (there was no link on these in the doc) 2019-03-28 16:02:06 +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
Laurent Rineau fc81d3bfec Merge pull request #3780 from afabri/CGAL-links-GF
Some Documentation Fixes for Issue #3457
2019-03-27 18:05:17 +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
Andreas Fabri 7c2674abc8 More links fixed 2019-03-20 08:38:40 +01:00
Andreas Fabri e254a770df Some Fixes for #3457 2019-03-19 19:20:40 +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
Laurent Rineau 3b349c7b8f Add examples with Surface_mesh instead of Polyhedron 2019-03-19 13:28:31 +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 0c16961337
Update Mesh_3/test/Mesh_3/test_meshing_utilities.h
fix precision test

Co-Authored-By: janetournois <janetournois@users.noreply.github.com>
2019-03-08 16:13:05 +01:00
Jane Tournois 60ce59aeaa the assertion is subject to precision of double's
so we can release the test by 1e-15
2019-03-08 16:04:13 +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
Laurent Rineau 8693f95dac Merge pull request #3619 from albert-github/feature/bug_headers
Update of headers
2019-02-22 16:39:09 +01:00
Laurent Rineau e3fbdb161f Merge pull request #3683 from afabri/CGAL_CMakeLists_cleanup-GF
CGAL: clean up CMakeLists.txt files in examples and tests
2019-02-22 16:38:58 +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
Sébastien Loriot 59bc453b42 first batch of replacement for level 1 in classified ref man
command used:
grep -l  "##" */doc/*/PackageDescription.txt | xargs  sed -i  -E 's/\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\s*$/\\cgalCRPSection{\1}/'
2019-02-14 10:32:39 +01:00
Andreas Fabri a483f3442b CGAL: clean up CMakeLists.txt files in examples and tests 2019-02-13 17:29:29 +01: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 d94a9d139a Add a new test
This test verifies that `Polyhedral_mesh_domain_with_features_3` can
be used without calling `detect_features()`, with both `Polyhedron_3`
and `Surface_mesh`.
2019-02-12 14:38:51 +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
Sébastien Loriot eadb08d976 replace mode by a np 2019-01-17 16:03:48 +01:00
Laurent Rineau c1d4608665 My changes to output_to_vtu 2019-01-17 16:03:43 +01:00
Sébastien Loriot 3a7269b8f6 improve doc 2019-01-16 12:00:07 +01:00
Maxime Gimeno cb10422e3c Fix indentation and markdown 2019-01-16 10:44:30 +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
Laurent Rineau 8121e872ab Merge pull request #3513 from sloriot/CGAL-fix_maybe_uninit_vars_wrngs_2
Fix some wmaybe-uninitialized warnings
2018-12-19 16:08:55 +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
Laurent Rineau 71563a3338 Fix a [-Wmaybe-uninitialized] warning 2018-12-11 10:31:55 +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 d6cfa1a868 Fix CMake warnings about CMP for Visual 2017 2018-11-21 16:17:39 +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
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +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 08a98a5603 Update Changes.md 2018-10-30 11:51:34 +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
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand cd14640d9a Re-add include({CGAL_USE_FILE} ) for mesh 3, to solve link error with image_io. Todo later : solve this problem in the image_io target. 2018-10-17 15:03:55 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02: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
Sébastien Loriot ea240cfac5 use \PkgXXX instead of \PkgXXXSummary 2018-10-08 10:28:44 +02:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +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 048934bb6c Parallel compact container and Mesh_3 deterministic with 1 thread 2018-10-03 17:35:10 +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
Laurent Rineau f89266bf4f Trivial fix of the documentation 2018-07-31 17:32:37 +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
Laurent Rineau b86fff3f90 Merge pull request #3128 from sgiraudot/Solver_interface-Warn_against_diagonalize_traits-GF
Solver Interface: deprecate CGAL::Diagonalize_traits
2018-06-27 10:21:37 +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é 7d63aa654f Added a test for the deprecated constructor of Implicit_mesh_domain_3 2018-06-20 12:38:04 +02:00
Mael Rouxel-Labbé 1dec7eced2 Use 'disable_deprecation_warnings_and_errors.h' in Mesh_3 deprecated tests
and remove headers
2018-06-20 12:37:25 +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
Simon Giraudot ae193e5af3 Document Eigen dependency in PackageDescription.txt of packages 2018-06-19 11:00:02 +02:00
Simon Giraudot 95e6d089fa Include Eigen in CMakeLists.txt where needed 2018-06-19 10:57:55 +02:00
Simon Giraudot 41d554fe58 Deprecating Diagonalize_traits: document dependency to Eigen 2018-06-19 10:57:55 +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é 4bb3391601 Minor doc changes 2018-06-08 17:06:23 +02:00
Mael Rouxel-Labbé af7a6f82b6 Fixed namespace order 2018-06-07 15:34:17 +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é b00075a503 Fixed some trailing whitespace
(to trigger travis)
2018-06-06 17:51:09 +02:00
Mael Rouxel-Labbé 44e39f5300 Fix missing const& in the docs of Mesh_3 and P3M3 2018-06-06 17:47:20 +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 c1a9f93a24 Fix a warning (and doc)
Document that the interpolation, in 3D gray images, is always done using
`double` as numerical type.
2018-06-05 10:48:12 +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 116248e7df Also add a test for mesher.one_step() 2018-05-31 15:59:12 +02:00
Laurent Rineau 7a48ff7e65 Add a comment to retrieve the issue quickly 2018-05-31 14:39:33 +02:00
Laurent Rineau 805a424519 Add a test of CGAL_MESH_3_VERBOSE 2018-05-31 14:39:13 +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 e6b02e3785 Attempt to fix the compilation issue with MSCV 2012 and Boost 1.53
```
[ 50%] Building CXX object CMakeFiles/mesh_implicit_sphere_variable_size.dir/mesh_implicit_sphere_variable_size.cpp.obj
	C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe  @C:\Users\afabri\AppData\Local\Temp\nmCD61.tmp
mesh_implicit_sphere_variable_size.cpp
C:\3rdPartyLibs\boost_1_53_0\boost/type_traits/remove_cv.hpp(37) : error C2039: 'unqualified_type' : is not a member of 'boost::detail::cv_traits_imp<T>'
        with
        [
            T=double (__cdecl *const *)(const Point &)
        ]
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.13-Ic-23/Mesh_3_Examples/TestReport_afabri_x64_Cygwin-Windows8_MSVC2012-Release-64bits.gz

Maybe passing a function pointer instead of a function lvalue will fix the
compilation error.
2018-05-29 11:00:09 +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 46bf950f2d Merge pull request #3073 from MaelRL/Mesh_3-Add_add_corner-GF
Mesh_3: Add `add_corner()` and similar corner-adding functions
2018-05-28 13:58:02 +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
Mael Rouxel-Labbé b41f1d6272 Various deprecation-related improvements 2018-05-18 16:47:54 +02:00
Jane Tournois d591d100c2 doc : improve discussion on optimizers
add something to insist on the fact that ODT, Lloyd, and perturber
can't deal with a mesh already treated with sliver exudation
2018-05-17 18:24:43 +02:00
Laurent Rineau 13518a0501 Fix check_headers 2018-05-16 17:38:39 +02:00
Laurent Rineau 05d7baceb1
Merge branch 'master' into Mesh_3-improve_polylines_to_protect-GF 2018-05-16 11:36:24 +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 f458dc5cc4 Document that the implicit function is CopyConstructible 2018-05-15 15:13:05 +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 d982483431 Add (deprecated) in the list of classes 2018-05-15 15:13:04 +02:00
Laurent Rineau 2bb3d11cd0 Remove unused typedef 2018-05-15 15:13:04 +02:00
Laurent Rineau a69ea141b6 Add deprecation notice to Implicit_mesh_domain_3, in the doc 2018-05-15 15:13:04 +02:00
Laurent Rineau a140ed004c Remove the `const bool = true` from the function wrappers 2018-05-15 15:13:04 +02:00
Laurent Rineau b4a14010a1 Document create_implicit_mesh_domain() 2018-05-15 15:13:04 +02:00
Laurent Rineau 2def8c6e8f typo: missing space 2018-05-15 15:13:04 +02:00
Laurent Rineau 6d64ec2a0b Document CGAL::Image_3 2018-05-15 15:13:04 +02:00
Laurent Rineau b090edb03d Remove mentions of the deprecated classes 2018-05-15 15:13:04 +02:00
Laurent Rineau d56c54179f Remove the buggy concept LabelImage_3 2018-05-15 15:13:04 +02:00
Laurent Rineau e46cd8ad1a Remove the last -Wconversion warnings from all Mesh_3
I have only compiled tests and examples. Maybe the Mesh_3 plugin of the 3D
demo has other warnings.
2018-05-15 15:13:04 +02:00
Laurent Rineau d1c5eb655b Adapt the test suite to the deprecation of Implicit_mesh_domain_3 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 b8b4b6b351 Typo: missing ) 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 ffbd029f40 New wording
See Mael's comment:
https://github.com/CGAL/cgal/pull/2739#discussion_r175410322
2018-05-15 14:56:24 +02:00
Laurent Rineau dc3e86e281 Unify sentence "Construct a... " and "Construction from"
See Mael's comment:
https://github.com/CGAL/cgal/pull/2739#discussion_r175405016
2018-05-15 14:56:23 +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 b760c9d1da Fix formatting
From Mael comment:
https://github.com/CGAL/cgal/pull/2739#discussion_r175404665
2018-05-15 14:56:23 +02:00
Laurent Rineau 016b662fba Document the deprecation of the old domain classes from 3D images 2018-05-15 14:56:23 +02:00
Laurent Rineau e4954e5b0d Document the new API of Labeled_mesh_domain 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 ce0f6d88a7 Add an example to mesh multiples isolevels of a 3D gray image 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 69f6f24c21 Use the new API 2018-05-15 14:56:22 +02:00
Laurent Rineau baa8c761c9 Remove the -Wdeprecated-declarations warning 2018-05-15 14:56:22 +02:00