Sébastien Loriot
9a0bdb5d96
boost::variant ---> std::variant
2023-06-15 10:57:10 +02:00
Sébastien Loriot
604dcdc435
boost::optional => std::optional
2023-06-15 10:57:09 +02:00
Laurent Rineau
b36c05f2e7
Merge pull request #7118 from sloriot/Intersections_2-vert_hori_segments
...
Add special case for intersection of a vertical segment with an horizontal segment
2023-02-10 15:40:52 +01:00
Sébastien Loriot
397620e7be
add special case for intersection of a vertical segment with an horizontal segment
2022-12-13 19:06:33 +01:00
Mael
386c6a3ac2
Fix typo
2022-11-22 18:42:13 +01:00
Mael Rouxel-Labbé
a758101038
Remove some useless includes
2022-11-22 12:35:44 +01:00
Mael Rouxel-Labbé
dbe4c0fb5e
Use a kernel functor instead of assuming kernel object operators exist
2022-11-22 12:35:22 +01:00
Mael Rouxel-Labbé
8ba0b41f51
Drive-by cleaning
2022-11-22 12:35:10 +01:00
Mael Rouxel-Labbé
3a4e230ac7
Do_intersect_23 should return K::Boolean
...
Returning bool also created an issue because compilers could not figure out
how to convert from Needs_FT<Uncertain<bool> > to bool
2022-11-22 12:22:42 +01:00
Sébastien Loriot
3909bfed10
use a simpler version with value clamp and nan handling
...
Herbie expression was failing to give a result a good
result on a simple case so I wrote a simpler version
2022-05-30 15:53:15 +02:00
Sébastien Loriot
246bc7f4ea
remove tabs and add std::
2022-03-18 08:50:11 +01:00
Sébastien Loriot
b50cbad224
better name
2022-03-18 08:46:57 +01:00
Sébastien Loriot
f58073aa01
add a double version of alpha computation
...
generated using Herbie
2022-03-18 08:39:55 +01:00
Sébastien Loriot
3c120f11b0
add missing default
2022-02-18 15:50:59 +01:00
Sébastien Loriot
f7fa358585
remove useless certainly
...
will fail a few lines below anyway
2022-02-18 15:50:59 +01:00
Sébastien Loriot
f6f2b28b0e
make the crossing point computation deterministic
2022-02-18 15:50:58 +01:00
Sébastien Loriot
d370326ec1
add CGAL_unreachable as requested by @lrineau and @mglisse
2021-10-27 14:45:10 +02:00
Sébastien Loriot
deee502152
avoid using default
2021-10-27 14:40:23 +02:00
Sébastien Loriot
b26a46a852
fix warnings
2021-10-26 11:15:03 +02:00
Sébastien Loriot
546ab87feb
add backward compatibility internal functions
2021-10-22 17:28:48 +02:00
Sébastien Loriot
1036f2d908
remove unused variable
2021-10-22 17:13:18 +02:00
Sébastien Loriot
8534f47845
simplify code
2021-10-14 14:15:48 +02:00
Sébastien Loriot
ae04cb8be6
report only what's needed for Intersect_2
2021-10-14 14:08:21 +02:00
Sébastien Loriot
c814d11c8e
use close form for intersection in their interior of non-collinear segments
2021-10-14 13:50:40 +02:00
Sébastien Loriot
e19ddaceb4
introducing intersection info for segment_2-segment_2
...
Intersect_2 uses combinarics information from Do_intersect_2
2021-10-14 10:58:19 +02:00
Sébastien Loriot
841cf8dca8
avoid duplicating code by sorting points
2021-10-14 10:57:05 +02:00
Sébastien Loriot
9b19c5faff
rename enum
2021-09-23 15:11:18 +02:00
Sébastien Loriot
fb37f69c93
avoid extra bool by relying on enum
2021-09-23 13:15:28 +02:00
Mael Rouxel-Labbé
7e62c02176
Re-organize into Distance_2/X_Y.h to align with Distance_3
2021-04-12 15:31:55 +02:00
Sébastien Loriot
090b82e762
Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch'
2020-10-02 15:08:56 +02:00
Maxime Gimeno
e169490c78
Replace fix for Point_2(Origin)
2020-09-30 10:03:30 +02:00
Maxime Gimeno
2549b58973
fix warnings on switch
2020-09-30 09:58:12 +02:00
Maxime Gimeno
c33bd6ac36
Fix ORIGIN
2020-09-29 17:08:29 +02:00
Maxime GIMENO
bdd69b5982
Replace K::Point_2(0,0) with ORIGIN
...
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2020-09-29 12:42:02 +02:00
Maxime Gimeno
c6077ca87a
Remove _known fiom intersection line_2/line_2
2020-09-29 12:06:15 +02:00
Sébastien Loriot
8b4118912d
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 18:58:21 +01:00
Sébastien Loriot
fedc29e23c
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 18:57:54 +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
Maxime Gimeno
fe0d4d0a6e
more clean-up
2020-03-19 16:41:59 +01:00
Maxime Gimeno
ce4cbe6d06
Fix licenses
2020-03-19 11:41:57 +01:00
Maxime Gimeno
8a6bdd90b3
Fix after review
2020-03-19 11:31:35 +01:00
Maxime Gimeno
0f3305f983
Enhancements after review
2020-01-16 17:20:13 +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
Mael Rouxel-Labbé
a5f09f89a6
Partial code cleaning (and fix some typedefs)
2019-10-22 12:36:58 +02:00
Maxime Gimeno
e9a0b2d695
Fixes after review
2019-10-21 15:51:36 +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
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
Maxime Gimeno
3c875e8a18
WIP review
2019-10-04 15:30:52 +02:00
Maxime Gimeno
9ede1f3ee7
Specialize the cw test to be more robust if the kernel is not exact
2019-10-03 10:53:28 +02:00