Laurent Rineau
88250aee80
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:20:14 +02:00
Laurent Rineau
b4f2295bab
Merge pull request #4555 from afabri/NewKernel_d-det-GF
...
NewKernel_d: Accelerate by using Mpzf instead of Gmpq (for CGAL-4.14.x)
2020-05-27 18:15:30 +02:00
Andreas Fabri
b2f8ef30d5
Add non-recursive determinant for 7x7 matrix
2020-05-12 12:26:28 +02:00
Mael Rouxel-Labbé
cb08f676d1
Move check code from determinant.h to Kernel_23/test + more tests
2020-05-12 11:56:18 +02:00
Mael Rouxel-Labbé
8a52dd3393
Remove trailing whitespace / tabs
2020-05-12 11:21:06 +02:00
Maxime Gimeno
6a51a30828
more fixes
2020-04-22 11:02:47 +02:00
Maxime Gimeno
9bf61b7977
more fixes
2020-04-22 11:02:16 +02:00
Maxime Gimeno
5b2d46cfa0
Fixes for min/max
2020-04-21 12:04:45 +02:00
Maxime Gimeno
50766d9d03
Fixes for min/max
2020-04-21 11:52:56 +02:00
Maxime Gimeno
e9d41d7b7d
Fixes for min/max
2020-04-21 11:38:37 +02:00
Sebastien Loriot
a860a7ea5a
Merge pull request #4404 from MaelRL/CGAL-Optimal_bounding_box-GF
...
New Package: Optimal Bounding Box
2020-04-16 18:10:58 +02:00
Sébastien Loriot
a8f9858099
Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch'
2020-04-16 16:29:55 +02:00
Mael Rouxel-Labbé
c16c1a7ea3
Merge remote-tracking branch 'cgal/master' into CGAL-Optimal_bounding_box-GF
2020-04-10 16:10:11 +02:00
Sébastien Loriot
4476663eba
fix compilation error...
2020-04-08 16:14:44 +02:00
Andreas Fabri
0040436ae3
Add non-recursive determinant for 7x7 matrix
2020-03-27 10:57:48 +01:00
Sébastien Loriot
bccba2d76f
extra run of the script to remove tabs and trailing whitespaces
2020-03-27 09:56:00 +01:00
Sébastien Loriot
a776758f78
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch'
2020-03-27 09:55:19 +01: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
9f2eafd06e
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:17:02 +01:00
Sébastien Loriot
35b83deffd
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 19:16:25 +01:00
Sébastien Loriot
a943082eff
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 19:01:31 +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
590612a563
run the script to remove tabs and trailing whitespaces
2020-03-26 13:25:16 +01:00
Mael Rouxel-Labbé
3c6e5875d5
Grab return Construct_point_3(Weighted_point_3) by reference
2020-03-24 18:48:32 +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
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
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é
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é
4536ea4f53
Clean whitespace (no changes)
2020-01-16 12:33:01 +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
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
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
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
Sébastien Loriot
1b00fd3f54
use Variadic templates
2019-09-19 23:11:04 +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
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
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
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
c0edb5ecaa
remove CGAL_CXX11 macro usage
2019-07-08 11:42:17 +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
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
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
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
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
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
1d908c1c0b
remove code for CGAL_INTERSECTION_VERSION 1
2019-03-29 13:28:32 +01:00
Sébastien Loriot
82c13e6e74
remove cpp11 workaround in kernel related packages
2019-03-29 10:41:50 +01:00
Andreas Fabri
9cc37e1371
Add a subsection in the User Manual
2019-03-27 16:52:34 +01:00
Sébastien Loriot
0685423ae8
update from cgal/master
2018-11-02 11:32:31 +01:00
Sébastien Loriot
d05df530b3
Merge pull request #2658 from MaelRL/Periodic_3_mesh_3-Feature-MBogdanov
...
Periodic_3_mesh_3, new package
2018-07-25 18:55:12 +02:00
Laurent Rineau
0585ffcc39
Merge pull request #3232 from lrineau/Triangulation_2-Debug_CDT2-lrineau
...
Fix CDT_2 errors, using snapping of intersection points (cont.)
2018-07-20 17:20:16 +02:00
Laurent Rineau
87517ac68d
Fix Bbox_[23]::dilate
...
`boost::math::float_advance` does not modify its argument, but returns a
value! The previous version of the code was not modifying the bbox at all,
and the point snapping was active.
2018-07-13 17:01:10 +02:00
Mael Rouxel-Labbé
fd076c3c6d
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-06-28 16:25:54 +02:00
Sébastien Loriot
0abfba8ac0
Update branch 'PMP-coref_preserve_face_attributes' from master@5ceb529d0f
2018-06-21 10:53:59 +02:00
Mael Rouxel-Labbé
7490f34560
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-06-21 10:15:25 +02:00
Laurent Rineau
786f85c93b
Merge pull request #3168 from MaelRL/Kernel23-Fix_weighted_point_translate_doc-GF
...
Kernel_23: Fix some doc issue with weighted points
2018-06-20 17:20:53 +02:00
Mael Rouxel-Labbé
d4011f3f1f
Fixed result_of function signature
2018-06-13 10:37:24 +02:00
Mael Rouxel-Labbé
ddeb4c0cd7
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-06-07 15:14:19 +02:00
Laurent Rineau
7f45dbebe6
Merge pull request #3058 from maxGimeno/Property_map-Point_kernel_converter_map-GF
...
Property_map: Kernel_converter_map
2018-06-06 14:41:46 +02:00
Mael Rouxel-Labbé
7ea3a8044e
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-06-05 14:39:18 +02:00
Sébastien Loriot
0202bc879e
add an extra operator for plane-line(pt,pt)
2018-06-04 17:21:01 +02:00
Laurent Rineau
aa38a024c2
Merge pull request #3098 from lrineau/Triangulation_2-Debug_CDT2-lrineau
...
Fix CDT_2 errors, using snapping of intersection points
2018-06-01 17:26:16 +02:00
Andreas Fabri
8fa2670526
fix Bbox_2::dilate()
2018-05-30 14:34:34 +02:00
Andreas Fabri
1123afb70e
Add Bbox_{2,3}.dilate(int) so that the snapping in the CT_2 also works with Projection_traits classes
2018-05-30 14:34:34 +02:00
Laurent Rineau
cb14375778
Merge branch 'master' into Property_map-Point_kernel_converter_map-GF
2018-05-29 10:58:28 +02:00
Andreas Fabri
0d3ac75518
Introduce namespace Intersections
2018-05-04 08:57:56 +02:00
Andreas Fabri
42762b7efb
Add do_intersect(Iso_cuboid_3, Plane_3/Triangle_3)
2018-05-04 08:57:53 +02:00
Sébastien Loriot
8bc315c974
make it work with any Kernel object
2018-05-03 15:05:47 +02:00
Maxime Gimeno
67ca3f9dcb
fixes
2018-04-27 09:18:48 +02:00
Mael Rouxel-Labbé
17d46e9211
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-04-26 11:55:17 +02:00
Maxime Gimeno
b20d0e0908
Optimization
2018-04-26 10:02:43 +02:00
Maxime Gimeno
bcfb7afead
Add an operator for a Ray_3 to ConstructProjectedpoint_3
2018-04-25 15:32:36 +02:00
Sébastien Loriot
01af331c72
use https for all links to www.cgal.org and doc.cgal.org
2018-03-14 15:59:38 +01:00
Mael Rouxel-Labbé
c28e05be0c
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-02-23 12:50:06 +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
Maxime Gimeno
7fa4b380d2
fixes in includes logic.
2018-02-02 12:08:05 +01:00
Andreas Fabri
2e14ff9f04
Kernel
2018-01-17 19:59:11 +00:00
Mael Rouxel-Labbé
0bca01d872
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2017-12-19 17:22:03 +01:00
Laurent Rineau
f2391a30a5
Merge pull request #2562 from afabri/Filtered_kernel-Do_intersect_2-GF
...
Add Static Filters for the Exact Construction Kernel
2017-12-19 16:29:53 +01:00
Mael Rouxel-Labbé
add23592de
Fixed license/tag issues
2017-12-08 10:02:26 +01:00
Mael Rouxel-Labbé
c18e005cd4
Added a couple of missing tags
2017-12-05 17:20:46 +01:00
Mael Rouxel-Labbé
ba3a59ed5a
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2017-11-30 15:54:00 +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
Laurent Rineau
d60379266b
Revert "Improvement: add static filters to Lazy_kernel"
...
This reverts commit 8eac6ca650 .
Now Epeck automatically falls back to using Epick predicates when the
objects have trivial approximations.
2017-10-31 12:14:01 +01:00
Andreas Fabri
2f95a05e1c
make filtering with static filter generic
2017-10-27 15:27:20 +01:00
Mael Rouxel-Labbé
1f4475d471
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2017-10-27 16:26:27 +02:00
Laurent Rineau
9076ecaddf
Add K::Has_on_bounded_side_3(Sphere_3, Sphere_3, Point_3, Point_3)
2017-10-13 15:57:02 +02:00
Mael Rouxel-Labbé
b8de2148b2
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2017-07-28 11:41:58 +02:00
Andreas Fabri
5573e5d15e
Is_degenerate_{2,3} and Collinear_{2,3} are division free
2017-07-11 20:31:28 +02:00
Laurent Rineau
d878561809
Merge pull request #2102 from afabri/Kernel_Weighted_point_without_conversion-GF
...
Remove implicit conversions between points and weighted points
2017-07-03 12:08:57 +02:00
Mael Rouxel-Labbé
acac4f7135
Added new class: Has_conversion
...
Used to check whether a Kernel converter (either Cartesian_converter or
Homogeneous_converter) provides the necessary functor T1 operator()(T2)
2017-06-28 10:16:23 +02:00
Mael Rouxel-Labbé
11786a7b90
Fixed minor mistakes from a rebase
2017-06-28 10:16:23 +02:00
Mael Rouxel-Labbé
6825ae2197
Made Kernel_checker work with constructions
...
Basically, use the same Pairify class to deduce the return type.
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
73f4a3d6cc
Removed an empty line
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé
e88b643874
Removed ambiguous weighted point constructor
...
This constructor was already cleaned in the branch that this branch
is based upon... I must have messed up a merge conflict...
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé
e95d3d3f2b
Make all conversions between Point and Weighted_point explicit
...
Also doc changes
2017-06-28 10:14:35 +02:00
Andreas Fabri
d73be575f5
Do in 2D what we did in 3D
2017-06-28 10:14:35 +02:00
Jane Tournois
6ec4669937
fix compilation of tests wrt Point vs Weighted point
2017-06-28 10:14:35 +02:00
Andreas Fabri
b949b667ab
Use Construct_point_3 inside functor
2017-06-28 10:14:35 +02:00
Andreas Fabri
bb213d5ad1
Changes after making Weighted_point_3(const Point_3) explicit
2017-06-28 10:14:35 +02:00
Andreas Fabri
2f895335d0
The Weighted_point_mapper becomes a traits class; test_regular_3.cpp passes
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé
12f5cf82ee
Fixed cubic equation solver
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé
7c014c9e27
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
...
Based on cgal-public-dev/Periodic_3_Regular...
@ 7efd46f427580437943fa549bdbf1159f35b1edb
2017-06-16 11:21:52 +02:00
Mael Rouxel-Labbé
7da382a285
Added new class: Has_conversion
...
Used to check whether a Kernel converter (either Cartesian_converter or
Homogeneous_converter) provides the necessary functor T1 operator()(T2)
2017-06-15 10:34:15 +02:00
Mael Rouxel-Labbé
8fbe17c080
Fixed minor mistakes from a rebase
2017-06-15 10:34:15 +02:00
Mael Rouxel-Labbé
cd4f282e01
Made Kernel_checker work with constructions
...
Basically, use the same Pairify class to deduce the return type.
2017-06-15 10:34:15 +02:00
Mael Rouxel-Labbé
4173e24fec
Removed an empty line
2017-06-15 10:34:15 +02:00
Mael Rouxel-Labbé
279c1d77ac
Removed ambiguous weighted point constructor
...
This constructor was already cleaned in the branch that this branch
is based upon... I must have messed up a merge conflict...
2017-06-15 10:32:03 +02:00
Mael Rouxel-Labbé
df7feeab3a
Make all conversions between Point and Weighted_point explicit
...
Also doc changes
2017-06-15 10:32:03 +02:00
Andreas Fabri
21395c7d5e
Do in 2D what we did in 3D
2017-06-15 10:29:26 +02:00
Jane Tournois
9a087ffe6f
fix compilation of tests wrt Point vs Weighted point
2017-06-15 10:29:26 +02:00
Andreas Fabri
50ff3708cb
Use Construct_point_3 inside functor
2017-06-15 10:29:26 +02:00
Andreas Fabri
6a1b4c154b
Changes after making Weighted_point_3(const Point_3) explicit
2017-06-15 10:29:26 +02:00
Andreas Fabri
64e5c887ec
The Weighted_point_mapper becomes a traits class; test_regular_3.cpp passes
2017-06-15 10:29:26 +02:00
Mael Rouxel-Labbé
1e7ce5075f
Moved Select_exact_kernel from Filtered_kernel.h to a seperate file
...
also renamed it to `Exact_kernel_selector` and added E2C typedefs
2017-06-13 16:27:24 +02:00
Mael Rouxel-Labbé
5f1ba08d52
Fixed minor mistakes from a rebase
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
f636d0d070
Made Kernel_checker work with constructions
...
Basically, use the same Pairify class to deduce the return type.
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
e6c14f115e
Removed an empty line
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
974c68b27d
Removed ambiguous weighted point constructor
...
This constructor was already cleaned in the branch that this branch
is based upon... I must have messed up a merge conflict...
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
9e742a4694
Make all conversions between Point and Weighted_point explicit
...
Also doc changes
2017-06-08 13:23:10 +02:00
Andreas Fabri
858e846b72
Do in 2D what we did in 3D
2017-06-08 13:23:10 +02:00
Jane Tournois
632a87f6b9
fix compilation of tests wrt Point vs Weighted point
2017-06-08 13:23:10 +02:00
Andreas Fabri
5101afc63a
Use Construct_point_3 inside functor
2017-06-08 13:23:10 +02:00
Andreas Fabri
afd01a9932
Changes after making Weighted_point_3(const Point_3) explicit
2017-06-08 13:23:10 +02:00
Andreas Fabri
50db4d8813
The Weighted_point_mapper becomes a traits class; test_regular_3.cpp passes
2017-06-08 13:23:10 +02:00
Sébastien Loriot
ae900ae297
force the usage of CGAL compare function
...
this fixes an issue detected whenusing LEDA without GMP
2017-05-22 09:43:36 +02:00
Sébastien Loriot
05fcab830e
Add deprecation message
2017-05-15 10:09:19 +02:00
Sébastien Loriot
ed704ea0f3
protect deprecated code with deprecation macro
2017-05-12 10:02:08 +02:00
Andreas Fabri
432a40df72
improve implementation as suggested by @mglisse
2017-05-12 09:49:41 +02:00
Andreas Fabri
9ccc9c1178
Fix compare_slope()
2017-05-12 09:49:39 +02:00
Andreas Fabri
5f8bc52082
Add angle(Point_3, Point_3,Point_3,Vector_3)
2017-05-12 09:48:23 +02:00
Andreas Fabri
061a9b1ecd
Kernel:23 Add Compare_slope_3
2017-05-12 09:48:21 +02:00
Mael Rouxel-Labbé
9f366d6acf
Fixed missing _object(){ } for construct_wp/p functors of projection traits
2017-04-30 19:51:49 +02:00
Mael Rouxel-Labbé
37eac35321
Added functions related to Weighted_point_2 to Projection_traits_3
...
+ tests
2017-04-21 18:14:38 +02:00
Mael Rouxel-Labbé
c79e2d4b36
Added Compute_power_product_2 to the 2D kernel predicates
...
doc + test included
2017-04-21 13:07:40 +02:00
Mael Rouxel-Labbé
bb086ff739
Added power_side_of_bounded_power_circle_2 to the 2D kernel predicates
...
A partial implementation was deleted from the Alpha_shapes_2 package without
moving the functions to the kernel...
This implementation adds the missing overloads (4, 3, and 2 points)
Test + doc included
2017-04-21 11:37:27 +02:00
Mael Rouxel-Labbé
a751464ab6
Minor fixes to weighted functors (doc + cleaning)
2017-04-21 11:31:13 +02:00
Mael Rouxel-Labbé
232c38cee1
Removed documentation of degenerate cases of power_side_of_oriented_* predicates
...
See Issue https://github.com/CGAL/cgal/issues/2067
2017-04-20 12:54:39 +02:00
Mael Rouxel-Labbé
1223f5f5a0
Improved readability of weighted point-related functors (no real changes)
...
Fixed indentation, trailing whitespace, english, etc.
2017-04-19 11:40:58 +02:00
Mael Rouxel-Labbé
dd2e7f3a0c
Made compute_squared_smallest_orthogonal_circle_2() a kernel functor
...
and documented, tested, etc. it
Previously in Alpha_shape_2
2017-04-19 11:06:14 +02:00
Mael Rouxel-Labbé
2ae17980fe
Added weighted point-related functions to global functions
2017-04-07 03:44:59 +02:00
Mael Rouxel-Labbé
365cfd0566
Fixed predicate Power_side_of_oriented_power_sphere_3
...
The Homogeneous kernel doesn't know how to run that predicate
for 3 or 4 arguments so it must be defined in Kernel/function_objects until
those operators are added
2017-04-06 21:57:21 +02:00
Mael Rouxel-Labbé
548d2bfb02
Cosmetic changes to Point_23 and Weighted_point_23
2017-04-06 12:38:18 +02:00
Mael Rouxel-Labbé
aacf8db95f
Fixed includes and typedefs in Weighted_point_23
2017-04-06 12:35:24 +02:00
Mael Rouxel-Labbé
2d2e675dac
Fixed missing operators in Cartesian and homogeneous construct_weighted_point_23
2017-04-06 12:18:36 +02:00
Andreas Fabri
32e3d1bebd
Division free functors may use Mpzf
2017-03-01 17:16:31 +01:00
Sébastien Loriot
9ae7b37845
Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
...
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
Sébastien Loriot
cba8456715
add constructions for the intersection point of a plane by a line and of 2 lines
...
this is undocumented and allow to have a lazy node for this construction
2017-01-02 19:23:48 +01:00
Laurent Rineau
7e9d909602
Fix comments with wrong statements
2016-12-30 16:44:08 +01:00
Andreas Fabri
226da32579
std::max() does only take two arguments
2016-12-21 09:42:33 +01:00
Maxime Gimeno
b0dd7d25cb
Add Compute_L_infinity_distance_3.
2016-12-21 09:41:33 +01:00
Andreas Fabri
eb7e38493c
Add the function FT l_infinity_distance(Point_2, Point_2)
...
as well as the corresponding functor
This is a function where the implementation is in the file
Kernel_23/include/CGAL/Kernel/function_objects.h
When the implementation is different for Cartesia and Homogeneous coordinates
the code should go into the function_objects.h files
in the packages Cartesian_kernel and Homogeneous_kernel
2016-12-21 09:40:53 +01:00
Laurent Rineau
bbf430b0b1
Merge pull request #585 from afabri/Kernel-Weighted_point-GF
...
Introduce Kernel::Weighted_point_3 together with functors
2016-12-20 19:52:02 +01:00
Laurent Rineau
2f4a32f089
fix Construct_projected_point_3 with degenerate triangles
...
`Construct_projected_point_3::operator()(Point_3, Triangle_3)` now
checks if the triangle is degenerated (actually it checks if its
supporting plane is degenerated). If it is, it falls back to
`operator()(Point_3, Segment_3)` with the segment that is equivalent to
the triangle. When using non-exact floating point numbers, it chooses
the edge of the triangle that has the biggest l-infinity length.
2016-12-02 13:14:14 +01:00
Jane Tournois
e633fb0a3b
add missing "-" needed for conversion from Sign to Bounded_side
2016-11-24 16:53:55 +01:00
Jane Tournois
306323d45c
make doc and doc consistent
...
- add "model of Concept" as much as possible in the modified classes/concepts
- fix some links
- update package description of Kernel_23
2016-11-03 14:55:39 +01:00
Jane Tournois
6af2db1b91
Use Power_side_of_bounded_power_sphere instead of Side_of_bounded_orthogonal_sphere
...
both functors made the same computation, up the sign of the result.
The return type now is CGAL::Bounded_side, which makes things easier
to understand and use
2016-11-03 14:55:39 +01:00
Jane Tournois
f3a021a195
rename in_smallest_orthogonal_sphereC3 to power_side_of_bounded_power_sphereC3
2016-11-03 14:53:54 +01:00
Andreas Fabri
ad9d2c369c
Rename tests following Olivier's recommendations
2016-11-03 14:53:54 +01:00
Andreas Fabri
d78735364b
Fixes after review by Monique and Olivier
2016-11-03 14:53:15 +01:00
Andreas Fabri
f488b9baf9
Changes after Laurent's review
2016-11-03 14:53:15 +01:00
Andreas Fabri
842aad6e76
Fix which predicates can be done without division
2016-11-03 13:10:27 +01:00
Laurent Rineau
3302d997b6
Fix I/O of Weighted_point_3
...
@afabri You should have use a code similar to the one of
`CGAL::Sphere_3`, that would have avoided those errors.
2016-11-03 13:10:27 +01:00