Commit Graph

583 Commits

Author SHA1 Message Date
Giles Bathgate 0570e6aa3c Merge branch 'master' into Nef_3-performance_shoot-GilesBathgate 2022-06-03 15:30:05 +01:00
Laurent Rineau d5b6911929 Merge pull request #6480 from GilesBathgate/Nef_3-performance_reduce_object_casts-GilesBathgate
Nef_3: Use separate lists K3_tree node to avoid object casts
2022-06-03 16:08:58 +02:00
Andreas Fabri 9567522297 Include header 2022-04-19 17:02:20 +01:00
Andreas Fabri 36f2260948 Move return() out of the switch to avoid warning 2022-04-14 08:36:36 +01:00
Giles Bathgate 168ae33f73 Remove extraneous semicolon, initialize solution enum. 2022-04-13 17:36:12 +01:00
Andreas Fabri 2a5fcdcfb1 Add reserve() in generic code and change comment to avoid warning 2022-04-13 12:59:21 +01:00
Andreas Fabri 68d896b496 Fix warnings 2022-04-13 11:53:02 +01:00
Giles Bathgate 0bbb92aac7 Inline variable to only construct segment when needed 2022-04-07 18:07:32 +01:00
Giles Bathgate 32f04e082d Rename local variable to not conflict with member variable name 2022-04-07 17:40:28 +01:00
Andreas Fabri 3aea3f4691 initialize solution 2022-04-07 13:14:14 +01:00
Giles Bathgate 69562405f5 Use enum in SNC_point_locator to avoid object casts 2022-04-06 23:39:24 +01:00
Giles Bathgate ddce635de2 Remove object casting in Intersection_call_back 2022-04-06 23:10:06 +01:00
Giles Bathgate af913fd00f Use separate lists K3_tree node to avoid object casts 2022-04-06 20:27:04 +01:00
Giles Bathgate 104aca6295 Add a comment to the get_hash method 2022-04-04 17:38:41 +01:00
Giles Bathgate 4f9bb66292 Use bucket_count constructor in std::unordered_map 2022-04-03 23:30:42 +01:00
Giles Bathgate 52e0166b5f Use std::unordered map instead of std::map 2022-04-03 20:45:18 +01:00
Giles Bathgate 04f7b8d7b9 Avoid filter failure in ray shoot facet 2022-04-03 11:41:26 +01:00
Giles Bathgate 0dfa8a4941 Avoid double hash lookup 2022-04-03 11:41:07 +01:00
Laurent Rineau 0d9f80e557 Merge pull request #6435 from GilesBathgate/Nef_3-cleanup_snc_list-GilesBathgate
Nef_3: Cleanup SNC_list
2022-03-31 16:58:05 +02:00
Sébastien Loriot 4c4aeb74f4 Merge pull request #6433 from GilesBathgate/Nef_3-cleanup_nef_list_of_triangles-GilesBathgate
Nef_3: Cleanup Halffacet_triangle_handle/Halffacet_triangle_const_handle
2022-03-29 17:47:51 +02:00
Sébastien Loriot 6bc0dc90a7 Merge pull request #6431 from afabri/Nef_3-Avoid_filter_failures-GF
Nef_3:  Avoid Filter Failures
2022-03-29 17:47:37 +02:00
Sébastien Loriot 2067913940 Merge pull request #6424 from GilesBathgate/Nef_3-cleanup_snc_intersection-GilesBathgate
Nef_3: Cleanup and performance improvements SNC_intersection
2022-03-29 17:46:56 +02:00
Sébastien Loriot 5e894656f5 Merge pull request #6422 from afabri/Nef_3-avoid_needless_tests-GF
Nef_3: Avoid needless tests
2022-03-29 17:46:42 +02:00
Sébastien Loriot 3e959d7ca6 Merge pull request #6421 from afabri/Nef_3-has_smaller_distance_to_point-GF
Nef_3: Use has_smaller_distance_to_point()
2022-03-29 17:46:16 +02:00
Sébastien Loriot 99f0598f3e Merge pull request #6378 from GilesBathgate/Nef_3-performance_sphere_circle-GilesBathgate
Nef_3: Sphere circle constructors.
2022-03-29 17:45:52 +02:00
Sébastien Loriot b34bc3f8f7 Merge pull request #6306 from GilesBathgate/Hash_map-performance_chained_map_reserve-GilesBathgate
Reserve method for Chained Map / Unique Hash Map
2022-03-29 17:45:37 +02:00
Andreas Fabri 5dd90d21fe Fix the expression 2022-03-23 16:39:23 +01:00
Andreas Fabri 80b0ec3960 Don't use a variable for calling a static method (VC2015 warned) 2022-03-23 10:47:24 +01:00
Andreas Fabri 45365e473c Don't use a variable for calling a static method (VC2015 warned) 2022-03-23 10:04:37 +01:00
Andreas Fabri 1c4b191c71 Remove no longer needed typedef (led to a W in the testsuite) 2022-03-23 09:23:25 +01:00
Giles Bathgate dc18d7abb2 Restore other predicates in ray_segment intersections 2022-03-22 21:00:57 +00:00
Giles Bathgate c8d0409297 Using planes is faster for segment intersections 2022-03-22 19:46:25 +00:00
Giles Bathgate 50ec2fadf8 Call reserve before adding infinibox vertices 2022-03-22 18:43:19 +00:00
Giles Bathgate 13592cc496 Using planes is faster for ray intersections 2022-03-22 07:37:04 +00:00
Giles Bathgate 62da2dab06 Coplanar check is a worthwhile performance tweak 2022-03-21 20:47:46 +00:00
Andreas Fabri cc3125068f Remove redundant test 2022-03-21 18:08:35 +01:00
Andreas Fabri 1a4bf304ae Switch to an overload as suggested by Giles 2022-03-21 09:19:50 +01:00
Giles Bathgate e451af9f50 As a consequence of previous changes check_has_on is never called with false 2022-03-20 10:44:17 +00:00
Giles Bathgate 0124fc9e6d Call appropriate function with different name 2022-03-20 10:44:17 +00:00
Giles Bathgate 7411d76e2f Inline function as its only called once 2022-03-20 10:44:17 +00:00
Giles Bathgate c4fc25ad82 Use simpler and faster tests for internal segment intersection 2022-03-20 10:44:17 +00:00
Giles Bathgate fdc647b510 Standardise parameter wrapping 2022-03-20 10:44:16 +00:00
Giles Bathgate 99e8bece4c Standardise check_has_on parameter name 2022-03-20 10:44:16 +00:00
Giles Bathgate 42aa3c3c87 Remove unused code, make methods static 2022-03-20 10:44:16 +00:00
Giles Bathgate 3b8a9dc9c1 Merge remote-tracking branch 'afabri/Nef_3-avoid_needless_tests-GF' into Nef_3-cleanup_snc_intersection-GilesBathgate 2022-03-20 10:35:12 +00:00
Giles Bathgate e5f47961e7 Remove commented out code 2022-03-19 12:43:38 +00:00
Giles Bathgate 415bf5ab5e Remove unused code in SNC_list 2022-03-19 12:40:28 +00:00
Giles Bathgate 252aab710f Remove Halffacet_triangle_handle/Halffacet_triangle_const_handle 2022-03-19 12:16:25 +00:00
Giles Bathgate 4390be94b3 Remove code defined in CGAL_NEF_LIST_OF_TRIANGLES 2022-03-19 12:10:22 +00:00
Giles Bathgate 29191ffe1a Add Halffacet_triangle_const_handle to fix compilation issue 2022-03-19 11:13:05 +00:00