Commit Graph

117 Commits

Author SHA1 Message Date
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Mael Rouxel-Labbé 5aeb59215f Avoid some superfluous checks 2022-02-28 11:29:54 +01:00
Mael Rouxel-Labbé 192ae3fb83 Use kernel functor 2022-02-25 15:56:27 +01:00
Mael Rouxel-Labbé 36c800688d More tests 2022-02-25 13:40:02 +01:00
Mael Rouxel-Labbé d048a50f57 Revert b95c60fc9f
One orientation is not sufficient to determine which segment realizes the min.
Reverting to the previous implementation.

b95c60fc9f
2022-02-25 13:38:45 +01:00
Mael Rouxel-Labbé 2dd39271e6 Fix typo 2022-02-24 21:58:28 +01:00
Andreas Fabri 9310a482a1 Construct a FT from non integral double 2022-01-26 10:53:42 +00:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 049c525276 use integer and reduce the number of tests
leda_rational is not automatically doing gcd calls so Quotient<leda_integer>
is faster for our applications.
The test is still slow with EPECK
2021-09-08 15:21:06 +02:00
Mael Rouxel-Labbé a4a00d969d Reapply changes from PR #5680 (merge conflict resolution)
Outside of the merge commit for clarity.
2021-06-23 22:30:42 +02:00
Mael Rouxel-Labbé 084a1efe2d Merge remote-tracking branch 'cgal/master' into Distance_3-Add_Tri_Tri-GF 2021-06-23 22:30:03 +02:00
Mael Rouxel-Labbé 2820a9430e Do not use RT functions in FT functions as it causes a slowdown 2021-05-25 10:46:29 +02:00
Andreas Fabri 430defe110 Add dependencies introduced by including Rational_traits 2021-05-11 11:11:08 +02:00
Mael Rouxel-Labbé cf15bbe80e Fix functor usage in Distance_23
+ various code improvements along the way
2021-05-07 19:22:00 +02:00
Mael Rouxel-Labbé f29e7ca937 Factorize RT/non_RT and Cartesian/Homogeneous implementations
Note that the function squared_distance_to_triangle is modified,
see PR https://github.com/CGAL/cgal/pull/5647
2021-05-07 12:15:21 +02:00
Andreas Fabri c46bccf4ac Add point/triangle distance tests 2021-05-06 12:43:31 +02:00
Andreas Fabri 599e8a74d0 include <CGAL/Rational_traits.h> 2021-05-06 09:02:51 +02:00
Andreas Fabri f45e843cd0 trailing whitespace 2021-05-06 08:03:53 +02:00
Andreas Fabri 020ec5408e Fixes concerning return 2021-05-06 07:51:29 +02:00
Andreas Fabri 10e1b51ed3 Add &s 2021-05-05 17:24:37 +02:00
Andreas Fabri 28a6a91453 Intersections_3: Make do_intersect(sphere/triangle) work if FT is division free 2021-05-05 16:54:05 +02:00
Mael Rouxel-Labbé b95c60fc9f Avoid needless orientation checks / distance computations
If we are right of the edge, the distance is minimum over the edge...
...and that's it. Computing the distance to a segment is about
as expensive as the orientation check, so no point pinpointing
to check if the min is at a vertex.
2021-04-27 22:40:22 +02:00
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Mael Rouxel-Labbé 5deb509374 Move to Distance_3/X_Y.h rather than squared_distance_X_Y.h (as Intersections) 2021-04-12 14:42:44 +02:00
Mael Rouxel-Labbé 7b1dfd4983 Tiny assertion improvements 2021-04-06 16:25:04 +02:00
Mael Rouxel-Labbé 306fbaacb3 Fix compilation with gmpxx 2021-04-06 16:12:53 +02:00
Mael Rouxel-Labbé 6d3eacd2cd Fix namespaces 2021-04-06 12:48:39 +02:00
Mael Rouxel-Labbé 33d7501a3e Fix conversion warnings 2021-03-31 12:17:24 +02:00
Mael Rouxel-Labbé 8bdba67281 Fix double -> int loss 2021-03-26 09:39:15 +01:00
Mael Rouxel-Labbé e18e75f4aa Remove unused functors 2021-03-26 09:39:03 +01:00
Mael Rouxel-Labbé cf55bca4b9 Add missing includes 2021-03-12 15:19:55 +01:00
Mael Rouxel-Labbé ba76299e4f Add missing include 2021-03-12 12:52:05 +01:00
Mael Rouxel-Labbé 5278c3044f Add some real tests for Seg_3-Seg_3 and Tri_3-Tri_3 2021-03-12 12:52:05 +01:00
Mael Rouxel-Labbé 29d8b296ed Add Triangle_3-Triangle_3 distance 2021-03-12 12:52:05 +01:00
Mael Rouxel-Labbé 2046f7368b Improve Segment_3-Segment_3 distance computation 2021-03-12 12:52:05 +01:00
Mael Rouxel-Labbé 6b0459c686 Re-organize squared_distance_3_x.h into squared_distance_O1_O2.h
+ minor improvements (missing overloads, obvious improvements, etc.)
2021-03-12 12:51:59 +01:00
Andreas Fabri b787a0afd6 (std::min) 2021-02-26 16:45:33 +00:00
Maxime Gimeno 21745762b1 add missing typedef 2021-02-24 10:01:27 +01:00
Andreas Fabri 59d7b22959 Hope to get it right now 2021-02-17 09:53:28 +00:00
Andreas Fabri 42866756b9 After the code review 2021-02-16 16:45:02 +00:00
Andreas Fabri fe22b0ff27 Add Point_3/Tetrahedron_3 2021-02-16 16:13:33 +00:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Laurent Rineau 0c94ff4308 Merge pull request #4804 from maxGimeno/Distance_3-Fix_compare_for-leda-maxGimeno
Distance_3: Fix error with LEDA
2020-06-23 18:49:46 +02:00
Maxime Gimeno 50e2539bd7 Add CGAL:: before compare() to avoid miximg up the functions 2020-06-22 13:44:37 +02: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 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Laurent Rineau 97ba3ec258 Merge pull request #4311 from maxGimeno/Distance_3-Plane_plane-maxGimeno
Distance_3: Add Pl_3-Pl_3
2019-11-06 17:45:34 +01:00
Maxime Gimeno 8251bb9bac fix after review 2019-10-25 11:21:05 +02:00