Campbell Barton
4855f8cd9c
BLI_convexhull_2d: optimize rotating calipers
...
Previously the hulls edges were simply iterated over causing the
rotating calipers to step over points 4x as many times as is needed.
Avoid this by adding angle stepping logic that maps all angles to a
single quadrant, reducing the checks needed to advance the calipers
to each new angle. This gives ~1.4x speedup to AABB fitting logic.
Also add a test for octagon shapes to ensure axis aligned edges work
as expected.
2024-03-31 22:47:23 +11:00
..
2024-01-19 14:32:28 +01:00
2024-01-21 13:22:16 +01:00
2024-01-03 13:38:14 +01:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-03-05 14:32:48 +01:00
2023-08-16 00:20:26 +10:00
2024-03-31 22:47:23 +11:00
2023-08-16 00:20:26 +10:00
2024-02-27 23:09:54 -05:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-03-28 22:57:57 +11:00
2023-12-07 12:45:27 +11:00
2024-03-27 10:31:24 +11:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-02 19:55:06 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-12-01 11:19:39 +01:00
2024-03-17 09:52:32 +01:00
2024-02-22 12:57:10 +01:00
2024-02-22 12:57:10 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 14:48:53 +03:00
2024-02-28 22:22:21 +01:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-03-21 10:54:17 +01:00
2023-08-16 00:20:26 +10:00
2024-03-28 22:57:57 +11:00
2024-02-11 17:16:17 +11:00
2024-03-21 13:22:10 +01:00
2024-03-28 22:57:57 +11:00
2024-03-03 16:26:04 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-03-28 22:57:57 +11:00
2023-08-16 00:20:26 +10:00
2023-08-17 15:05:52 +02:00
2023-08-16 00:20:26 +10:00
2023-10-20 10:27:26 +02:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-02-15 13:15:56 +11:00
2023-08-16 00:20:26 +10:00
2024-01-19 20:29:38 +01:00
2023-08-29 17:00:33 +02:00
2024-02-14 13:40:31 +11:00
2024-02-17 20:59:45 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-01-22 13:47:13 +01:00
2024-02-14 13:40:31 +11:00
2024-02-14 13:40:31 +11:00
2024-02-14 13:40:31 +11:00
2023-10-06 03:02:17 +02:00
2024-02-20 17:52:14 +01:00
2023-10-06 16:38:45 +02:00
2024-01-22 15:58:18 +01:00
2023-12-13 12:14:29 +11:00
2023-11-02 16:43:04 +11:00
2023-08-16 00:20:26 +10:00
2023-12-01 15:29:36 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-20 15:20:11 +01:00
2024-02-14 13:40:31 +11:00
2024-02-14 13:40:31 +11:00
2024-02-14 13:40:31 +11:00