Commit Graph

482 Commits

Author SHA1 Message Date
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
Simon Giraudot 95e6d089fa Include Eigen in CMakeLists.txt where needed 2018-06-19 10:57:55 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +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
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é 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 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
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 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
Mael Rouxel-Labbé b41f1d6272 Various deprecation-related improvements 2018-05-18 16:47:54 +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 d1c5eb655b Adapt the test suite to the deprecation of Implicit_mesh_domain_3 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 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 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 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
Andreas Fabri 1b396bc483 Remove typename in non-template code 2018-05-08 08:55:15 +01:00
Mael Rouxel-Labbé 6863410d21 Added test for add_corner() family 2018-05-03 14:22:40 +02:00
Andreas Fabri 991f3847e8 Do not include graph_traits_Polyhedron.h, properties_polyhedron.h and Polyhedron_iostream.h 2018-05-03 13:23:50 +02:00
Mael Rouxel-Labbé c28e05be0c Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-02-23 12:50:06 +01:00
Laurent Rineau 78e7060525 Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Andreas Fabri f00158c7f5 Use CGAL_USE() 2018-02-13 08:09:52 +00:00
Andreas Fabri 39526dd16f Mesh_3: Add access function to the stored polyhedra for the FeniCS project 2018-02-12 16:00:14 +00:00
Andreas Fabri 5efce459da Mesh_3 2018-01-18 08:49:52 +00:00
Mael Rouxel-Labbé 0fcc6c0d29 Mesh_3 criteria: Changed code from 'Badness' to 'Is_bad' to align with concept
Code using "*_badness" (specification from CGAL < 3.7) is no longer accepted.
2017-12-08 11:32:12 +01:00
Mael Rouxel-Labbé a5bfb8659f M3/P3M3 doc improvements 2017-12-08 11:02:19 +01:00
Mael Rouxel-Labbé 34d53aa2d9 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-12-05 20:32:30 +01:00
Laurent Rineau 3c6640bf59 Merge pull request #1436 from lrineau/CGAL-new_cmake-GF
Renewal of CMake scripts: header-only, ctest, CMake>=3.1

# Conflicts:
#	Installation/config/testfiles/CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG.cpp
2017-12-05 18:20:05 +01:00
Mael Rouxel-Labbé ba3a59ed5a Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-11-30 15:54:00 +01:00
Mael Rouxel-Labbé 1078e00e7f Uniformized between Mesh_3::internal and internal::Mesh_3 2017-11-30 14:26:12 +01:00
Mael Rouxel-Labbé 284567386a Fixed typo 2017-11-29 18:26:21 +01:00
Mael Rouxel-Labbé 9b8c5cd824 Another batch of v->point() --> tr.point(v) 2017-11-29 17:48:55 +01:00
Mael Rouxel-Labbé d1a6d1c4c6 Rewrote 'facets_in_complex_3_to_triangle_mesh'
-- There is no need for two loops
-- Use unordered containers
-- There is no need to check for degeneracies because the same vertex handle
   cannot appear twice
-- Cleaned file and related test file
-- Properly reserve space for containers
-- Made it compatible with periodic_3_mesh_3
2017-11-21 18:17:27 +01:00
Laurent Rineau 0681ac6dbc Fix the TBB_USE_FILE warnings 2017-11-15 17:00:02 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Mael Rouxel-Labbé 1f4475d471 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-10-27 16:26:27 +02:00
Laurent Rineau 3dcc4cf5d7 Merge pull request #2491 from janetournois/Mesh_3-document_manifold_criterion-jtournois
Mesh 3 : document manifold criterion
2017-10-23 17:24:51 +02:00
Laurent Rineau f3924fe8d6 curve segment -> curve 2017-10-13 15:59:48 +02:00
Laurent Rineau e6cf0e73f5 Assure the covering of curves by protecting balls
- That changes the API of Mesh_domain_with_polyline_features_3 (and the
  corresponding concept... TODO)

  - The domain is now responsible for checking the covering.

  - A lot of method have gained the `orientation` parameter: it is uses
    on cycles, to know distinguish between the two curves segments
    between two points.

- The implementation of <CGAL/Mesh_3/Protect_edges_sizing_field.h> has
  changed accordingly.
2017-10-13 15:57:02 +02:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Jane Tournois cab7590ea2 add a first use of the non_manifold() parameter 2017-09-19 16:05:21 +02:00
Maxime Gimeno 088934730b changes in the doc. 2017-08-09 10:31:04 +02:00
Maxime Gimeno 603ae0d9c6 Rename file to match doc 2017-08-09 10:31:04 +02:00
Maxime Gimeno d57be1d856 Add documentation and update changes.html 2017-08-09 10:31:04 +02:00
Maxime Gimeno fa598b70ab Add a file and a test to export a c3t3 to a facegraph. 2017-08-09 10:30:19 +02:00
Mael Rouxel-Labbé b8de2148b2 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-07-28 11:41:58 +02:00
Laurent Rineau 1f4ee1d07a Reorganize the binary I/O tests
Skip the reading of the existing binary file, for
  - 32bits platforms (actually any non-64bits platform),
  - and big endian platforms.
... because we know the binary file is incompatible (for the moment).
2017-07-19 10:46:35 +02:00
Laurent Rineau 2b79306e2d Fix a compilation error
```
/usr/bin/c++   -DCGAL_TEST_SUITE -DCGAL_USE_GMP -DCGAL_USE_MPFR -DCGAL_USE_ZLIB -I/home/cgal_tester/build/src/cmake/platforms/CentOS7/test/Mesh_3/../../../AABB_tree/include -I/home/cgal_tester/build/src/cmake/platforms/CentOS7/test/Mesh_3/../../include -I/home/cgal_tester/build/src/cmake/platforms/CentOS7/test/Mesh_3 -I/home/cgal_tester/build/src/cmake/platforms/CentOS7/include -I/mnt/testsuite/include  -Wall -frounding-math   -o CMakeFiles/test_c3t3_io.dir/test_c3t3_io.cpp.o -c /home/cgal_tester/build/src/cmake/platforms/CentOS7/test/Mesh_3/test_c3t3_io.cpp
In file included from /usr/include/boost/assert.hpp:50:0,
                 from /usr/include/boost/archive/archive_exception.hpp:20,
                 from /usr/include/boost/multi_index/detail/index_node_base.hpp:21,
                 from /usr/include/boost/multi_index/detail/node_type.hpp:23,
                 from /usr/include/boost/multi_index/detail/index_base.hpp:21,
                 from /usr/include/boost/multi_index/detail/base_type.hpp:21,
                 from /usr/include/boost/multi_index_container.hpp:33,
                 from /usr/include/boost/bimap/detail/bimap_core.hpp:34,
                 from /usr/include/boost/bimap/bimap.hpp:61,
                 from /mnt/testsuite/include/CGAL/Mesh_complex_3_in_triangulation_3.h:39,
                 from /home/cgal_tester/build/src/cmake/platforms/CentOS7/test/Mesh_3/test_c3t3_io.cpp:4:
/home/cgal_tester/build/src/cmake/platforms/CentOS7/test/Mesh_3/test_c3t3_io.cpp: In member function 'bool Test_c3t3_io<Mesh_domain>::operator()(const char*) const':
/home/cgal_tester/build/src/cmake/platforms/CentOS7/test/Mesh_3/test_c3t3_io.cpp:387:43: error: 'type name' declared as function returning a function
     assert(CGAL::Get_io_signature<C3t3>()() ==
                                           ^
```
2017-07-19 10:45:44 +02:00
Laurent Rineau 2ef17adaf0 Extend the test to compare with reference files
That way, if the format changes, the test will detect the change.
2017-07-18 15:53:21 +02:00
Laurent Rineau caa90ff5b5 Update the test to check that the signature does not change 2017-07-18 14:40:37 +02:00
Laurent Rineau ceec6140ba Merge pull request #1884 from lrineau/Mesh_3-Polyhedral_complex_mesh_domain_3-GF
New class of MeshDomainWithFeatures_3, from a polyhedral complex
2017-07-17 16:28:27 +02:00
Laurent Rineau 30b102dde6 Add missing `typename` keywords 2017-07-07 10:15:10 +02:00
Jane Tournois b3c9fd5aac add a test for meshing polyhedral complex
test internal functions for smarter initialization too
2017-07-07 10:15:10 +02:00
Mael Rouxel-Labbé 5716601d01 Fixed various Bare_point / Weighted_point usage across Mesh_3
Hopefully, this is the last batch
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé befccc1acc Cleaned uses of obsolete traits class Regular_triangulation_euclidean_traits 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé bf37f6580d Fixed using Weighted_point_creator to construct weighted point
This class is obsolete; kernel functors should be used.
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé cc8d0da913 Fixed (almost all) default constructed traits in Mesh_3
Also fixed constructing points/weighted_points not through the traits and
uses of point().point()
2017-06-28 10:14:35 +02:00
Andreas Fabri c68bd75b6b Now also the examples compile 2017-06-28 10:14:35 +02:00
Andreas Fabri 787d46ffb8 Disable Point_3(const Weighted_point_3&) 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 8c890a1226 Fixed Mesh_3's criteria tests (must pass the triangulation in parameter) 2017-06-20 11:04:49 +02:00
Mael Rouxel-Labbé 1518ef12f2 Removed Mesh_3/test/Mesh_3/test_backward_compatibility.cpp
The concepts MeshFacetCriteria_3 and MeshCellCriteria_3 have been updated with
a breaking change on their operator() (the triangulation must be passed
as additional parameter).
2017-06-20 10:50:11 +02:00
Mael Rouxel-Labbé 5354134469 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle 2017-05-24 12:18:49 +02:00
Mael Rouxel-Labbé 4018368e11 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle 2017-05-24 12:18:49 +02:00
Mael Rouxel-Labbé 38215e860b Fixed various Bare_point / Weighted_point usage across Mesh_3
Hopefully, this is the last batch
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé ae8c85abe6 Cleaned uses of obsolete traits class Regular_triangulation_euclidean_traits 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé bfdb4a52da Fixed using Weighted_point_creator to construct weighted point
This class is obsolete; kernel functors should be used.
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 6dd3287538 Fixed (almost all) default constructed traits in Mesh_3
Also fixed constructing points/weighted_points not through the traits and
uses of point().point()
2017-05-22 11:27:02 +02:00
Andreas Fabri 2ad0200d34 Now also the examples compile 2017-05-22 11:20:45 +02:00
Andreas Fabri 57e6083b29 Disable Point_3(const Weighted_point_3&) 2017-05-22 11:20:45 +02:00
Laurent Rineau 81dccb7d22 Add a macro CGAL_COMPACT_CONTAINER_DEBUG_TIME_STAMP
That macro allows to store the time stamp in the `CC_iterator` (the type
of handle for the triangulation vertices and cells), and check that
handle and pointee have the same time stamp.
2017-05-18 10:57:13 +02:00
Laurent Rineau e294cd8fe9 Fix new (recycled) time stamps when a TDS is copied 2017-05-18 10:57:13 +02:00
Mael Rouxel-Labbé bf425a46e6 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle
Strongly breaks P3T3, will be fixed in the next commits
2017-05-11 17:45:15 +02:00
Mael Rouxel-Labbé 37fad1a242 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle
Strongly breaks P3T3, will be fixed in the next commits
2017-05-11 17:45:15 +02:00
Mael Rouxel-Labbé 5c21d4affc Fixed various Bare_point / Weighted_point usage across Mesh_3
Hopefully, this is the last batch
2017-04-28 17:59:33 +02:00
Mael Rouxel-Labbé fb81482652 Cleaned uses of obsolete traits class Regular_triangulation_euclidean_traits 2017-04-15 23:23:23 +02:00
Mael Rouxel-Labbé d0cfb4335e Fixed using Weighted_point_creator to construct weighted point
This class is obsolete; kernel functors should be used.
2017-04-15 23:20:52 +02:00
Mael Rouxel-Labbé deb7f45d86 Fixed (almost all) default constructed traits in Mesh_3
Also fixed constructing points/weighted_points not through the traits and
uses of point().point()
2017-04-15 23:17:23 +02:00
Mael Rouxel-Labbé 2ee5b13e6f Merge branch 'Kernel_Weighted_point_without_conversion-GF-old' into Kernel_Weighted_point_without_conversion-GF
Using Kernel-Fix_weighted_point-GF @ 8703f5c122
2017-04-11 17:01:25 +02:00
Laurent Rineau 2cbd2532bb Merge pull request #1911 from lrineau/Mesh_3-manifold_TBB-lrineau
Mesh 3: fix the manifold code with TBB
2017-04-05 17:02:00 +02:00
Mael Rouxel-Labbé 6c1c6c0e74 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle
Using cgal/master @ cce6932
2017-03-16 16:39:20 +01:00
Mael Rouxel-Labbé 9dedcae60c Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle
Using cgal/master @ cce6932
2017-03-16 16:39:20 +01:00
Laurent Rineau b4470ed00f Always test the MANIFOLD criterion 2017-03-10 15:52:37 +01:00
Andreas Fabri f1f095bfbd Now also the examples compile 2017-03-02 18:57:51 +01:00
Laurent Rineau e8a7391dd5 Fix testsuite
That is a followup of e28b298c99.
2017-03-01 19:05:30 +01:00
Andreas Fabri 4922f9e86d Disable Point_3(const Weighted_point_3&) 2017-02-15 14:33:31 +01:00
Mael Rouxel-Labbé 45241b92a2 Moved Robust weighted filtered circumcenter traits out of Mesh_3
Also, these traits do not derive from Regular_euclidean_traits anymore.
2017-02-13 18:13:19 +01:00
Mael Rouxel-Labbé f63f0b801e Moved Robust weighted filtered circumcenter traits out of Mesh_3
Also, these traits do not derive from Regular_euclidean_traits anymore.
2017-02-13 18:13:19 +01:00
Laurent Rineau bbf430b0b1 Merge pull request #585 from afabri/Kernel-Weighted_point-GF
Introduce Kernel::Weighted_point_3 together with functors
2016-12-20 19:52:02 +01:00
Andreas Fabri 9e14322cec add typename 2016-11-13 07:53:18 +01:00
Andreas Fabri f733df8a18 do not use deprecated functions 2016-11-05 19:17:52 +01:00
Andreas Fabri 548ad1cf29 Test deprecated code; Exlain what to do instead; Add to changes.html 2016-11-03 14:58:14 +01:00
Andreas Fabri 59cedfc7dd Fix Mesh_3 2016-11-03 13:08:31 +01:00
Laurent Rineau 6a72c4749f Merge pull request #1564 from lrineau/Mesh_3-fix_an_old_bug__issue_1554-lrineau
Fix issue #1554
2016-10-17 10:01:17 +02:00
Laurent Rineau 0f4661087b Fix issue #1554
Fix a runtime error. The `Intersect_3` functor of
`Robust_intersection_traits_3_new` was ignored cases in the intersection
between a segment and a triangle.

In `ts_intersection`, if one of the extremities of the segment was
coplanar with the triangle, the empty object was always returned.

This bug of mines was introduced in CGAL-4.3 by
56d733b254.

(Fix #1554.)
2016-10-10 18:01:20 +02:00
Laurent Rineau 9a0bb54922 Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Laurent Rineau bab017a231 Merge pull request #1491 from afabri/Mesh_3-static-GF
Mesh_3:  Remove static variables
2016-10-05 13:02:19 +02:00
Clément Jamin 04490560a8 Loosen the bounds in parallel mode
Fix for #1507
2016-09-28 17:54:11 +02:00
Andreas Fabri c4faaa99fd remove static variables 2016-09-26 16:23:23 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Laurent Rineau 2cd9a15bb9 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
Merge the following merge commits:
> 12b92f5 Merge pull request #1271 from lrineau/Mesh_3-distance_criterion_sizing_field-GF
> 9c3d0b0 Merge pull request #1295 from lrineau/CGAL-add_test-GF

Conflicts:
	Maintenance/release_building/BUGFIX_NUMBER
	Maintenance/release_building/public_release_name
2016-07-22 18:31:02 +02:00
Laurent Rineau ac5604f6b3 Add a test file 2016-07-21 14:23:56 +02:00
Laurent Rineau 500ebf7918 Actually test CGAL::dump_c3t3 with a polyhedral domain 2016-07-11 18:09:39 +02:00
Guillaume Damiand e02ac7f7f0 Remove link with zlib (that we introduced before but which are no more required) 2016-06-24 18:35:37 +02:00
Guillaume Damiand e21ef313c0 Merge branch 'CGAL_headers_only_step1-gdamiand_cjamin-old' into CGAL_headers_only_step1-gdamiand_cjamin 2016-06-22 20:54:37 +02:00
Laurent Rineau 378e22aa24 Fix a warning with -DCGAL_NDEBUG 2016-06-22 12:41:26 +02:00
Guillaume Damiand a8af4dad62 Merge branch 'CGAL_headers_only_step1-gdamiand_cjamin-old' into CGAL_headers_only_step1-gdamiand_cjamin 2016-06-22 09:43:31 +02:00
Laurent Rineau fa5cb831c9 Add Output_rep<T,F>::is_specialized...
.. that allows `Dump_c3t3` to detect if a type can be streamed, using
either `operator<<` or `Output_rep<T>`.
2016-06-15 18:10:14 +02:00
Jane Tournois d2c3683d73 230 max facets is not enough for all seeds 2016-06-14 15:29:42 +02:00
Guillaume Damiand a53f16edac Merge branch 'CGAL_headers_only_step1-gdamiand_cjamin-old' into CGAL_headers_only_step1-gdamiand_cjamin 2016-06-09 19:09:38 +02:00
Guillaume Damiand a5e04dcfd0 Update cmakes to deal with ZLIB in header only mode. 2016-06-09 15:39:56 +02:00
Laurent Rineau fe67240536 Change the default for `edge_size` from 0 to +∞
The previous default value for `CGAL::parameters::edge_size`, in the
constructor of `CGAL::Mesh_criteria_3` was `FT(0)`.

That was in contradiction with the documentation of
[`CGAL::Mesh_criteria_3`][*]:

> Each parameter has a special default value `ignored` which means that
> the corresponding criteria will be ignored.

With `edge_size=0`, the protection of 1D-features is certain to trigger
an assertion or a segmentation fault.

The new default value is now `FT(DBL_MAX)`.

[*]: http://doc.cgal.org/latest/Mesh_3/classCGAL_1_1Mesh__criteria__3.html#ada26edb7ee77aa7279b2ae7e96c56eb0
2016-05-26 12:33:30 +02:00
Guillaume Damiand 10469f9c4e Update with master 2016-05-25 10:58:55 +02:00
Laurent Rineau b8e97aa9ce Fix conversions warnings detected by MSVC 2016-04-21 16:39:31 +02:00
Laurent Rineau 5cf76255f8 Revert a decision made two years ago
I have decided to revert this commit:

> commit 874e96a553
> Author: Laurent Rineau <laurent.rineau@cgal.org>
> Date:   Tue Feb 4 12:33:59 2014 +0100
>
>     Fix a bug of the bissection oracle (Labeled_mesh_domain_3)
>
>     In CGAL-4.2 and previous, when a facet f was between finite cells c1,
>     and c2, with different subdomain indices, the surface patch index of f
>     was the pair { c1->subdomain_index(), c2->subdomain_index() }, say the
>     pair (1, 2). Since CGAL-4.3, with
>     CGAL_MESH_3_NO_LONGER_CALLS_DO_INTERSECT_3, the Do_intersect functor of
>     the domain is no longer called, and only Construct_intersection. If the
>     bissection eventually found out that the bissection ended up between the
>     volumes labeled 1 and 3, then the returned surface patch index was
>     {1,3}, instead of {1,2}. That commit fixes that "bug", and restores
>     the behavior of CGAL-4.2.

I have "fixed" the test as well.
2016-04-20 15:22:53 +02:00
Laurent Rineau 93da6c958c Fix a test
One cannot run `make_mesh_3` without `no_exude()`, and then use
`verify_c3t3`, that runs `refine_mesh_3`.
2016-04-04 15:49:07 +02:00
Guillaume Damiand 5083fcec6a Replace default_random by get_default_random() 2016-03-11 07:01:17 +01:00
Clement Jamin 9a61b23b55 Use get_default_random() instead of default_random 2016-03-09 10:35:21 +01:00
Jane Tournois 8700846451 remove deprecated binder1st from Mesh_3/test 2016-01-21 10:04:17 +01:00
Sebastien Loriot 90057adc10 Merge pull request #618 from janetournois/Mesh_3_tests-fix_memory-leak-GF
Mesh_3 - fix a memory leak in testsuite
2016-01-12 16:03:28 +01:00
Jane Tournois 58fb135d1c remove useless int* 2016-01-11 17:39:03 +01:00
Laurent Rineau b023f6c33a Test the manifold criterion, in Sequential mode 2016-01-05 17:41:28 +01:00
Laurent Rineau 7b53a337af Merge pull-request #483 from 'janetournois/Mesh_3-gray_level_image_oracle-lrineau'
Conflicts:
	.gitignore
	Mesh_3/include/CGAL/IO/File_medit.h
2016-01-05 14:58:18 +01:00
Sébastien Loriot dd955cef30 Merge pull-request #483 from 'janetournois/Mesh_3-gray_level_image_oracle-lrineau'
Mesh 3 : add gray level image oracle
2015-12-18 16:46:46 +01:00
Sébastien Loriot eedee33c44 clean up mesh_3 package directory 2015-11-24 01:15:05 +01:00
Jane Tournois 44f940164a add to mesh_3_options the ability to set the number of initial points from make_mesh_3
this is an undocumented internal feature
mainly for testing purposes
2015-11-23 16:48:15 +01:00
Jane Tournois 90fb441d09 add meshing_3D_gray_images test and data 2015-10-15 11:42:46 +02:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Laurent Rineau 9e586da1e6 Revert two commits.
Revert "Add longer tests, with other data"
Revert "Verbose testsuite. Should be reverted later."

This reverts commit 0f592d8e0a.
This reverts commit a8e6764c97.
2014-10-03 17:13:49 +02:00
Laurent Rineau 0f592d8e0a Verbose testsuite. Should be reverted later. 2014-10-03 16:41:06 +02:00
Laurent Rineau a8e6764c97 Add longer tests, with other data
So far, that shows bugs.
2014-10-03 16:39:04 +02:00
Sébastien Loriot 024bd2724f add output_facets_in_complex_to_off and update test and demo 2014-09-24 12:05:02 +02:00
Sébastien Loriot 9f3151c9f1 add test for C3T3::output_boundary_to_off 2014-09-24 09:12:21 +02:00
Laurent Rineau 8571477f92 Merge branch 'Mesh_3-fix_a_warning-GF'
Fix a warning.

Tested in CGAL-4.5-Ic-100.
Approved by the Release Manager.
2014-07-21 12:00:53 +02:00
Laurent Rineau 8ac225efa5 Trivial fix of a warning
Trivial bug-fix for master
2014-07-21 11:52:10 +02:00
Laurent Rineau f83486c5e3 Fix a warning when TBB is not used
test/Mesh_3/test_meshing_utilities.h:379:44: warning: typedef 'Concurrency_tag' locally defined but not used [-Wunused-local-typedefs]
     typedef typename C3t3::Concurrency_tag Concurrency_tag;
2014-07-18 17:29:27 +02:00
Laurent Rineau 3deb8e7910 Merge branch 'Mesh_3-compare_index-GF-old' into Mesh_3-compare_index-GF
Create an integration branch for 'Mesh_3-compare_index-GF': a new branch
created from 'master', where I merged the previous version of
'Mesh_3-compare_index-GF'.

There was a conflict with two features recently merged into 'master' for
CGAL-4.5:

- the move of two files from include/CGAL/Mesh_3/ to include/CGAL/. See
  the small feature:
    http://cgal.org/wiki/Features/Small_Features/New_constructor_in_Label_mesh_domain_3_and_new_function_wrapper

- parallelism for Triangulation_3 and Mesh_3:
    http://cgal.org/wiki/Features/Parallel_Mesh_3

Conflicts:
	Combinatorial_map/include/CGAL/Cell_attribute.h
	Mesh_3/include/CGAL/Implicit_mesh_domain_3.h
	Mesh_3/include/CGAL/Labeled_image_mesh_domain_3.h
	Mesh_3/include/CGAL/Mesh_3/Sliver_perturber.h
	Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h
	Mesh_3/test/Mesh_3/test_meshing_3D_image.cpp
	Mesh_3/test/Mesh_3/test_meshing_polyhedron.cpp
	Mesh_3/test/Mesh_3/test_meshing_polyhedron_with_features.cpp
	Polyhedron/demo/Polyhedron/Polyhedron_type.h
	STL_Extension/include/CGAL/Compact_container.h
	STL_Extension/test/STL_Extension/test_Compact_container.cpp

I also modified the following files during the conflict resolution:

	Linear_cell_complex/include/CGAL/Cell_attribute_with_point.h
	Mesh_3/include/CGAL/Labeled_mesh_domain_3.h
	Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
2014-07-18 15:47:14 +02:00
Clement Jamin c8c7ed03a6 Relax the "number of facets/vertices" criteria 2014-07-17 17:46:37 +02:00
Clement Jamin a7a654e207 Temporarily change Haussdorf distance threshold 2014-07-16 18:02:00 +02:00
Clement Jamin 32616470c7 Add parallelism to test_meshing_unit_tetrahedron.cpp 2014-07-15 20:04:35 +02:00
Clement Jamin 2d35c204fb Remove VERBOSE macro 2014-07-15 19:28:19 +02:00
Clement Jamin d299aa2202 Use different checking intervals for the sequential and the parallel version 2014-07-15 16:30:56 +02:00
Clement Jamin 1351dcbb7d Relax test 2014-07-08 19:04:23 +02:00
Clement Jamin 01b81c5bcb Fix GCC compilation 2014-07-08 16:17:51 +02:00
Clement Jamin 078e89f55f Add the possibility to remove the far points
The far points are added by the parallel version to reduce the contention
on the infinite vertex
2014-07-08 15:37:59 +02:00
Clement Jamin c2084d96c2 Add header 2014-07-07 20:36:31 +02:00
Clement Jamin dff670f4e3 Remove VERBOSE options 2014-07-07 11:00:41 +02:00
Clement Jamin 3a31722f37 Missing typenames 2014-07-02 16:48:49 +02:00
Clement Jamin 9932e97c7c Add missing typename + remove useless template parameter 2014-07-02 10:29:40 +02:00
Clement Jamin 6971ae4b72 The Mesh_3 tests now test both sequential and parallel version. 2014-07-01 18:53:37 +02:00
Clement Jamin 60df1d6d4a The type Tr and C3t3 are not used here. 2014-07-01 18:27:46 +02:00
Clement Jamin a0948a9dac Remove the "domain" parameter of the exuder
It had been added for the parallel version, but it's not needed anymore
2014-07-01 11:34:40 +02:00
Clement Jamin e3abf7fc40 Merge branch 'Mesh_3-parallel-cjamin-old' into Mesh_3-parallel-cjamin 2014-07-01 10:38:14 +02:00
Clement Jamin 15272293a8 Fix compilation with GCC 2014-06-30 21:29:12 +02:00
Clement Jamin 54774c78e1 Core is not needed 2014-06-30 19:56:53 +02:00
Laurent Rineau 61f0501ebb Do not use an OPTION in the testsuite 2014-06-25 15:24:38 +02:00
Laurent Rineau 35165e222d Test test_meshing_polyhedron with TBB
One wants to compile and test the TBB and the non-TBB version of Mesh_3
in a single test.
2014-06-25 14:32:11 +02:00
Clement Jamin 9eb766b039 CONCURRENT_MESH_3 => CGAL_CONCURRENT_MESH_3 2014-06-25 12:53:15 +02:00
Clement Jamin 4499a6abff Remove this old test completely 2014-06-04 18:03:47 +02:00
Sébastien Loriot 3fa09693a3 Merge branch 'Mesh_3-compare_index-GF-old' into Mesh_3-compare_index-GF
Conflicts:
	Mesh_3/include/CGAL/Mesh_3/Detect_features_in_polyhedra.h
	Mesh_3/include/CGAL/Mesh_domain_with_polyline_features_3.h
	Mesh_3/include/CGAL/Mesh_polyhedron_3.h
	Mesh_3/test/Mesh_3/test_meshing_polylines_only.cpp
	STL_Extension/include/CGAL/Compact_container.h
	STL_Extension/test/STL_Extension/test_Compact_container.cpp
2014-05-21 18:24:17 +02:00
Aymeric PELLE 9f11f46077 Merge branch 'Periodic_3_mesh_3-Extended_mesh_3-MBogdanov'
This small feature adds a new constructor in Labeled_mesh_domain_3 and
a new function wrapper. A Labeled_mesh_domain_3 can be built from an
Iso_cuboid_3 now.
(cf. https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/New_constructor_in_Label_mesh_domain_3_and_new_function_wrapper)
The new wrapper, Implicit_multi_domain_to_labeling_function_wrapper, is a
helping class to get a function with integer values labeling the
components of a multi-domain. This small feature was successfully tested in
the internal release CGAL-4.5-Ic-45.
Approved by the Release Manager.

Conflicts:
	Installation/changes.html
2014-05-21 18:01:42 +02:00
Clement Jamin 00a3e3691b /wd4503 and /bigobj are now already added by CGAL => useless here 2014-05-20 19:50:39 +02:00
Aymeric PELLE 566ad109eb Use CGAL macros for indicating deprecated headers. 2014-05-16 13:40:49 +02:00
Aymeric PELLE b899f9f346 Fix in the CMakeLists.txt file of Mesh_3 tests. 2014-05-15 13:55:54 +02:00
Clement Jamin f3c00442fd Merge branch 'Mesh_3-parallel-cjamin-old' into Mesh_3-parallel-cjamin 2014-05-14 19:05:40 +02:00
Aymeric PELLE 78261fcdc2 Function are wrapped into struct in two tests of Mesh_3.
Some compilers seems to not manage function reference.
2014-05-13 19:49:32 +02:00
Laurent Rineau 80ec1ff80b Merge branch 'Mesh_3-fix_Mesh_3_CGAL_4.3-lrineau'
Fix bugs introduced in CGAL-4.3.

Tested in CGAL-4.5-Ic-35

Approved by the release manager
2014-05-12 14:42:40 +02:00
Laurent Rineau 3c3b0a013a Fix expected number of cells 2014-05-12 14:41:36 +02:00
Laurent Rineau 3224c40861 Fix the number of inserted balls
With CGAL_MESH_3_NO_PROTECTION_NON_LINEAR==1, the number of protecting
balls is higher.
2014-05-09 10:49:19 +02:00
Laurent Rineau cd94d98168 Revert "Revert an incorrect push I did"
This reverts commit 33cb60cc29.
2014-05-07 15:24:25 +02:00
Laurent Rineau 33cb60cc29 Revert an incorrect push I did 2014-05-07 15:18:53 +02:00
Laurent Rineau bcefbcb8bd Merge remote-tracking branch 'origin/Periodic_3_mesh_3-Extended_mesh_3-MBogdanov' into Periodic_3_mesh_3-Extended_mesh_3-MBogdanov 2014-05-07 13:56:27 +02:00
Laurent Rineau 68c367a2df Revert "Revert "Merge branch 'Periodic_3_mesh_3-Extended_mesh_3-MBogdanov'""
This reverts commit 2e58135751.
2014-05-07 13:56:20 +02:00
Aymeric PELLE acc69fc3af Fix : modify the CMakeLists.txt file for tests of Mesh_3. 2014-04-29 21:14:57 +02:00
Aymeric PELLE 869223f06e Add an old example as a test for testing the retro-compatibility of Implicit_vector_to_labeled_function_wrapper. 2014-04-29 20:07:47 +02:00
Aymeric PELLE 0264e0a14c Add tests for old versions of Labeled_mesh_domain_3 and Implicit_vector_to_labeled_function_wrapper. 2014-04-29 19:44:09 +02:00
Aymeric PELLE a12fe7b728 Some classes are moved from the namespace CGAL::Mesh_3 to the namespace CGAL.
Labeled_mesh_domain_3.
Implicit_to_labeling_function_wrapper.
Implicit_vector_to_labeling_function_wrapper.
Implicit_multi_domain_to_labeling_function_wrapper.
2014-04-16 19:57:21 +02:00
Laurent Rineau 2e58135751 Revert "Merge branch 'Periodic_3_mesh_3-Extended_mesh_3-MBogdanov'"
This reverts commit 2ec2fb3c8e, reversing
changes made to 2ed7784521.
2014-04-16 17:37:04 +02:00
Aymeric PELLE 2ec2fb3c8e Merge branch 'Periodic_3_mesh_3-Extended_mesh_3-MBogdanov'
- This small feature adds a method to locate point with inexact predicates in
  Periodic_3_triangulation_3.
  (cf. https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Add_inexact_locate_in_Periodic_3_triangulation_3)
- Tested in CGAL-4.5-Ic-12
- Approved by the Release Manager.
2014-04-16 16:22:31 +02:00
Laurent Rineau bcdfdf5335 Cleanup trailing spaces 2014-04-16 15:42:46 +02:00
Laurent Rineau 14563753b7 Fix the test 2014-04-16 15:35:13 +02:00
Laurent Rineau 76e6325e50 Check the equality using the operator<< to a stringstream 2014-04-16 15:27:13 +02:00
Laurent Rineau aeb1d17cf6 "fix" the test
It seems that 700 was not a correct lower bound for the number of
protecting balls.
2014-04-16 14:59:54 +02:00
Aymeric PELLE 3de04a47de We construct explictly wrappers in test_labeled_mesh_domain_3. 2014-04-15 17:22:10 +02:00
Aymeric PELLE f008c28f7f The implicit wrapper had bad template parameter in test_labeled_mesh_domain_3.
Fix a warning : explicit conversion for the return value in
Implicit_multi_domain_to_labeling_function_wrapper.
2014-04-14 18:41:16 +02:00
Laurent Rineau e8134e5f25 Merge branch 'Mesh_3-fix_warnings-lrineau'
Fix warnings about unused variables/parameters

Use pragmas, when that is needed (for Boost named parameters)

Tested in CGAL-4.5-Ic-7.

Approved by the Release Manager.
2014-04-11 11:33:11 +02:00
Aymeric PELLE 260a4b1bf3 Fix : Use CGAL::cpp11::get<> instead of the tuple::get<> method.
Indeed, tuple::get<> doen't exist for all configurations. (c++11, ...)
2014-04-09 14:18:12 +02:00
Aymeric PELLE 8ae6dd8ad4 Fix : Remove 'typename' in the test of the wrapper for multi domain. 2014-04-09 13:35:41 +02:00
Aymeric PELLE 30e71be043 Labeled_mesh_domain_3.h and Implicit_to_labeling_function_wrapper are moved.
These files are moved to Mesh_3/include/CGAL/ because they are documented,
so they can be used by users.
2014-04-07 19:12:30 +02:00
Aymeric PELLE 477f0a4ac1 Add a test for Implicit_multi_domain_to_labeling_function_wrapper.
Fix a bug with the constructor taking one parameter only.
2014-04-01 16:30:32 +02:00
Laurent Rineau ba05c364a6 Tweak the values of the test 2014-04-01 11:51:39 +02:00
Laurent Rineau b2dd650449 Add a new test 2014-03-31 17:52:15 +02:00
Jane Tournois 1e7633d863 add the display of the seed to make tests reproducible
will be debugging
2014-03-27 10:41:17 +01:00