Commit Graph

177 Commits

Author SHA1 Message Date
Laurent Rineau 32e0ed20d5 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:39:55 +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
Laurent Rineau d086a94259 Merge pull request #6430 from sloriot/Kernel_23-s2s2_double_better_precision
add a double version of alpha computation
2022-06-03 16:09:01 +02: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
Mael Rouxel-Labbé d355a56d66 Merge remote-tracking branch 'cgal/master' into AABB_tree-Multiple_prim_per_datum-GF 2022-03-24 12:44:28 +01: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 1491983b93 add missing include directives 2022-01-18 11:36:56 +01:00
Andreas Fabri 1d01b0d06e Remove a class IT in the namespace CGAL that pollutes and does nothing 2022-01-18 09:20:03 +00: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é 8a92d51601 Merge branch 'Distance_3-Add_Tri_Tri-GF-old' into Distance_3-Add_Tri_Tri-GF 2021-09-02 17:26:44 +02:00
Mael Rouxel-Labbé 9ed943e92f Fix parameter names for consistency 2021-06-23 17:38:22 +02:00
Mael Rouxel-Labbé fba303341f Merge remote-tracking branch 'cgal/master' into Distance_3-Add_Tri_Tri-GF 2021-04-12 15:33:14 +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
Dmitry Anisimov 81d9556707 Merge remote-tracking branch 'upstream/master' into Kernels-decltypes-danston 2021-02-10 10:06:45 +01: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
Dmitry Anisimov 209513dc56 fixed docs + a few code improvements 2020-07-31 15:58:38 +02:00
Dmitry Anisimov ad813b4cb0 further removed result_of and result 2020-07-30 16:19:02 +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