Commit Graph

1272 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 2556196dad Merge remote-tracking branch 'cgal/master' into CGAL-Optimal_bounding_box-GF 2020-03-23 08:59:49 +01:00
Sébastien Loriot 149c7a4afc Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch' 2020-03-19 16:29:33 +01:00
Sébastien Loriot d10359d09e Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2020-03-19 16:27:55 +01:00
Mael Rouxel-Labbé 100304667d Remove CGAL::internal::boost_::function_property_map
This file was duplicated from BOOST 1.64 because it appeared in a boost
release that was younger than the oldest boost release supported by CGAL
when the file was first required.

The minimum boost version (1.57) now required by CGAL is younger
than the version in which the file appeared in boost (1.51)
and it can thus be removed.
2020-03-12 20:58:44 +01:00
Mael Rouxel-Labbé 5a3d877892 Add #include for boost::result_of 2020-03-10 11:54:21 +01:00
Laurent Rineau 378554e5a7 Change the API of `for_compact_container`/`Compact_container_traits`
Now, we have a proper pair of getter/setter, and the `void` pointer is
get by a `reinterpret_cast`, instead of a union.

Cc: @mglisse
2020-03-09 17:19:58 +01:00
Mael Rouxel-Labbé adec4123a0 Take return of construct_point by reference when possible 2020-03-09 16:33:08 +01:00
Mael Rouxel-Labbé 77a0115dc4 Add missing 'const' 2020-03-09 16:32:54 +01:00
Mael Rouxel-Labbé ab9f158cb0 Merge branch 'TDS-Fix_doc-GF-old' into TDS-Fix_doc-GF 2020-01-15 18:07:51 +01:00
Maxime Gimeno 3b6888e2a9 remove QString.sprintf call 2020-01-14 15:18:47 +01:00
Maxime Gimeno ddbfdfcfa9 Fix sprintf issue 2020-01-13 16:34:00 +01:00
Maxime Gimeno c1acf50252 clean-up P3T3 demo 2020-01-13 16:33:43 +01:00
Maxime Gimeno 93c2247335 Replace all QTimers 2020-01-13 16:33:30 +01:00
Maxime Gimeno 1efca4b19a Fix sprintf issue 2020-01-13 16:25:48 +01:00
Maxime Gimeno 129eae699b clean-up P3T3 demo 2020-01-09 15:01:58 +01:00
Maxime Gimeno 4de511f052 Replace all QTimers 2020-01-09 14:11:50 +01:00
Mael Rouxel-Labbé 801187c642 Clean some tests 2019-12-30 18:30:28 +01:00
Sébastien Loriot 585bb8c7d6 fix license issues 2019-11-07 06:22:28 +01:00
Sébastien Loriot 52164b1fba First pass on removing license notice in header for LGPL files 2019-10-19 15:40:30 +02:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Maxime Gimeno 660ebe9e81 Add missing highp and remove unwanted highp 2019-08-05 14:16:02 +02:00
Sébastien Loriot fbafb9d06f fix remaining mismatches and fix bugs 2019-07-10 11:40:45 +02:00
Sébastien Loriot 983645a51a match @{ and @} 2019-07-05 21:49:46 +02:00
Laurent Rineau 32f80cbece Merge pull request #4018 from lrineau/CGAL-refresh_cmake_minimum_required-GF
CMake>=3.13: opt for for new policies up to 3.15
2019-07-01 11:16:30 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Mael Rouxel-Labbé 19de8eda04 Merge branch 'PMP-Generalize_keep_largest_CC-GF-old' into PMP-Generalize_keep_largest_CC-GF 2019-06-17 15:18:33 +02:00
Andreas Fabri e2d19b0c8d Replace NULL and Nullptr_t with nullptr and nullptr_t 2019-06-04 23:45:44 +02:00
Laurent Rineau 5c2df203b4 Merge pull request #3943 from mglisse/Number_types-expression_templates-glisse
Misc fixes for expression templates
2019-05-23 08:50:17 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Marc Glisse a676b75ca0 Misc fixes for expression templates 2019-05-17 19:48:41 +02:00
Mael Rouxel-Labbé a2d5ab86cf Fix typo 2019-05-07 11:46:17 +02:00
Maxime Gimeno 62f0a73ea6 Remove useless include_directories for Qt 2019-04-18 16:00:40 +02: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
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
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
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 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Sébastien Loriot 2ce16d14b5 remove workaround code for cpp11 in triangulation packages 2019-03-29 10:41:50 +01:00
Andreas Fabri a0be3b44af Periodic and Hyperbolic triangulations: backtick 2019-03-08 09:57:57 +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 801376b8cb Merge pull request #3679 from maxGimeno/P3T3_demo-Fix_animation-GF
P3t3 demo: Fix crash
2019-02-16 14:00:23 +01: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
Sébastien Loriot 90ad079eb4 use macro for subsections
command used:
grep -l  "###" */doc/*/PackageDescription.txt |  xargs sed -i  -E 's/\#\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\#\s*$/\\cgalCRPSubsection{\1}/
2019-02-14 10:32:00 +01:00
Laurent Rineau 87ad97b6ee Merge pull request #3665 from afabri/Regular_triangulation_3-add_range-GF
Regular_triangulation_3: Add Regular_triangulation_cell_base_3::hidden_points()
2019-02-13 15:38:30 +01:00
Laurent Rineau b367aabffd Merge pull request #3670 from afabri/Periodic_T3-initialize_Point_3-GF
Periodic_3_triangulation_3 demo: Initialize Point_3
2019-02-13 15:38:22 +01:00
Maxime Gimeno c6fe1f50b4 Use the Locate_type 2019-02-13 14:04:39 +01:00
Maxime Gimeno 90b6c43cde Toggle the flying ball by default. 2019-02-13 10:19:13 +01:00
Maxime Gimeno b7fbac9bea Fix crash in p3t3_demo when inserting point and drawing conflicts. 2019-02-13 10:04:13 +01:00
Andreas Fabri de77dbd5eb cleanup 2019-02-08 16:49:58 +01:00
Andreas Fabri ce5472de15 Don't test on two files but on random points again 2019-02-08 16:39:42 +01:00
Andreas Fabri 98246c9497 Use centroid 2019-02-08 11:09:43 +01:00
Andreas Fabri 7ee9a8ad06 Periodic_T_3 demo: Initialize Point_3 2019-02-08 10:42:27 +01:00
Andreas Fabri 88add6bc7b Regular_triangulation_3: Add undocumented Regular_triangulation_cell_base_3::hidden_points() 2019-02-07 15:24:00 +01:00
Sébastien Loriot e4cbae525c Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into HEAD 2019-01-31 11:25:26 +01:00
Laurent Rineau a11f6562c6 Support Qt-5.12: qcollectiongenerator merged into qhelpgenerator 2019-01-11 10:54:52 +01:00
Maxime Gimeno d6cfa1a868 Fix CMake warnings about CMP for Visual 2017 2018-11-21 16:17:39 +01:00
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +01:00
Laurent Rineau d34fb00e08 Merge pull request #3389 from MaelRL/P3T3-Fix_random_shuffle-GF
P3T3: Minor improvements (random_shuffle + determinism)
2018-10-29 10:42:44 +01:00
Laurent Rineau 8c60160697 Merge pull request #3389 from MaelRL/P3T3-Fix_random_shuffle-GF
P3T3: Minor improvements (random_shuffle + determinism)
2018-10-29 10:27:55 +01:00
Guillaume Damiand ef771d0f97 Re-add include({CGAL_USE_FILE}) is demo with core or image io, and set(CMAKE_INCLUDE_CURRENT_DIR ON) in others. 2018-10-19 09:51:14 +02:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0c2dcf7208 Re-add include({CGAL_USE_FILE} ) in each CMakeLists.txt where CGAL is used with some component. 2018-10-18 14:38:42 +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
Mael Rouxel-Labbé 7b90f28601 Removed redundant call to random_shuffle when using 'is_large_point_set' 2018-10-10 11:03:52 +02:00
Mael Rouxel-Labbé 592d60ff0d There is no need to compare addresses, compare iterators directly
Also needed for determinism
2018-10-10 10:42:31 +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
Sébastien Loriot d05df530b3 Merge pull request #2658 from MaelRL/Periodic_3_mesh_3-Feature-MBogdanov
Periodic_3_mesh_3, new package
2018-07-25 18:55:12 +02:00
Sébastien Loriot d514411868 re-add files removed during git filter-branch 2018-07-19 21:47:31 +02:00
Mael Rouxel-Labbé 7c68a8a743 Added a quick return to P3RT3 set_point() if the new position is the current one 2018-07-18 16:51:43 +02:00
Maxime Gimeno fcf16d31e3 Fix Periodic-3 demos 2018-07-10 16:32:22 +02:00
Mael Rouxel-Labbé 980036feaf Fixed p3rt3's operator>> not setting up orthosphere radius bound 2018-07-01 11:35:39 +02:00
Mael Rouxel-Labbé 09cce4384f Use threshold member instead of recomputing it 2018-06-29 16:52:19 +02:00
Mael Rouxel-Labbé 578302f342 Properly test P3T3 copy constructors 2018-06-28 13:02:23 +02:00
Mael Rouxel-Labbé cfad163749 Fixed some issues in the P3T3 constructors
- The copy constructor of P3T3 didn't do anything
- There is no need to duplicate copy_multiple_coverings in P3RT3 and P3DT3,
  it can simply be factorized at P3T3 level, solving the first point.
- P3T3 constructor shouldn't call virtual functions
- Some other minor stuff
2018-06-28 12:59:29 +02:00
Mael Rouxel-Labbé 9b5b558101 Do not take argument of P3T3 operator= by reference
Since we're swapping, it needs to be copy
2018-06-27 17:12:22 +02:00
Mael Rouxel-Labbé 3e1bf168f8 Removed commented code 2018-06-27 16:30:44 +02:00
Mael Rouxel-Labbé 4e256ef80e Fixed deleting only the last newly-created cell during a periodic_remove abort 2018-06-27 16:30:36 +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
Mael Rouxel-Labbé 1765d23536 Don't expose P3T3's _cover member 2018-06-18 13:15: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é 9e66bc65ef Cleaned output 2018-06-06 17:02:50 +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
Andreas Fabri cc61059cc8 Fix Periodic_3 demo (CGAL_PI) 2018-05-23 16:21:57 +02:00
Maxime Gimeno dbfa5bf8ad Fix remaining Viewer error in P3T3 demo 2018-05-17 10:20:57 +02:00
Maxime Gimeno f22c2864a0 Put qglviewer in the namespace CGAL 2018-05-17 10:20:56 +02:00
Andreas Fabri ff0836ec79 cleanup 2018-05-17 10:20:56 +02:00
Maxime Gimeno f1700285de Restore snapshot feature in P3T3 demo 2018-05-17 10:20:56 +02:00
Maxime Gimeno 4d13eb724f Remove render video feature of loyd demo and fix drawvisualhnts in the qglviewer code. 2018-05-17 10:20:55 +02:00
Maxime Gimeno c7185f5893 Remove the snapshot feature from P3T3 demo. 2018-05-17 10:20:55 +02:00
Maxime Gimeno 6584abd90b Use integrated qglviewer for 3D demos 2018-05-17 10:20:55 +02:00
Mael Rouxel-Labbé 7007f44f1f Removed deprecated (since 2014) cls Triangulation_cell_base_with_circumcenter_3 2018-04-26 13:00:21 +02:00
Mael Rouxel-Labbé 17d46e9211 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-04-26 11:55:17 +02:00
Andreas Fabri c54a6a4980 Put CGAL::random_shuffle() in the subnamespace cpp98 2018-04-11 09:32:23 +01:00
Andreas Fabri dde83c804d Add #include 2018-04-05 11:42:36 +01:00
Andreas Fabri 3955f031bd Fix examples/tests/demos 2018-04-04 14:18:22 +01:00
Andreas Fabri 063a91a771 Use CGAL::random_shuffle 2018-04-04 14:00:23 +01:00
Mael Rouxel-Labbé 8646350d47 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-03-15 14:42:21 +01:00
Sébastien Loriot 01af331c72 use https for all links to www.cgal.org and doc.cgal.org 2018-03-14 15:59:38 +01:00
Laurent Rineau 0a74393dcf Commit all new dependencies files 2018-03-06 18:44:48 +01: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 452b2360a1 Merge pull request #2807 from maxGimeno/Fedora_32-Fix_error-GF
Fix Fedora_32 errors in the testsuite
2018-02-14 15:35:13 +01:00
Laurent Rineau 01e2405fa7 Merge pull request #2774 from MaelRL/T3-Fix_is_Gabriel-GF
T3/P3T3: Fix Is_Gabriel(Vertex_handle) for regular triangulations
2018-02-14 15:35:05 +01:00
Maxime Gimeno 86ec93aa25 Remove Qt5::Help from CMakeLists because it causes errors and it is not used. 2018-02-08 09:18:04 +01:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno 8bde832931 Fix METIS headers in BGL 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno ae36b452bc Add dependencies of all packages 2018-02-02 12:08:05 +01:00
Mael Rouxel-Labbé baa1915edf Changed variable name and initialization 2018-02-01 10:39:36 +01:00
Mael Rouxel-Labbé 95f36b1f12 Added a test P3RT3 is_Gabriel 2018-01-31 15:29:18 +01:00
Mael Rouxel-Labbé 6331d0f238 Fixed is_Gabriel(Vertex_handle) for P3RT3 2018-01-31 15:29:11 +01:00
Mael Rouxel-Labbé c88044d40a Fixed nearest_power_vertex for P3RT3 2018-01-31 15:27:39 +01:00
Mael Rouxel-Labbé bd4c643868 Fixed T3/P3T3 concepts
- Fixed RT/DT/P3RT3/P3DT3 not requiring (power)side_of_bounded_(power)_sphere
- No need to specify offset-less predicates in Periodic concepts
2018-01-31 15:27:15 +01:00
Andreas Fabri 9546d96ae0 Mael's comment 2018-01-16 12:10:35 +00:00
Andreas Fabri cfd566acef Add timers in all tests, remove an old expensive assertion, and replace a map with an unordered_map 2018-01-16 11:45:51 +00:00
Laurent Rineau 42b11ddf29 Revert the merge of PR #2478
This reverts the merge commit 46cc91e787 onto
488c3e2879.
2018-01-04 17:54:08 +01:00
Mael Rouxel-Labbé 947d428ba9 Removed useless typedefs 2017-12-20 11:11:48 +01:00
Mael Rouxel-Labbé 0bca01d872 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-12-19 17:22:03 +01:00
Mael Rouxel-Labbé 3e48f65c08 Doc improvements 2017-12-18 16:50:11 +01:00
Mael Rouxel-Labbé 33ad44254e Fixed typo 2017-12-16 13:15:07 +01:00
Mael Rouxel-Labbé ec8d413f17 Fixed missing overload 2017-12-16 13:07:31 +01:00
Mael Rouxel-Labbé c6f58bce4e Reworked the way periodicity is defined
The input domain does not need to be periodic. It is the domain class that
has to handle the periodicity. This is cleaner mathematically and will be
more natural for other types of domains.

Along the way, the labeled periodic domain is brought up to date with Mesh_3's
(bug fixes, null subdomain index, etc.)
2017-12-15 17:25:42 +01:00
Mael Rouxel-Labbé dac2327c5e Clarified possible numerical issues in P3T3's construct_periodic_point() 2017-12-15 11:29:00 +01:00
Mael Rouxel-Labbé 75e31070f6 Fixed not initializing the visited flags to 'false' 2017-12-15 11:25:34 +01:00
Mael Rouxel-Labbé adfdc70374 Uniformized template parameters names in all P3T3 traits classes
Hopefully works around a bug in MSCV compilers too
2017-12-12 20:53:10 +01:00
Mael Rouxel-Labbé 417903d640 Reworked some 'using' keywords in P3T3 traits classes 2017-12-12 17:48:51 +01:00
Mael Rouxel-Labbé fb740af70e Replaced a 'using' 2017-12-12 16:35:37 +01:00
Mael Rouxel-Labbé 9a0075ef01 Silenced some output 2017-12-12 00:25:02 +01:00
Mael Rouxel-Labbé 881ad18dac Removed CXX standard from CMakeLists 2017-12-09 18:10:34 +01:00
Andreas Fabri dc543af517 Use static arrays and a loop to initialize (accelerates compilation on VC++ 2017-12-07 17:05:56 +00:00
Andreas Fabri 99617c37cb Use static arrays and a loop to initialize (accelerates compilation on VC++ 2017-12-07 16:58:47 +00: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
Laurent Rineau f37630bc0f Merge branch 'releases/CGAL-4.11-branch'
# Conflicts:
#	Kernel_23/test/Kernel_23/include/CGAL/_Result_of_kernel.h
#	Kernel_23/test/Kernel_23/test_result_of.cpp
2017-12-05 18:14:23 +01:00
Mael Rouxel-Labbé c18e005cd4 Added a couple of missing tags 2017-12-05 17:20:46 +01:00
Mael Rouxel-Labbé 28c5e09d4d Made is_1_cover() public 2017-11-30 17:13:05 +01:00
Mael Rouxel-Labbé a33c162f60 Moved include 2017-11-30 17:12:54 +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é 13a49227c1 Improved documentation 2017-11-29 16:32:58 +01:00
Mael Rouxel-Labbé 5b93c880de Added missing licence 2017-11-29 12:32:31 +01:00
Mael Rouxel-Labbé 486ad2a0d6 Do not automatically use `visited_for_vertex_extractor` in P3T3
See comment in code for the reason.
2017-11-29 11:57:18 +01:00
Laurent Rineau 6ec4c12031 Do not use OpenGL directly, but only using Qt5 OpenGL classes 2017-11-28 17:58:12 +01:00
Mael Rouxel-Labbé 2ca8e6a4e1 Use enum cast rather than C casts 2017-11-28 15:26:07 +01:00
Mael Rouxel-Labbé 0ac5ba8a88 Added 'remove_if_no_cover_change()'
This function allows to attempt to remove points, but abort and return 'false'
if the removal of the point would need to change the cover to 27-sheet.
2017-11-28 15:19:59 +01:00
Mael Rouxel-Labbé ce0c2afd40 Readability changes
Increasing reader sanity, one commit at a time
2017-11-24 11:19:21 +01:00
Mael Rouxel-Labbé 59017a5e9e Minor code cleaning 2017-11-21 16:14:16 +01:00
Mael Rouxel-Labbé c1a4fe3d65 Added dual_segment_exact 2017-11-21 16:12:40 +01:00
Mael Rouxel-Labbé 07d6ce363d Cleaned some obsolete todos 2017-11-20 17:35:24 +01:00
Mael Rouxel-Labbé 3f39a7e33e Minor improvement to P3DT3's nearest_vertex function
simply copying changes from P3RT3
2017-11-20 16:49:05 +01:00
Mael Rouxel-Labbé f3931d5877 Misc minor changes 2017-11-17 18:42:34 +01:00
Mael Rouxel-Labbé 1f7c95cd27 Implemented clear_covering_data for periodic regular triangulations 2017-11-17 18:35:53 +01:00
Mael Rouxel-Labbé adfb2f6e74 Fixed nearest_power_vertex functions (some issue with offsets) 2017-11-17 18:34:58 +01:00
Mael Rouxel-Labbé fffdce7487 Added some clarifying comments 2017-11-17 18:32:11 +01:00
Mael Rouxel-Labbé d37c9cf802 Added a precondition 2017-11-17 18:28:58 +01:00
Mael Rouxel-Labbé 36a5a43111 Fixed 'Is_Gabriel' using wrong offsets in 27-sheeted triangulations 2017-11-17 17:21:45 +01:00
Mael Rouxel-Labbé b0eb340e7f Merge remote-tracking branch 'mine/P3T3-Fix_Gabriel_functions-GF' into P3RT3-Fix_Gabriel_functions-GF 2017-11-17 17:14:18 +01:00
Mael Rouxel-Labbé 8baa0be80f Fixed 'Is_Gabriel' using wrong offsets in 27-sheeted triangulations 2017-11-17 17:04:48 +01:00
Laurent Rineau 25dffa1710 Modern usage of Qt5 CMake scripts, to allow CMAKE_WARN_DEPRECATED 2017-11-17 12:54:13 +01:00
Laurent Rineau bbee705221 Add compilation tests for demos 2017-11-16 18:38:15 +01:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +01:00
Laurent Rineau a9365554c9 Merge pull request #2550 from sloriot/CGAL-add_SPDX_tags
Add SPDX License Identifier
2017-11-15 16:48:27 +01:00
Laurent Rineau 3ff09bc549 Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-15 16:47:42 +01:00
Laurent Rineau 86fb40832a Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-13 12:01:39 +01:00
Sébastien Loriot ff26773f7b remove include directive for checking GPL compliance in LGPL headers 2017-11-12 10:21:35 +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 97e8ea1794 remove extra space 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é e1d09b140a Added 'nearest_power_vertex_with_sq_distance'
Which returns, in addition to the power vertex, the squared distance
to this nearest power vertex

Done to avoid a call to tr.min_squared_distance() which is costly for P3M3
2017-11-10 17:49:07 +01:00
Mael Rouxel-Labbé 4294d546b3 Changed some P3T3 tests to fit function preconditions
Calls to locate(), nearest_vertex(), etc. should use canonical points
2017-11-10 16:24:03 +01:00
Mael Rouxel-Labbé 84e9c0c189 Removed some precondition() 2017-11-09 14:00:08 +01:00
Mael Rouxel-Labbé 77e98b977e Minor readability change 2017-11-09 10:52:19 +01:00
Mael Rouxel-Labbé ffc6cffe07 Removed a bunch of useless "using" 2017-11-09 10:51:07 +01:00
Mael Rouxel-Labbé 5208bd7cd2 Added a function that returns the dummy points (but does not insert them) 2017-11-09 10:34:34 +01:00
Mael Rouxel-Labbé dee1112ed9 Added treshold power radius to P3RT3's class members 2017-11-09 10:34:09 +01:00
Laurent Rineau 62c70d41ca Renew the handle of policies, for CMake-3.10
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.

`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Mael Rouxel-Labbé 78b32eb91b Fixed trailing whitespace (no real changes) 2017-11-06 13:19:14 +01:00
Mael Rouxel-Labbé 47c6f59f3f Fixed P3RT3's nearest_power_vertex()
- locate() falling a vertex doesn't mean that this vertex is the closest to
  the point
- the cell containing the point is not necessarily in conflict with the query
  in a weighted triangulation. Besides, there's no need to find the offset like
  that because periodic_locate() returns it already.

Changes to be reproduced for P3DT3.
2017-11-02 14:29:01 +01:00
Mael Rouxel-Labbé 3b0425a48d Misc minor changes
Mostly code cleaning
2017-10-31 15:49:15 +01:00
Mael Rouxel-Labbé ac0a27cdfd Made Mesh_3's optimizers work with periodic triangulations 2017-10-31 15:47:23 +01:00
Mael Rouxel-Labbé 7009f228a5 Changed some documentation and comments 2017-10-30 14:50:51 +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
Mael Rouxel-Labbé bae6f15fa5 WIP commit 2017-10-27 15:34:33 +02:00
Mael Rouxel-Labbé 41f5c47394 Misc minor changes
Indentation, comments, whitespace, etc.
2017-10-22 23:28:37 +02:00
Mael Rouxel-Labbé 94bb59b722 Various doc/comments improvements 2017-10-17 12:45:30 +02:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Mael Rouxel-Labbé b82814a24b Changed K::Has_[static/filtered]... to use Has_[static/filtered]_...<K> instead 2017-08-29 12:35:46 +02:00
Mael Rouxel-Labbé 1473db57dc Fixed missing include 2017-08-24 10:30:58 +02:00
Mael Rouxel-Labbé 3640902c6f Misc minor changes 2017-08-23 17:15:44 +02:00
Mael Rouxel-Labbé aaeaf35380 Introduced the tag "Periodic_tag" to mark distinguish periodic triangulations 2017-08-23 16:18:05 +02:00
Mael Rouxel-Labbé 84d11ac797 Fixed Offset definition in P3T3's static filtered predicates 2017-08-23 11:00:03 +02:00
Mael Rouxel-Labbé f6da2ed7dc Static filter must be templated by the traits, not the kernel 2017-08-23 10:59:40 +02:00
Mael Rouxel-Labbé 1cc8449b34 Fixed using Point's default constructor instead of the base's operator() 2017-08-23 10:59:18 +02:00
Mael Rouxel-Labbé cf01313055 Fixed some P3T3 doc 2017-08-23 10:59:09 +02:00
Mael Rouxel-Labbé af86bfca8b Renamed P3T3's offset-handling functors (added a _3 suffix) 2017-08-22 13:38:31 +02:00
Sébastien Loriot 9bb2d4433f Merge remote-tracking branch 'cgal/releases/CGAL-4.10-branch' 2017-08-04 13:37:58 +02:00
Mael Rouxel-Labbé f95e207b60 Removed license headers from P3T3 test files 2017-08-03 15:38:51 +02:00
Maxime Gimeno 831f0239cb Fix CMP0071 warning. 2017-08-03 10:38:19 +02:00
Mael Rouxel-Labbé 3eebe5156b Improved readability of test file 2017-07-31 16:18:49 +02:00
Mael Rouxel-Labbé fd1c9d5dfa Added periodic weighted alpha shapes to the doc 2017-07-31 16:17:23 +02:00
Mael Rouxel-Labbé 06bfbfec6f Cleaned useless typedef/function in P3DT3
Those are now in the class P3T3
2017-07-31 15:30:58 +02:00
Mael Rouxel-Labbé a1c57031ba P3RT3 can now be used with Alpha Shapes 3 2017-07-31 12:52:22 +02:00
Mael Rouxel-Labbé 69167aef9a Move P3T3 off output to CGAL namespace 2017-07-31 12:52:21 +02:00
Mael Rouxel-Labbé acc79c707f Added a test to check that P3RT3 and RT3 produces consistent results 2017-07-31 12:52:09 +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
Mael Rouxel-Labbé b330f05354 Misc minor changes 2017-07-27 17:01:28 +02:00
Mael Rouxel-Labbé 95ac19b935 Fixed exact construct periodic point 2017-07-27 12:13:33 +02:00
Laurent Rineau 871bba21f6 Merge pull request #2212 from MaelRL/Periodic_3_Regular_triangulation_3-APelle
Add periodic regular triangulations
2017-07-17 12:23:54 +02:00
Laurent Rineau 031205362b Fix the issue of the rounding mode
Replace a call to `force_ieee_double_precision()` by the creation of a
guard object `Set_ieee_double_precision`. The destructor of that object
restores the rounding mode. That avoids that sort of error:
```
terminate called after throwing an instance of 'CGAL::Assertion_exception'
  what():  CGAL ERROR: assertion violation!
Expr: FPU_get_cw() == mode
File: /mnt/testsuite/include/CGAL/test_FPU_rounding_mode_impl.h
Line: 45
```
2017-07-13 17:26:59 +02:00
Andreas Fabri 3329e0d6c7 Do not test hierarchy with epec in VC++ debug mode; make a test less verbose 2017-07-12 22:11:09 +02:00
Andreas Fabri ec7888cfb2 No need to do the complete specialization several times 2017-07-11 15:20:51 +02:00
Andreas Fabri c533398777 Replace >5000 function calls with an array of that size 2017-07-11 15:20:25 +02:00
Maxime Gimeno 51f7218c2a FIx Lloyd demo for QGLViewer 2.7 2017-07-10 16:11:09 +02:00
Maxime Gimeno 3a97734a70 fix T3 demo for QGLViewer v2.7.0 2017-07-10 16:11:09 +02:00
Laurent Rineau ab46739f07 Merge pull request #2213 from maxGimeno/Fix_demos_for_qglviewer2_7_0-GF
Fix demos for qglviewer 2.7.0
2017-07-10 15:00:09 +02:00
Mael Rouxel-Labbé 862e8a3f28 Disabled P3T3 test 2017-07-05 12:04:18 +02:00
Mael Rouxel-Labbé ad6361e45f Added virtual destructors 2017-07-05 11:53:09 +02:00
Mael Rouxel-Labbé 98f3211788 Re-added P3RT3_covering_test.tri (lighter version) 2017-07-04 18:45:00 +02:00
Mael Rouxel-Labbé 81fd184ecd Misc minor changes 2017-07-04 16:44:18 +02:00
Mael Rouxel-Labbé ee9de2ef90 Fixed including GMP without guards 2017-07-04 16:39:42 +02:00
Laurent Rineau 69f0125004 Fix the Travis build issue
On Trusty-updates, clang-3.6 with g++-4.8 cannot compile `<cstdio>` with
`-std=c++1y`. That is a [known bug].

  [known bug]: https://stackoverflow.com/q/24342312/1728537
2017-07-04 15:59:41 +02:00
Mael Rouxel-Labbé f14bb1747b Merge branch 'Periodic_3_Regular_triangulation_3-APelle' of github.com:CGAL/cgal-public-dev into Periodic_3_Regular_triangulation_3-APelle 2017-07-04 14:32:22 +02:00
Mael Rouxel-Labbé 006bdb18f6 Fixed not using CGAL's function_property_map in P3RT3 2017-07-04 14:31:14 +02:00
Jane Tournois e9ef53f09e do not use an erased iterator 2017-07-04 14:28:11 +02:00
Mael Rouxel-Labbé 24fd3fe0bb Fixed depending on a stable random generator to test P3T3
The tests check that the number of elements is the one expected, but if the
random generator changes (even for a fixed seed), this breaks everything...

Instead, we dump the random generator for a given seed and use this output
as input every time.

This commit is inspired by the playstation network.
2017-07-04 12:50:11 +02:00
Mael Rouxel-Labbé 629f38e440 Fixed size_t / int conversion warning 2017-07-04 10:51:55 +02:00
Mael Rouxel-Labbé 0c8aa344dd Revert "Add 'visited_for_vertex_extractor' to the periodic TDS vertex base"
This reverts commit 0a5e3320d99327f649a39e97ebb5e12966afec0e.

Not sure what this commit was, might have been for P3M3 ? In any case, this is
not how it should be done...
2017-07-03 18:48:28 +02:00
Mael Rouxel-Labbé 2ae3eaae17 Fixed P3T3's number_of_finite_edges() 2017-07-03 16:26:41 +02:00
Maxime Gimeno 82f39dadbf FIx Lloyd demo for QGLViewer 2.7 2017-07-03 09:35:14 +02:00
Maxime Gimeno 9bf422ad5b fix T3 demo for QGLViewer v2.7.0 2017-07-03 09:35:14 +02:00
Mael Rouxel-Labbé 1fc2282350 Fixed regular triangulation capitalization across CGAL 2017-06-28 10:16:23 +02:00
Mael Rouxel-Labbé 376fab19ab Periodic_3 construct point 3 needs access to its base operator() 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 1163d7e3c1 Periodic_3 remove traits must overwrite construct_point_3() 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 4e33192074 Fixed get_offset_location's second version 2017-06-22 16:02:37 +02:00
Mael Rouxel-Labbé dc8e2a62d5 Minor P3T3 doc changes 2017-06-22 16:02:00 +02:00
Mael Rouxel-Labbé d9c3ec76ad Reworked dual(Cell_handle) and introduced canonical_dual(Cell_handle)
-- canonical_dual() is what the old dual() function was: returns the
   representation of the dual of the cell handle that is in the domain
-- dual() returns the 'true' dual of the cell handle, which might be out of
   the canonical domain.

The point is that P3M3 must return the 'true' dual to have no issue with the
conflict assertions of Mesh_3, and not a canonicalized dual !
2017-06-22 15:58:25 +02:00
Mael Rouxel-Labbé a8336f39ec Minor misc changes 2017-06-22 15:52:43 +02:00
Mael Rouxel-Labbé 956b1f6fc0 Introduced robust_canonicalize_point()
This is a way to handle points that are epsilon-close to the boundary yet still
outside. This might create numerical issue such that the point + any offset
does not fall into the domain (due to -epsilon + 1 ~= 1)

The numerical issue is detected when the offset is computed and we snap the
point to the domain.

This is done for P3M3 only (not P3T3: people should give proper input points!)
2017-06-22 15:48:01 +02:00
Mael Rouxel-Labbé ea5a063db8 Added new traits class: Robust_peroidic_weighted_circumcenter_traits_3
The purpose of that class is somewhat similar to Robust_weighed_circum...etc.:
it aims to provide robust circumcenter computations.

This is the parallel version that switches to exact if the circumcenter is
not in the (smallest) power sphere of the points.

The accuracy issue comes from the use of construct_point_3 with offsets.
Consequently, this class only overrides the versions with offsets.
The other robust class should be used for non-offset versions.
2017-06-22 15:15:55 +02:00
Mael Rouxel-Labbé 7c014c9e27 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
Based on cgal-public-dev/Periodic_3_Regular...
  @ 7efd46f427580437943fa549bdbf1159f35b1edb
2017-06-16 11:21:52 +02:00
Mael Rouxel-Labbé 3c42724e22 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle
Based on Kernel_Weighted_point_without...
  @ 41e7520b3e
2017-06-15 15:07:53 +02:00
Mael Rouxel-Labbé 5018c014b7 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle
Based on Kernel_Weighted_point_without...
  @ 41e7520b3e
2017-06-15 15:07:53 +02:00
Mael Rouxel-Labbé 98800d2de8 Fixed regular triangulation capitalization across CGAL 2017-06-15 10:34:15 +02:00
Mael Rouxel-Labbé 2dbee09cab Periodic_3 construct point 3 needs access to its base operator() 2017-06-15 10:34:15 +02:00
Mael Rouxel-Labbé 1192f2eba1 Periodic_3 remove traits must overwrite construct_point_3() 2017-06-15 10:34:15 +02:00
Mael Rouxel-Labbé 3abbace437 Minor improvements to P3T3's tests
-- It's a bit dangerous to take random points in the complete periodic domain
   because insert(p) should have p in the original domain and half the border
   of the periodic domain is open
-- Cleaned some unused variables
2017-06-14 17:46:53 +02:00
Mael Rouxel-Labbé 99537e4671 Minor improvements to P3T3's tests
-- It's a bit dangerous to take random points in the complete periodic domain
   because insert(p) should have p in the original domain and half the border
   of the periodic domain is open
-- Cleaned some unused variables
2017-06-14 17:46:53 +02:00