Commit Graph

278 Commits

Author SHA1 Message Date
Laurent Rineau 0681ac6dbc Fix the TBB_USE_FILE warnings 2017-11-15 17:00:02 +01:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +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
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é 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é 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é 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
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
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