Marc Glisse
53ed991b5d
Fall back to LU instead of LDLT with old Eigen
2020-08-27 15:39:08 +02:00
Marc Glisse
334f8ae105
Missing include
2020-08-12 07:40:09 +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
Marc Glisse
157841c595
Rewrite Power_center_d.
2020-07-07 22:06:51 +02:00
Marc Glisse
00efb5ebef
Remove TAB
2020-07-07 17:51:29 +02:00
Marc Glisse
22e8b9cc22
Rewrite general case of circumcenter
2020-07-07 13:46:48 +02:00
Marc Glisse
8d3895653c
More circumcenter tests
2020-07-06 22:54:38 +02:00
Marc Glisse
d6e39a16dc
Special case the circumcenter computation for few points
2020-07-02 23:49:42 +02:00
Simon Giraudot
89285f1feb
Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF
2020-05-28 08:53:17 +02:00
Laurent Rineau
7173530dad
Merge pull request #4557 from lrineau/NewKernel_d-det-GF-CGAL-5.0
...
NewKernel_d: Accelerate by using Mpzf instead of Gmpq (CGAL-5.0 and later)
2020-05-27 18:27:56 +02:00
Mael Rouxel-Labbé
8a52dd3393
Remove trailing whitespace / tabs
2020-05-12 11:21:06 +02:00
Simon Giraudot
421096fd7f
Use imported targets everywhere
2020-04-15 14:06:13 +02:00
Marc Glisse
6aec7dc3be
Add comments
2020-04-09 23:50:26 +02:00
Marc Glisse
38f249b7a1
Use members rather than private bases
2020-04-08 18:43:28 +02:00
Marc Glisse
a03eff675b
Switch to std::is_empty
2020-04-08 16:03:18 +02:00
Marc Glisse
7929c7d872
Remove outdated comment.
2020-04-08 14:42:47 +02:00
Sébastien Loriot
822bc55640
extra run of the script to remove tabs and trailing whitespaces
2020-03-27 08:28:48 +01:00
Sébastien Loriot
5c5d445eb3
Update branch from master after trailing whitespaces and tabs removal
2020-03-27 08:27:43 +01: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
cc1bd20c7c
Merge pull request #4356 from sgiraudot/Documentation-Update_cmake_variables-GF
...
Third party libs: improve documentation + introduce new CMake functions
2020-03-17 18:19:40 +01:00
Laurent Rineau
e3a97e1e62
Fix [-Wconversion] warnings with gcc
2020-03-06 10:31:11 +01:00
Laurent Rineau
473eeb1bd8
Fix the position of the attribute (gcc warned)
2020-03-06 09:43:12 +01:00
Laurent Rineau
0dfd416395
Use [[noreturn]] directly
2020-03-06 09:26:54 +01:00
Laurent Rineau
49244a6359
Merge branch 'NewKernel_d-det-GF' into NewKernel_d-det-GF-CGAL-5.0
2020-03-06 09:24:03 +01:00
Laurent Rineau
60038951fa
Fix a warning [-Wreturn-type]
...
> warning: control reaches end of non-void function [-Wreturn-type]
2020-03-06 09:23:31 +01:00
Laurent Rineau
4ec82f4b09
Merge pull request #4540 from mglisse/handle
...
Some noexcept, swap, etc to help Handle* types
2020-03-05 14:52:09 +01:00
Laurent Rineau
32223bdf4e
Merge branch 'releases/CGAL-5.0-branch' into NewKernel_d-det-GF-CGAL-5.0
...
# Conflicts:
# NewKernel_d/include/CGAL/NewKernel_d/Cartesian_filter_K.h
# NewKernel_d/include/CGAL/typeset.h
2020-03-04 08:55:36 +01:00
Andreas Fabri
f8df875321
Now Mpzf is used for up to Delaunay_d<6>
2020-03-03 14:53:34 +00:00
Andreas Fabri
5d053dba1a
Add determinant 7x7
2020-03-02 20:56:22 +00:00
Laurent Rineau
5ce802f658
Fix compilation error: CGAL_ASSUME->CGAL_assume
2020-03-02 17:40:46 +01:00
Andreas Fabri
3e6ece5e4b
VC++ does not yet provide __cpp_if_constexpr
2020-03-02 16:09:33 +00:00
Andreas Fabri
a3719c3628
Compile in C++03 and C++14
2020-03-02 12:52:23 +00:00
Marc Glisse
b1c2910b9e
Use a ring bignum type for a couple of filtered predicates.
2020-03-02 11:49:16 +01:00
Marc Glisse
8ffa2ef69d
Only use Eigen's determinant as a last resort.
2020-03-02 11:35:28 +01:00
Marc Glisse
3ebe8839b6
swap for Point_2 and Point_d
...
and make the implementations more similar, in case someone wants to
replace it with a macro at some point.
2020-03-01 12:50:13 +01:00
Laurent Rineau
a9102bd3d9
Merge pull request #4484 from mglisse/Triangulation-test_Epeck_d-glisse
...
Also test Triangulation with Epeck_d
2020-02-14 14:39:26 +01:00
Laurent Rineau
0d1a89ac32
Implement a workaround for MSVC 2015
...
See the compilation errors at:
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.1-Ic-68/Triangulation/TestReport_afabri_x64_Cygwin-Windows10_MSVC2015-Debug-64bits.gz
2020-02-11 13:56:53 +01:00
Simon Giraudot
6c8fd43ebb
Use CGAL_target_use_* mechanism for Eigen, LASLIB, OpenCV, TensorFlow, GLPK, SCIP, Boost IOStreams and Serialization
2020-02-10 11:57:56 +01:00
Sébastien Loriot
f1d85d3f63
Merge remote-tracking branch 'cgal/master'
2019-12-20 09:29:50 +01:00
Marc Glisse
0a3c85c781
Fewer dereferences.
2019-11-09 10:11:13 +01:00
Marc Glisse
2a0eac67f0
Remove some unnecessary dereferencing.
2019-11-09 09:58:21 +01:00
Sébastien Loriot
b9a079b530
remove cpp11/cpp0x
2019-11-04 11:34:53 +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
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
Clement Jamin
9487c71ad1
Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse
2016-05-18 19:41:22 +02:00
Laurent Rineau
9ea630eeb1
Merge changes from 'releases/CGAL-4.8-branch'
...
- Merge pull request #1023 from mglisse/NewKernel_d-solve_check-glisse
- Merge pull request #1025 from CGAL/Stream_support-Fix_io.h-lrineau
2016-04-22 15:41:59 +02:00
Marc Glisse
630d42c60d
Remove redundant variable.
2016-04-19 20:17:00 +02:00