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
Laurent Rineau
dca6b5c19e
Strange patch that fixes the remaining bugs
...
https://github.com/CGAL/cgal/pull/4013#issuecomment-507291311
Because of two constructions in Algebraic_curve_kernel_2 and
Hyperbolic_octagon_translation, the assertion "!blocks.empty()" from
`<CGAL/CORE/MemoryPool.h>` was triggered during the destruction of
thread-local objects.
This strange patch ensures that the order of creation of thread-local
object is right, so the order of destruction is right as well.
2019-07-02 10:53:09 +02:00
Sébastien Loriot
1398af1b0b
Merge remote-tracking branch 'cgal/master' into HEAD
2019-04-12 17:44:31 +02:00
Sébastien Loriot
124012d9f9
replace cpp11::array by std::array
2019-03-29 13:28:33 +01:00
Laurent Rineau
d4e09c1d78
Modernize the CMakeLists.txt that use LEDA
...
The file `${CGAL_USE_FILE}` must be included before
`find_package(LEDA)` can be called. But that would require to verify
`CGAL_FOUND` first...
Actually, now that we require at least CMake 3.1, let's say that CGAL
is `REQUIRED`, but not the components. That is the basic truth, and
that avoids testing for `CGAL_FOUND`.
At the same time, I have modified the `cmake_minimum_required`:
- placed as the first line,
- set to `3.1...3.13`:
https://cmake.org/cmake/help/latest/command/cmake_policy.html#setting-policies-by-cmake-version
I have also removed the comments that says the `CMakeLists.txt` was
generated. That may have been true... but before a lot of modifications.
2019-03-27 09:56:16 +01:00
Andreas Fabri
57af0eff08
Fix Periodic_4_hyperbolic_triangulation_2
2019-03-26 17:37:06 +01:00
Iordan Iordanov
5731a61554
added failsafe check to remove(): if cycles of length 2 are created, the operation is canceled and the triangulation is restored to its previous state
2019-02-10 22:42:51 +01:00
Andreas Fabri
b474ea2b2a
Make static data member thread local
2019-02-05 13:15:07 +01:00
Andreas Fabri
b7d4a081c7
No need to write the assignment as it comes by default
2019-01-28 09:39:46 +01:00
Maxime Gimeno
c143c657eb
Fix permisisons
2019-01-23 16:45:55 +01:00
Maxime Gimeno
386807ad7d
Fix MSVC bugs for P4HT2 demo
2019-01-22 10:06:50 +01:00
Iordan Iordanov
626ad00efe
Fixes for testsuite warnings in P4HT2
2019-01-22 09:46:39 +01:00
Iordan Iordanov
f65c70eb4c
Fix for removal test errors
2019-01-21 15:24:26 +01:00
Iordan Iordanov
bd1258e4b0
Fixes for warning messages (integers of different sign and unused variable)
2019-01-15 11:11:21 +01:00
Andreas Fabri
10acacaf0d
Work around CGAL_CFG_MATCHING_BUG_6
2019-01-15 08:31:18 +01:00
Iordan Iordanov
3265e67da1
Changes to replace Cartesian<Expr> with EPICK_with_sqrt, plus code cleanup, plus documentation fixes (for P4HT2)
2019-01-14 18:30:14 +01:00
Iordan Iordanov
46ff29c2e7
Merge branch 'Periodic_4_hyperbolic_triangulation_2-IIordanov' of github.com:imiordanov/cgal into Periodic_4_hyperbolic_triangulation_2-IIordanov
2019-01-14 14:28:02 +01:00
Iordan Iordanov
9edeb0103b
fix for testsuite error
2019-01-14 14:23:14 +01:00
Andreas Fabri
1d8716c0a4
Please add code in the #else
2019-01-11 10:28:08 +01:00
Andreas Fabri
2dec5c9d9f
Use CGAL_triangulation_assertion_code
2019-01-10 08:51:11 +01:00
Andreas Fabri
9da81eb8ed
Adress int/size_t warnings
2019-01-10 08:30:01 +01:00
Iordan Iordanov
8e4d9c8f64
Added static_cast<>() calls to please Jenkins
2019-01-08 12:31:54 +01:00
Andreas Fabri
667ef0baff
The integer constants are too big for VC++
2019-01-08 09:24:30 +01:00
Iordan Iordanov
bb18b38b0a
bugfix for Travis (?)
2019-01-08 08:43:05 +01:00
Iordan Iordanov
1999228d91
Removed unneeded vertex class constructor
2019-01-03 15:11:59 +01:00
Iordan Iordanov
4c12f4a2ee
Modified triangulation classes to use constructions and predicates from geom_traits()
2019-01-03 15:11:35 +01:00
Iordan Iordanov
cb6b6e179a
Modified traits class as for HT2: construction and predicate objects in 'internal' namespace, _object functions declared in traits class
2019-01-03 14:41:30 +01:00
Iordan Iordanov
d7a70c7264
Modified inheritance for geom_traits, cw, ccw, tds, and neighbor_translation
2018-12-30 10:43:58 +01:00
Iordan Iordanov
9631dbb835
Added _object function for inexact circumcenter construction
2018-12-30 10:42:38 +01:00
Iordan Iordanov
cf5e7f0691
Added 'remove' function with iterator input
2018-12-27 21:12:59 +01:00
Mael Rouxel-Labbé
94e9ae9667
Cleaned P4HT2 tests
2018-12-20 10:20:21 +01:00
Mael Rouxel-Labbé
852ef51bce
Compilation fixes
2018-12-20 09:53:15 +01:00
Mael Rouxel-Labbé
5084e6db5b
Fixed Periodic/Weighted triangulation tags
2018-12-20 09:48:07 +01:00
Mael Rouxel-Labbé
76f1a3b5fc
Some more licenses fixes for P4HT2
2018-12-19 22:39:46 +01:00
Mael Rouxel-Labbé
2b56bc6258
Some P4_HT2 code cleaning
2018-12-19 22:35:48 +01:00
Mael Rouxel-Labbé
322ddd50c8
Fixed headers / licenses in HT2 / P4_HT2
2018-12-19 20:31:49 +01:00
Iordan Iordanov
b106d40fa0
added default value for GT
2018-11-14 21:52:28 +01:00
Iordan Iordanov
5cfc13cdb0
added _hyperbolic_ where needed; renamed clean_dummy_points() to try_to_remove_dummy_vertices()
2018-11-14 18:58:21 +01:00
Iordan Iordanov
375b1c22f8
Added _hyperbolic_ to types that were missing it
2018-11-14 18:57:28 +01:00
Iordan Iordanov
055038e14a
Correct type names, redefinition of Construct_hyperbolic_point_2
2018-11-14 18:56:38 +01:00
Iordan Iordanov
a3e20a20d9
changed function 'find_conflicts()' from recursive to iterative version as per Andreas' indication
2018-10-02 12:09:19 +02:00
Iordan Iordanov
dbb20753d7
removed generator for hyperbolic random points
2018-09-16 19:08:49 +02:00
Iordan Iordanov
47ce9d2fd5
added 'generators' function in translation matrix object; used this function in translations object
2018-09-16 19:08:25 +02:00
Iordan Iordanov
00d1ddcdfe
modified hyperbolic translaiton class to remove unnecessary function for matrix access; created new function to recover individual generator
2018-09-10 10:37:27 +02:00
Iordan Iordanov
a3ec78d228
added constructor objects fro Hyperbolic_point_2; removed type Circle_2; modified Side_of_original_octagon to use different call to InCircle predicate; modified opearot() functir of Compute_approximate_hyperbolic_diameter object
2018-09-08 12:56:01 +02:00
Iordan Iordanov
9f20ece6b5
renamed NT to FT; added CORE::Expr as default template parameter
2018-09-08 08:31:54 +02:00
Iordan Iordanov
b50fda7eef
modified hyperbolic translation class to expose get_generator functions as static members
2018-09-07 11:23:10 +02:00
Iordan Iordanov
dd52213c4e
added default template parameter for Kernel in Geometric traits
2018-09-06 16:34:51 +02:00