Laurent Rineau
0260afee8c
Merge pull request #4542 from sloriot/Kernel-compare_distance_use_FT
...
Use FT instead of RT
2020-03-05 14:52:06 +01:00
Laurent Rineau
0d393fb8db
Merge pull request #4542 from sloriot/Kernel-compare_distance_use_FT
...
Use FT instead of RT
2020-03-05 14:50:42 +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
5d053dba1a
Add determinant 7x7
2020-03-02 20:56:22 +00: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
Andreas Fabri
99eea7ac21
Add operator for line/point/point
2020-02-25 16:47:12 +00:00
Sébastien Loriot
ba2f2c1c20
use FT instead of RT
...
Compare_distance_3 is a generic functor that is comparing
the returned value of Squared_distance_3. If called to
compare the distance of a point to a plane/segment/triangle
a division is used leading to runtime error.
2020-02-25 14:25:20 +01:00
Marc Glisse
1eed5a908c
swap Simple_cartesian<Gmpq>::Point_3
2020-02-25 08:57:53 +01:00
Marc Glisse
c92587fb9c
More swap
...
We could add it for all kernel wrappers...
It is really inconvenient that swap cannot be autogenerated like move
assignments are.
noexcept(auto) would also be convenient, whatever some people on the
committee claim.
2020-02-25 02:00:48 +01:00
Mael Rouxel-Labbé
cb3e5cd83c
Merge branch 'PMP-Make_remove_self_intersections_local-GF-old' into PMP-Make_remove_self_intersections_local-GF
2020-02-07 17:09:59 +01:00
Mael Rouxel-Labbé
84215c95c4
Merge branch 'Box_intersection_d-accelerate-GF-old' into Box_intersection_d-accelerate-GF
2020-02-07 11:03:07 +01:00
Mael Rouxel-Labbé
da917e6895
Fix missing ` in doc
2020-02-03 18:10:16 +01:00
Mael Rouxel-Labbé
c94fbd2399
Minor fix to new concept
2020-01-17 09:14:45 +01:00
Andreas Fabri
98f2555190
Unify for C/H and document concept and model of CompareSignedDistanceToLine_2
2020-01-16 14:28:30 +01:00
Mael Rouxel-Labbé
4536ea4f53
Clean whitespace (no changes)
2020-01-16 12:33:01 +01:00
Maxime Gimeno
90d2e03fdc
Merge remote-tracking branch 'cgal/master' into Intersections_23-Add_missing_intersections-GF
2020-01-15 13:32:11 +01:00
Laurent Rineau
c97123f303
Merge branch 'releases/CGAL-5.0-branch'
2020-01-07 14:49:07 +01:00
Laurent Rineau
88d35455e2
Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch
2020-01-07 14:46:27 +01:00
Laurent Rineau
8ac23b392a
Fix PR #4406 with C++03
2020-01-07 14:45:36 +01:00
Sébastien Loriot
cf816d2b98
Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch'
2019-12-20 09:54:24 +01:00
Sébastien Loriot
530fa6be62
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch'
2019-12-20 09:48:05 +01:00
Sebastien Loriot
141dda4290
Merge pull request #4384 from maxGimeno/Aff_transformation_3-Fix_include-maxGimeno
...
Fix Aff_transformation_3 missing includes
2019-12-20 09:44:24 +01:00
Mael Rouxel-Labbé
65d2221449
Fix used but uninitialized warnings (+ add some more tests)
2019-12-18 09:48:56 +01:00
Laurent Rineau
3e90fa10fd
Merge pull request #4406 from afabri/Triangulation_2-fix_Projection_traits-GF
...
Triangulation_2: Projection_traits::Construct_bbox_2 must return Bbox_2
2019-12-17 09:16:32 +01:00
Laurent Rineau
617878b063
Merge pull request #4406 from afabri/Triangulation_2-fix_Projection_traits-GF
...
Triangulation_2: Projection_traits::Construct_bbox_2 must return Bbox_2
2019-12-17 09:14:23 +01:00
Andreas Fabri
4d4b891362
T2: Projection_traits::Construct_bbox_2 must return Bbox_2
2019-12-13 15:47:43 +01:00
Maxime Gimeno
a5917098ba
Add missing stream includes
2019-11-29 09:16:00 +01:00
Maxime Gimeno
b36a1bd18c
Add mnissing <iostream>
2019-11-29 09:14:11 +01:00
Andreas Fabri
cc75efdbb5
Add static filter for Coplanar_3
2019-11-07 15:57:23 +01:00
Sébastien Loriot
43166732b6
remove license notice from kernel tests
2019-10-19 16:39:32 +02: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
d0f23b56f6
update deprecated 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-only/"
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-only/"
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-only/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.1$" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.1$/SPDX-License-Identifier: LGPL-2.1-only/"
2019-10-18 22:08:05 +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
Sébastien Loriot
1b00fd3f54
use Variadic templates
2019-09-19 23:11:04 +02:00
Sébastien Loriot
3e3d8d1b9a
Merge 'cgal/releases/CGAL-4.14-branch'
2019-08-30 15:41:06 +02:00
Sébastien Loriot
0cc56dab4d
Merge 'cgal/releases/CGAL-4.13-branch'
2019-08-30 15:40:30 +02:00
Andreas Fabri
9e5db7a950
typo
2019-08-29 15:15:27 +02:00
Andreas Fabri
0f267c53e3
Make 2d segment segment distance more robust for kernel without exact constructions
2019-08-29 14:54:03 +02:00
Mael Rouxel-Labbé
37aed3d31a
Fix documentation of functor `ConstructLiftedPoint_3`
2019-08-28 09:47:43 +02:00
Laurent Rineau
3e4b177506
Merge pull request #4116 from MaelRL/Kernel_23-Generalize_ray_point_method-GF
...
Change ray_23 and line_23's point(int) function to point(FT)
2019-08-19 12:54:38 +02:00
Laurent Rineau
0d7fd463ff
Merge pull request #4116 from MaelRL/Kernel_23-Generalize_ray_point_method-GF
...
Change ray_23 and line_23's point(int) function to point(FT)
2019-08-19 12:53:59 +02:00
Maxime Gimeno
290b6db143
Merge remote-tracking branch 'cgal/master' into Intersections_23-Add_missing_intersections-GF
2019-07-30 09:51:28 +02:00
Mael Rouxel-Labbé
8bd73646b4
Fix for the case of using a kernel whose FT == RT == int
2019-07-29 08:51:32 +02:00
Mael Rouxel-Labbé
a45ccab351
Distinguish between FT and RT so that Homogeneous uses RT-based vector scaling
2019-07-26 19:20:32 +02:00
Mael Rouxel-Labbé
6c8a8f347d
Change ray/line.point(int --> FT)
...
There is no real requirement on it being an 'int', except some symmetry with
the segment.
2019-07-26 15:59:52 +02:00
Laurent Rineau
3d1450b71f
Merge branch 'releases/CGAL-4.14-branch'
2019-07-23 17:17:06 +02:00
Laurent Rineau
8ce9207d10
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-07-23 17:14:40 +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
Mael Rouxel-Labbé
505a07b2ac
Remove test using (temporarily) removed kernel EPICK_without_intervals
...
See bb640d2883
2019-07-18 17:03:53 +02:00
Mael Rouxel-Labbé
bb640d2883
Revert "Add Epick_without_intervals"
...
This reverts commit 621542afbd .
`Static_filters` actually inherits wraps the kernel with `Filtered_kernel_base`
and as such, the exact kernel is still a filtered kernel using intervals.
Possible fixes for the implementation of EPICK_without_intervals are discussed
in https://github.com/CGAL/cgal/pull/3939 .
2019-07-18 17:00:46 +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
Sébastien Loriot
983645a51a
match @{ and @}
2019-07-05 21:49:46 +02:00
Laurent Rineau
c0ba28f80a
Merge branch 'releases/CGAL-4.14-branch'
2019-07-03 11:18:20 +02:00
Laurent Rineau
e79bfd5d03
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-07-03 11:10:03 +02:00
Laurent Rineau
a99269d91d
Merge pull request #3410 from maxGimeno/Kernel_23-Add_suport_for_reflextions-GF
...
Aff_transformation_2: Add suport for reflections
2019-07-01 11:16:36 +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
327b310add
Fix the hopefully last warning
2019-07-01 10:30:52 +02:00
Laurent Rineau
e2b9c56675
Fix the assertion "Expr: FPU_get_cw() == mode"
2019-06-27 11:26:39 +02:00
Laurent Rineau
9346847f20
Fix warnings about uninitialized variables
2019-06-27 11:26:26 +02:00
Maxime Gimeno
b9d33c7ffa
Fix Conflicts
2019-06-25 13:25:57 +02:00
Laurent Rineau
11e634246a
Make this PR compatible with https://github.com/CGAL/cgal/pull/3939
2019-06-24 10:19:52 +02:00
Laurent Rineau
8fd3f2d8fd
Merge pull request #3973 from sgiraudot/Kernel_23-Add_hash_functions-GF
...
[Small Feature] Add hash functions for kernel objects
2019-06-20 14:21:09 +02:00
Laurent Rineau
8535a3c03c
Merge branch 'releases/CGAL-4.14-branch'
...
# Conflicts:
# Apollonius_graph_2/include/CGAL/Apollonius_graph_2/Apollonius_graph_2_impl.h
# Convex_hull_3/include/CGAL/convex_hull_3.h
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/face_graph_utils.h
# Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp
# Stream_support/include/CGAL/IO/Color.h
2019-06-20 14:20:37 +02:00
Laurent Rineau
b0f1f90a4d
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-06-20 14:08:25 +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
Maxime Gimeno
b13bdadfa8
Fix conflicts
2019-06-17 15:33:33 +02:00
Laurent Rineau
34a9b24698
Fix a remaining warning about t1 not being initialized
...
There are a lot of uninitialized variables, in that testsuite, that
are used anyway (like copied). Strangely the compilers do not seem to
catch them all at the same time. That probably depends on inlinings.
2019-06-17 10:03:56 +02:00
Laurent Rineau
30b25a4d58
Fix warnings
...
There was a unused assigned variable:
```
test/Kernel_23/include/CGAL/_test_new_2.h:375:6: warning: variable ‘tmp22d’ set but not used [-Wunused-but-set-variable]
375 | FT tmp22d = Compute_squared_distance(p1, p2);
| ^~~~~~
```
and also use of uninitialized variable. That pattern was used a lot:
```
typename R::Iso_cuboid_3 ir;
CGAL::Iso_cuboid_3<R> r0(ir);
```
that is:
- create a default-initialized object,
- then copy it.
Default-initialized object cannot be copied without a warning.
2019-06-14 11:09:40 +02:00
Maxime Gimeno
443f3f636f
Add missing intersection_2 and update doc.
2019-06-13 15:49:21 +02:00
Laurent Rineau
7d543d5bf8
Add a testsuite for Epick and Epick_without_intervals
2019-06-13 15:06:19 +02:00
Maxime Gimeno
f969555a3c
Update doc and add test for homogeneous exact
2019-06-13 11:04:50 +02:00
Laurent Rineau
3b2b6bb468
Fix that incorrect testsuite of Epick_without_intervals
2019-06-13 09:19:48 +02:00
Laurent Rineau
f94122b31b
Add a testsuite for Epick
2019-06-13 09:19:48 +02:00
Simon Giraudot
c3c825519c
Add missing inlines
2019-06-06 09:51:10 +02:00
Simon Giraudot
72ea50ae77
Change condition on FT/Kernel for hash functions
2019-06-05 10:50:08 +02:00
Simon Giraudot
070a26a5b7
Fix missing inclusions + ADL for hash_value
2019-06-05 10:43:28 +02:00
Andreas Fabri
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +02:00
Simon Giraudot
9ee478139b
Remove hash for Direction_23/Ray_23 as equality is more complicated
2019-06-04 13:26:05 +02:00
Simon Giraudot
5b39428ad5
Document objects that are hashable
2019-06-03 16:14:45 +02:00
Simon Giraudot
d88b7bab69
Hash functions for many kernel objects
2019-06-03 15:56:07 +02:00
Simon Giraudot
a954fbf69e
Add hash function for Point_3
2019-06-03 14:36:32 +02:00
Mael Rouxel-Labbé
2848158354
Fix typos
2019-05-20 08:54:04 +02:00
Laurent Rineau
7105406ee1
Fix warnings with CGAL_USE
2019-05-16 15:46:27 +02:00
Laurent Rineau
162544dade
Add a test of Epick_without_intervals in Kernel_23
2019-05-16 15:46:27 +02:00
Laurent Rineau
621542afbd
Add Epick_without_intervals
...
That `Epick` without the dynamic filters: only the static filters are
applied before the exact computation.
2019-05-16 15:10:40 +02:00
Laurent Rineau
90782d4b7f
Revert the merge of two pull-requests that target CGAL-4.14-branch
...
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Andreas Fabri
2ebc7d17cd
Use integers as test bounds for Homogeneous
2019-04-11 09:59:12 +02:00
Andreas Fabri
24699e9560
Use integers as test bounds for Homogeneous
2019-04-11 09:48:32 +02:00
Andreas Fabri
72787fb8ad
Put functions in their own group
2019-04-11 09:48:32 +02:00
Andreas Fabri
032a7aaec4
complete doc
2019-04-11 09:48:32 +02:00
Andreas Fabri
e60f69e669
Compute sqrt only once
2019-04-11 09:48:32 +02:00
Andreas Fabri
42af962bc2
Add overload for two vectors
2019-04-11 09:48:32 +02:00
Andreas Fabri
47fe2ee58e
Add functions in PackageDescription.txt
2019-04-11 09:48:32 +02:00
Andreas Fabri
0e75cea23c
Simplify the code
2019-04-11 09:48:30 +02:00
Andreas Fabri
d62d88196e
Add a function to compute the angle between three 3D points
2019-04-11 09:48:30 +02:00
Laurent Rineau
04bef2b071
Merge pull request #3781 from sloriot/CGAL-update_for_cpp14
...
Update for cpp14
2019-04-08 15:59:28 +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