Commit Graph

495 Commits

Author SHA1 Message Date
Laurent Rineau 21cda32aef Simplify `value_type` and change `reference` 2021-02-09 09:27:02 +01:00
Andreas Fabri 75bdca5e9f Use solution which does not depend on result_type as proposedby Laurent 2021-02-03 09:31:33 +00:00
Andreas Fabri a1189511f9 No need for multiplies 2021-02-03 09:10:59 +00:00
Andreas Fabri 9e9e485387 Fix result_type 2021-02-02 11:19:53 +00:00
Andreas Fabri 4fd0e5ca31 Add equal_to, minus, multiplies to CGAL::Kernel_d with a nested result_type 2021-02-02 10:11:42 +00:00
Maxime Gimeno bebd60c12b Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-20 09:53:54 +02:00
Marc Glisse 75de5cfdef Construct_power_center_d -> Construct_power_sphere_d
Suggested by Laurent, approved by Monique
2020-09-11 15:34:14 +02:00
Marc Glisse 952e0d8af8 Power_center_d -> Construct_power_center_d
Based on Laurent's review
2020-09-11 15:34:14 +02:00
Marc Glisse 482f5ef2d8 Document Power_center_d, Power_distance_d (renamed) 2020-09-11 15:34:14 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Dmitry Anisimov 209513dc56 fixed docs + a few code improvements 2020-07-31 15:58:38 +02:00
Dmitry Anisimov e4f5d0b5bd kernel_d result_of to decltype 2020-07-22 16:28:40 +02:00
Laurent Rineau 489e853a65 Fix ambiguous comparisons error with C++20 with Hyperplane_d as well 2020-06-10 18:25:33 +02:00
Laurent Rineau 127d76c370 Fix ambiguous comparisons error with C++20
```
/home/cgal_tester/build/src/cmake/platforms/ArchLinux-clang-CXX20-Release/test/Kernel_d/afftrafo-test.cpp:136:31: error: use of overloaded operator '==' is ambiguous (with operand types 'VectorHd<CGAL::VectorHd<__gmp_expr<mpz_t, mpz_t>, CGAL::Linear_algebraHd<__gmp_expr<mpz_t, mpz_t>, std::allocator<__gmp_expr<mpz_t, mpz_t> > > >::RT, CGAL::VectorHd<__gmp_expr<mpz_t, mpz_t>, CGAL::Linear_algebraHd<__gmp_expr<mpz_t, mpz_t>, std::allocator<__gmp_expr<mpz_t, mpz_t> > > >::LA>' (aka 'VectorHd<__gmp_expr<mpz_t, mpz_t>, CGAL::Linear_algebraHd<__gmp_expr<mpz_t, mpz_t>, std::allocator<__gmp_expr<mpz_t, mpz_t> > > >') and 'Vector_d<CGAL::Homogeneous_d<__gmp_expr<mpz_t, mpz_t>, CGAL::Linear_algebraHd<__gmp_expr<mpz_t, mpz_t>, std::allocator<__gmp_expr<mpz_t, mpz_t> > > > >')
    CGAL_TEST(v.transform(at9)==3*v){}
              ~~~~~~~~~~~~~~~~^ ~~~
/home/cgal_tester/build/src/cmake/platforms/ArchLinux-clang-CXX20-Release/test/Kernel_d/include/CGAL/test_macros.h:10:28: note: expanded from macro 'CGAL_TEST'
                           ^
/mnt/testsuite/include/CGAL/Kernel_d/VectorHd.h:350:6: note: candidate function
bool operator==(const VectorHd<RT,LA>& w) const
     ^
/mnt/testsuite/include/CGAL/Kernel_d/Vector_d.h:90:8: note: candidate function (with reversed parameter order)
  bool operator==(const Self& w) const
       ^
```

```
/home/cgal_tester/build/src/cmake/platforms/ArchLinux-clang-CXX20-Release/test/Kernel_d/afftrafo-test.cpp:141:33: error: use of overloaded operator '==' is ambiguous (with operand types 'DirectionHd<CGAL::DirectionHd<__gmp_expr<mpz_t, mpz_t>, CGAL::Linear_algebraHd<__gmp_expr<mpz_t, mpz_t>, std::allocator<__gmp_expr<mpz_t, mpz_t> > > >::RT, CGAL::DirectionHd<__gmp_expr<mpz_t, mpz_t>, CGAL::Linear_algebraHd<__gmp_expr<mpz_t, mpz_t>, std::allocator<__gmp_expr<mpz_t, mpz_t> > > >::LA>' (aka 'DirectionHd<__gmp_expr<mpz_t, mpz_t>, CGAL::Linear_algebraHd<__gmp_expr<mpz_t, mpz_t>, std::allocator<__gmp_expr<mpz_t, mpz_t> > > >') and 'Direction' (aka 'Direction_d<Homogeneous_d<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> > >'))
    CGAL_TEST(dir.transform(at9)==dir){}
              ~~~~~~~~~~~~~~~~~~^ ~~~
/home/cgal_tester/build/src/cmake/platforms/ArchLinux-clang-CXX20-Release/test/Kernel_d/include/CGAL/test_macros.h:10:28: note: expanded from macro 'CGAL_TEST'
                           ^
/mnt/testsuite/include/CGAL/Kernel_d/DirectionHd.h:181:6: note: candidate function
bool operator==(const DirectionHd<RT,LA>& w) const
     ^
/mnt/testsuite/include/CGAL/Kernel_d/Direction_d.h:61:8: note: candidate function (with reversed parameter order)
  bool operator==(const Self& w) const
       ^
```
2020-06-10 18:10:58 +02:00
Maxime Gimeno 9bf61b7977 more fixes 2020-04-22 11:02:16 +02:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot 8b153fb495 Merge branch 'cgal/releases/CGAL-5.0-branch'
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Sebastien Loriot 6b2b1e8470
Merge pull request #4238 from sloriot/sloriot/CGAL-Variadics
use Variadic templates
2020-03-17 18:21:56 +01:00
Ahmed Essam 613eedb77b Fix perfect forwarding 2020-03-02 07:37:36 +01:00
Sébastien Loriot f1d85d3f63 Merge remote-tracking branch 'cgal/master' 2019-12-20 09:29:50 +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 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
Sebastien Loriot dc7c2958b9
Fix forward
Co-Authored-By: Laurent Rineau <Laurent.Rineau@cgal.org>
2019-10-10 11:32:33 +02:00
Sébastien Loriot 6368c5b393 use perfect forwarding 2019-10-10 06:54:51 +02:00
Sébastien Loriot 1b00fd3f54 use Variadic templates 2019-09-19 23:11:04 +02:00
Sebastien Loriot 2a426bb1e1
Merge pull request #4063 from sloriot/CGAL-NO_CXX11
Remove CGAL_CXX11 macro usage
2019-07-19 16:16:22 +02:00
Sebastien Loriot 667e4022f7
Merge pull request #4060 from sloriot/CGAL-doc_match_brackets
match @{ and @}
2019-07-18 16:26:43 +02:00
Sébastien Loriot 86752ea880 remove tmp doc commands 2019-07-15 09:14:23 +02:00
Marc Glisse 5ed0bca7a6 Document the 2 new functors. 2019-07-14 14:58:10 +02:00
Sébastien Loriot fbafb9d06f fix remaining mismatches and fix bugs 2019-07-10 11:40:45 +02:00
Sébastien Loriot c0edb5ecaa remove CGAL_CXX11 macro usage 2019-07-08 11:42:17 +02:00
Laurent Rineau 39a245220a Merge pull request #3660 from mglisse/NewKernel_d-lazy_Epeck_d-glisse
Epeck_d
2019-07-01 11:16:33 +02:00
Laurent Rineau 2a5b558eb5 Merge branch 'master' into NewKernel_d-lazy_Epeck_d-glisse 2019-06-20 10:28:01 +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
Laurent Rineau 419032d859 Merge pull request #3947 from MaelRL/CGAL-Fix_typos-GF
Fix some typos in code/comments/documentation
2019-05-23 08:50:14 +02:00
Laurent Rineau b8fe6b10ee Merge pull request #3804 from afabri/CGAL_tests_must_not_include_basic-GF
Do not include <CGAL/basic.h>
2019-05-21 16:37:01 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Marc Glisse 2f709a40e5 Visual Studio 2015 is broken. 2019-05-19 23:42:49 +02:00
Maxime Gimeno 78db3f646d Solve conflicts 2019-04-09 10:04:44 +02:00
Sébastien Loriot 1d908c1c0b remove code for CGAL_INTERSECTION_VERSION 1 2019-03-29 13:28:32 +01:00
Andreas Fabri a1609350aa Remove #include<CGAL/basic.h> amd put what is needed if something is missing 2019-03-27 15:21:33 +01:00
Andreas Fabri a472c24185 http:/www.boost.org -> https://www.bost.org 2019-03-20 08:59:22 +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
Marc Glisse 66d4d3c791 The bug is fixed, remove its doc. 2019-02-10 15:31:34 +01:00
Marc Glisse 4a2f14f649 Symmetrize HasModel/IsModel for Epeck_d. 2019-02-06 15:54:08 +01:00
Marc Glisse 0b60bb191c Compute_squared_radius_d gives a FT, not a Point_d. 2019-02-06 15:39:16 +01:00
Marc Glisse 7c5a55d8a8 Replicate Laurent's patch from Epeck_d to Epick_d (same content) 2019-02-06 15:13:14 +01:00
Marc Glisse 446edec086 Replicate Laurent's patch from Epeck_d to Epick_d (same content) 2019-02-06 15:10:37 +01:00
Laurent Rineau ba3bc8476f Fix automatic links 2019-02-06 15:00:54 +01:00
Laurent Rineau cdf197e82d Misplaced \cgalModifBegin \cgalModifEnd 2019-02-06 15:00:19 +01:00
Marc Glisse 140e407bf8 No need to warn about gcc-4.2 if it is C++14-only. 2019-02-05 20:43:40 +01:00
Marc Glisse 050a9663b9 Attribution 2019-02-05 20:43:01 +01:00
Marc Glisse f24c875c16 \bug doesn't have a title 2019-02-04 22:38:01 +01:00
Marc Glisse e0efdb3772 Pasto 2019-02-04 22:27:46 +01:00
Marc Glisse 540a7d312b Try adding some \cgalModifBegin/End. 2019-02-04 22:14:37 +01:00
Marc Glisse 05eaf8f4f6 Document Epeck_d. 2019-02-04 21:56:31 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Andreas Fabri 0178843532 No need for Lin_d constructor 2019-01-21 09:51:26 +01:00
Laurent Rineau 6ffd76a87e Merge pull request #2792 from afabri/Intersections_3-Add_missing_do_intersect-GF
Intersections_3:  Add missing do_intersect() overloads
2019-01-18 16:37:54 +01:00
Laurent Rineau 80717c6f41 Merge pull request #3406 from mglisse/cgal-public-dev/Number_types-boost_mp-glisse-2
Support Boost.Multiprecision
2019-01-18 16:37:49 +01:00
Andreas Fabri 383d93d10a Fix Kernel_d 2019-01-18 15:29:34 +01:00
Andreas Fabri a48e367e45 Fix Kernel_d 2019-01-10 18:16:54 +01:00
Andreas Fabri 11131d3f6b Simplify Point_d and Vector_d 2019-01-10 14:08:09 +01:00
Andreas Fabri 3c1e450be2 Do for Point_d the same as for Vector_d 2019-01-09 17:26:04 +01:00
Andreas Fabri 30953ef2c1 Deal with Vector_d as well 2019-01-07 12:26:03 +01:00
albert-github d6641b569f Problems with formulas in documentation
There were some problems with formulas in the documentation most of them resulting in 'Undefined control sequence ' (MathJax output)

Note problem with the Bounding Volumes has not been resolved, separate issue created #3522
2018-12-09 18:31:13 +01:00
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +01:00
Sébastien Loriot 0685423ae8 update from cgal/master 2018-11-02 11:32:31 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +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
Guillaume Damiand 7f09308d33 Remove all include_directories(BEFORE ../../include) in CMakeLists.txt 2018-10-17 13:07:22 +02:00
Marc Glisse 41f420f07d Cast enums to int before casting to NT.
Boost.Multiprecision types check if the argument is arithmetic, and thus
reject enums.
2018-10-15 15:42:56 +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
Andreas Fabri 06c42de0e4 Add subnamespace Intersections in Kernel_d 2018-05-04 09:00:09 +02:00
Andreas Fabri c6db241ccf more allocator_traits 2018-04-19 15:56:53 +01:00
Laurent Rineau 095c27e2be cosmetic changes 2018-04-17 17:14:19 +02:00
Andreas Fabri 7cbffac35b Deal with deprecated functions allocator<T>::construct/destroy 2018-04-17 13:35:04 +01:00
Laurent Rineau 0a74393dcf Commit all new dependencies files 2018-03-06 18:44:48 +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
Sébastien Loriot 19adf3b05e make the doc match struct/class with the implementation 2017-11-17 11:34:55 +01:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Clement Jamin 5b9562ea84 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2017-06-16 11:09:07 +02:00
Clement Jamin b2b481e6c5 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse' of github.com:CGAL/INRIA into Triangulation-add_regular_tri-cjamin_mglisse 2017-01-16 10:56:59 +01:00
Clement Jamin 8b90573da4 Spatial_searching was missing 2017-01-16 10:56:14 +01:00
Marc Glisse 9275cbc204 struct -> class+public 2017-01-10 11:33:42 +01:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +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 51f5697d3d Add missing #include 2016-09-30 15:23:14 +02:00
Andreas Fabri 05fa96dbc7 Fix package Kernel_d: include headers 2016-09-30 15:22:29 +02:00
Andreas Fabri 5d70cb1992 Fix package Kernel_d: include headers 2016-09-30 15:22:28 +02:00