Commit Graph

677 Commits

Author SHA1 Message Date
Sebastien Loriot 833d425ca3
Triangulation: Add static filter for 5D and 6D orientation predicate (#8862)
## Summary of Changes

This PR adds a static filter for the orientation test of 4D, 5D and 6D
points. It is ~20% faster than just interval arithmetic.

- [x] Add for 4D
- [x] ~~Add in sphere predicate~~

## Release Management

* Affected package(s): Triangulation
* License and copyright ownership:  unchanged
2025-08-05 16:15:54 +02:00
Marc Glisse 89c0551c82 Vector_d == Vector_d
implement it
document it (also for Point_d)
disable < <= > >=
2025-07-23 14:29:21 +02:00
Andreas Fabri 15760cfc78 In 5D we enter Orientation_5, but not in 4D. why? 2025-07-02 17:08:49 +01:00
Andreas Fabri b38b13e2ef WIP for bench4 2025-07-02 16:55:01 +01:00
Andreas Fabri c6b19ed0e3 Add license header 2025-07-02 10:40:52 +01:00
Andreas Fabri 496239a0ed Integrate generated files 2025-07-02 10:32:21 +01:00
Andreas Fabri 63cc54c367 Less abs() 2025-07-01 18:15:07 +01:00
Andreas Fabri 68d2be2798 Less calls to abs() 2025-07-01 17:28:34 +01:00
Sébastien Loriot f2e16bd0c9 dim 6 2025-07-01 16:05:37 +02:00
Sébastien Loriot 8daad7fc09 fix predicate and add filtered version 2025-07-01 15:58:00 +02:00
Andreas Fabri 5bfaaac650 Addd source for filter generator 2025-07-01 11:41:06 +01:00
Andreas Fabri 0ccbfc4c78 Use functor to compute squared distance 2025-05-30 14:48:39 +01:00
Andreas Fabri 1d9c91e73f cleanup 2025-05-30 14:25:12 +01:00
Andreas Fabri 060a02812c cleanup 2025-05-30 10:56:29 +01:00
Andreas Fabri 59e7d89f6b Do cleanup as suggested by @mglisse 2025-05-30 09:16:52 +01:00
Andreas Fabri 851d03dadb merge master 2025-05-07 09:13:11 +01:00
Andreas Fabri a9621595e5 Fixed code for 6D. For 100K points: 133 instead of 239 sec 2025-04-24 13:42:44 +01:00
Andreas Fabri 717f6aff44 Add benchmark and static filter for 6D 2025-04-24 10:32:25 +01:00
Sébastien Loriot c75cc8aabd FPG output for the orientationC6 2025-04-24 10:23:25 +02:00
Andreas Fabri 3d0a5e54a2 Add source of Orientation_6 for FPG 2025-04-24 09:19:00 +01:00
Andreas Fabri 41ecef0fa3 Add macro for disabling filtering CGAL_NO_STATIC_FILTER_5 2025-04-23 14:51:31 +01:00
Sébastien Loriot 1c07d4c3b4 FPG generated version 2025-04-23 14:55:29 +02:00
Andreas Fabri f747db2774 rewrite predicate 2025-04-23 13:48:57 +01:00
Andreas Fabri 2d0dfd2822 Compiles but segfault 2025-04-23 11:53:03 +01:00
Sébastien Loriot e622f3e03e replace with FPG generated code 2025-04-23 11:08:12 +02:00
Sébastien Loriot f21e9b18ba update predicate source 2025-04-23 11:07:38 +02:00
Andreas Fabri 8cacb534a5 needs one more point 2025-04-23 09:42:15 +01:00
Andreas Fabri e79ee242bd Add code for FPG of Orientation_5 2025-04-23 09:37:39 +01:00
Mael Rouxel-Labbé f9001833b1 Merge remote-tracking branch 'cgal/master' into Kernel_23-Fix_dangling_ref_in_CC3-GF 2025-03-15 14:09:28 +01:00
Andreas Fabri 6eaeb7a148 merge cgal/master 2025-02-28 08:55:20 +00:00
Andreas Fabri 81a52306af Fixes 2025-02-27 08:11:25 +00:00
Andreas Fabri 3ec656b316 Fixes for problems revealed in CGAL-6.1-Ic-97 2025-02-26 08:53:05 +00:00
Andreas Fabri 7744311019 Remove d of Bbox_d constructor 2025-02-10 14:44:49 +00:00
Andreas Fabri 0bd09ea2db WIP: Add Compare_squared_distance to NewKernel_d 2025-02-05 14:59:55 +00:00
Laurent Rineau e5001d1a50 update our CMake version 3.18...3.31
That will suppress the warnings about `CMP0167` (from CMake 3.30):

```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
```
2025-02-04 14:32:37 +01:00
Mael Rouxel-Labbé 06f862eee7 Misc post-merge fixes 2025-01-17 12:27:21 +01:00
Mael Rouxel-Labbé 3b7a4ed21e Merge remote-tracking branch 'cgal/master' into Kernel_23-Fix_dangling_ref_in_CC3-GF 2025-01-16 11:52:34 +01:00
Andreas Fabri 9371c7307a Fix in test program 2025-01-14 09:31:21 +00:00
Andreas Fabri d1fb0d22d2 Move Bbox_d.h to NewKernel 2025-01-10 15:08:08 +00:00
Andreas Fabri 2a1ece6969 Add BBox_d 2025-01-10 11:18:38 +00:00
Mael Rouxel-Labbé d02e817bc1 Get rid of result types in function objects of Circular_kernel_23 2025-01-08 17:25:20 +01:00
Mael Rouxel-Labbé b7de40afce Update enum_cast<Uncertain> calls to new API 2025-01-08 17:17:55 +01:00
Sébastien Loriot c050bb15a3 Merge remote-tracking branch 'cgal/master' 2024-11-15 11:41:07 +01:00
Andreas Fabri 527569346e CGAL: Modernize CMakeLists.txt 2024-10-08 17:02:41 +01:00
Andreas Fabri 6d698871f9 cleanup 2024-09-18 16:18:13 +01:00
Andreas Fabri 08bfb447c8 Move converters to Curve_base 2024-09-18 14:05:48 +01:00
Sébastien Loriot 6e90a467d6 add converter as template parameter 2024-09-18 14:35:40 +02:00
Sébastien Loriot 82567ca6e4 add construct vector from 2 points 2024-09-18 13:45:25 +02:00
Andreas Fabri 998d787623 remove temporarily added typedefs 2024-09-17 17:14:46 +01:00
Andreas Fabri 7d8c8f68bf more functors 2024-09-17 14:56:19 +01:00