Commit Graph

513 Commits

Author SHA1 Message Date
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
Marc Glisse 215d05f714 TAB-allergy 2019-07-23 14:52:51 +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 4f62fd0321
Merge pull request #4081 from mglisse/NewKernel_d-loopinv-glisse
Move store outside the loop.
2019-07-19 15:37:24 +02:00
Marc Glisse 21cb3ddeb4 Test the new functors 2019-07-14 18:48:14 +02:00
Marc Glisse 8b207c6aef Add functors for weighted alpha-complexes.
Not sure why I have both Side_of_bounded_sphere and
Side_of_bounded_circumsphere for the unweighted case.
2019-07-13 23:24:50 +02:00
Marc Glisse b156ae6a1b Move store outside the loop.
Looks like a typo kind of mistake: the value was computed and stored
repeatedly in the inner loop instead of once in the outer loop...
2019-07-12 21:55:20 +02:00
Maxime Gimeno 64253458aa Fix warnings 2019-07-12 10:49:10 +02:00
Sébastien Loriot 0f0e7e6dfa restore comments 2019-07-10 06:23:18 +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 1957ecc263 Fix a warning
See https://github.com/CGAL/cgal/pull/3660#issuecomment-503915741
2019-06-20 10:14:26 +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 45efa5a6c0 Tame a warning from MSVC 2015
```
...\include\CGAL/NewKernel_d/utils.h(85): warning C4552: '*': operator has no effect; expected operator with side-effect
...\include\CGAL/transforming_iterator.h(65): note: see reference to function template instantiation 'decltype(auto) CGAL::Scale<double>::operator ()<const double&>(FT) const' being compiled
        with
        [
            FT=const double &
        ]
```
2019-06-04 16:30:12 +02:00
Marc Glisse 2f709a40e5 Visual Studio 2015 is broken. 2019-05-19 23:42:49 +02:00
Laurent Rineau 149046f8c1
Merge branch 'master' into NewKernel_d-lazy_Epeck_d-glisse 2019-04-29 19:54:03 +04:00
Marc Glisse 92f4a7d3ad std::abs 2019-04-16 11:43:10 +02:00
Andreas Fabri 057c37828b Fix pragma push/pop 2019-04-15 12:26:03 +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 78db3f646d Solve conflicts 2019-04-09 10:04:44 +02: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 ce126b87c6 remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead 2019-03-29 13:28:32 +01:00
Andreas Fabri ce0a5ef64b oops 2019-02-21 13:45:49 +01:00
Andreas Fabri dcf909d994 NewKernel_d: Suppress VC2015 warning 2019-02-21 13:05:26 +01:00
Marc Glisse 5826d192cc Move helper to STL_Extension 2019-02-13 14:29:25 +01:00
Marc Glisse 321268e1d1 CGAL_CXX11 leftover 2019-02-13 14:27:30 +01:00
Marc Glisse 730cfdc2b6 Missing #includes. 2019-02-12 13:23:34 +01:00
Marc Glisse 455d80c8a6 Handle computations the same as constructions. 2019-02-10 15:29:25 +01:00
Marc Glisse 402279bcab Use range-for in a couple places. 2019-02-10 12:57:40 +01:00
Marc Glisse 15d2b82ff8 Copy ranges defined by iterator pairs inside Lazy objects. 2019-02-09 22:31:31 +01:00
Marc Glisse 6e579bb11a Avoid functors that take unpaired input iterators 2019-02-09 12:51:37 +01:00
Marc Glisse 224e127522 Experiment how we can store ranges in lazy objects. 2019-02-08 23:26:27 +01:00
Marc Glisse 28c2763f1a Remove leftover macro CGAL_CONSTRUCTION_OPERATOR 2019-02-08 21:39:47 +01:00
Marc Glisse e2ce6d9daa Remove unnecessary overload of Side_of_oriented_sphere 2019-02-08 21:36:13 +01:00
Marc Glisse a17f5655e1 More [[no_unique_address]] 2019-02-08 17:21:28 +01:00
Marc Glisse f099add88e Various small simplifications 2019-02-08 16:54:08 +01:00
Marc Glisse 02cfcafb72 Replace some boost with std.
It doesn't help much, but we should still stop using those boost
facilities that are now standard.
2019-02-08 16:16:20 +01:00
Marc Glisse 9fef604bc2 Move some operators to inline friends.
It gives nicer error messages...
2019-02-08 16:03:07 +01:00
Marc Glisse 7d9e2a45fc Remove some result_of 2019-02-08 15:54:56 +01:00
Marc Glisse 7b2dfaccff Remove macro CGAL_FORWARD 2019-02-08 15:37:38 +01:00
Marc Glisse 4b369cd70e Remove macro CGAL_FORWARDABLE 2019-02-08 15:34:02 +01:00
Marc Glisse 31dac099c5 Remove macro CGAL_MOVE 2019-02-08 15:26:36 +01:00
Marc Glisse c872a75e10 Remove macro CGAL_CONSTEXPR 2019-02-08 15:23:35 +01:00
Marc Glisse 16af3fcf81 Remove macro CGAL_BOOSTD 2019-02-08 15:21:04 +01:00
Marc Glisse cde81908d4 Remove some C++98 code to unclutter the files a bit. 2019-02-08 15:18:09 +01:00
Marc Glisse 530238db1a Remove some C++98 code to unclutter the files a bit. 2019-02-08 14:54:30 +01:00
Marc Glisse 5ef0977d67 Use Vector_dimension on vectors 2019-02-08 12:34:17 +01:00
Marc Glisse 678f911a47 C++14 tweaks 2019-02-06 13:56:05 +01:00
Marc Glisse 34cbb9cd4b Make Epeck_d work & C++14-only cleanups
Still some rough edges:
1) double tab[]={.1,.2,.3}; Point_d p(tab+0,tab+3); lazily stores
iterators to tab, so tab had better still be alive when we need
update_exact.
2) One functor (point on a sphere) cannot be done exactly exactly with
a representation center+squared radius.
3) Several hacks that make this not as generic as it should be.
2019-02-03 23:16:28 +01:00
Marc Glisse cbddd4575a One more occurence of Lazy
this code is not used (unfinished), but it still gets included in the test, probably so it doesn't bitrot too fast.
2019-01-27 15:16:38 +01:00
Sébastien Loriot 0550728292 fix indentation 2018-12-06 14:19:33 +01:00
Sébastien Loriot 864d4cd0c1 fix maybe-uninitialized warning 2018-12-06 14:17:19 +01:00
Sebastien Loriot 00cf0a2889
Merge pull request #3413 from gdamiand/CGAL-cmake_cleanup-gdamiand
Clean CMakeLists.txt of examples and tests
2018-11-12 15:01:46 +01:00
Sébastien Loriot 089377d238 Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD 2018-11-12 10:07:27 +01:00
Sebastien Loriot 21d53cd984
Merge pull request #3172 from sloriot/Triangulation-fix_IO
Fix vertex istream operator
2018-11-12 09:58:14 +01:00
Sébastien Loriot 3705c7a35c fix warning and compilation error 2018-11-02 10:09:41 +01: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
Maxime Gimeno a7a998cbda add binary management to Point_d, Weighted Point_d and Vector_d and test 2018-10-11 15:06:58 +02:00
Marc Glisse 04176bc1ae Use iformat in input functions. 2018-10-04 13:50:35 +02:00
Marc Glisse 0bf71d0aa1 I/O for Vector_d and Weighted_point_d 2018-10-04 13:50:35 +02:00
Marc Glisse cfbb3ef977 Fix is>>point_d
Now it matches what os<<point_d does at least.
2018-10-04 13:50:35 +02:00
Marc Glisse f64ae1b240 Move is>>point_d from Triangulation to NewKernel_d. 2018-10-04 13:50:34 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Laurent Rineau 5fea3c3eb1 Add CGAL_CXX14
and remove uses of `__cplusplus` that are not in `<CGAL/config.h>`.
2018-04-17 17:15:04 +02:00
Laurent Rineau 0a74393dcf Commit all new dependencies files 2018-03-06 18:44:48 +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
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +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
Simon Giraudot 6269309d86 Use CGAL include for boost counting/transform iterators everywhere 2018-01-23 11:09:52 +01:00
Andreas Fabri 6438ade98a fixes after the first testsuite 2018-01-23 09:38:03 +00:00
Andreas Fabri 257b180351 Triangulation 2018-01-18 13:56:10 +00:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau 8f46324806 Merge pull request #2475 from sgiraudot/Fix_counting_iterator_warning_everywhere-GF
Fix counting iterator warnings
2017-10-11 19:15:15 +02:00
Laurent Rineau 2b35bddfb2 Replace all std::binary_function by CGAL::binary_function 2017-10-04 16:36:32 +02:00
Simon Giraudot 1e7b9ea027 Fix counting iterator warnings 2017-09-29 14:47:17 +02:00
Laurent Rineau aff2a7a899 Merge pull request #2287 from maxGimeno/Fix_GCC8_warnings-GF
Fix new -Wcatch-value warnings (gcc>=8.0)
2017-07-25 18:17:42 +02:00
Maxime Gimeno 96f7b0f138 Fix catch value warnings 2017-07-21 11:27:14 +02:00
Laurent Rineau b14263762d Check gcc version and return() if < 4.4 2017-07-19 16:09:04 +02: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
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
Marc Glisse bcf9d7d051 Fold Point_drop_weight_d into Construct_point_d.
Old name kept temporarily until Triangulation is updated.
For the record, I don't like this change.
2016-09-22 16:28:47 +02:00
Andreas Fabri 8d15be6c59 fix for auto and Intel compiler 2016-09-22 10:27:44 +02:00
Marc Glisse 8aa0ede187 Point_weight_d -> Compute_weight_d 2016-09-21 19:38:42 +02:00
Clement Jamin a664634a9f Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2016-09-20 16:10:13 +02:00
Laurent Rineau 7d85453f4d Use Boost.Config to detect a real gcc<=4.4
... Avoids that Intel Compiler or Clang are detected as well.
2016-09-15 16:03:33 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Clement Jamin 90de002af7 Remove duplicated code 2016-07-29 12:13:56 +02:00
Marc Glisse 3d8d601b28 Construct_center_d alias for RangeSearchTraits 2016-07-07 19:32:51 +02:00
Clement Jamin a099cc2ea2 Add Power_distance and Translated_point + use std::abs in test 2016-06-01 14:06:03 +02:00
Marc Glisse ba50bc5b9c Power_center.
(cherry picked from commit 8c5e28cd3d)

Conflicts:
	NewKernel_d/include/CGAL/NewKernel_d/Types/Sphere.h
	NewKernel_d/include/CGAL/NewKernel_d/Types/Weighted_point.h
	NewKernel_d/test/NewKernel_d/Epick_d.cpp
2016-06-01 13:42:39 +02:00
Clement Jamin 4958fcc746 Merge branch 'Tangential_complex-cjamin-old' into Tangential_complex-cjamin 2016-06-01 13:35:18 +02:00
Marc Glisse c752dea8e0 Link Power_center_d.
(cherry picked from commit f4de16d093)

Conflicts:
	NewKernel_d/include/CGAL/NewKernel_d/Kernel_d_interface.h
	NewKernel_d/test/NewKernel_d/Epick_d.cpp
2016-06-01 12:03:27 +02:00
Clement Jamin 81e2e215fa Monique's review, incl. renaming of power_test
+ better handling of the insertion of points at the same position (incl. test)
2016-05-20 18:00:16 +02:00