Commit Graph

191 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé a5608f85dc Add missing header 2025-09-19 16:22:33 +02:00
Mael Rouxel-Labbé e91357cd7d Add missing header includes 2025-09-19 15:13:50 +02:00
Sébastien Loriot b66afab814 Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD 2023-07-05 11:29:35 +02:00
Sébastien Loriot 0ee31a5d4f remove extra parenthesis 2023-06-19 19:17:49 +02:00
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
Sébastien Loriot c8a88b9014 remove CGAL_static_assertion* 2023-06-15 10:42:10 +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 3fa436459d BOOST_MPL_ASSERT -> static_assert 2022-06-10 08:46:01 +02:00
Sébastien Loriot ac8b6d4731 boost::is_same --> std::is_same 2022-06-10 08:18:20 +02: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