Commit Graph

276 Commits

Author SHA1 Message Date
Sebastian Morr 00ff5a443b In the AABB_segment_2_primitive, only save the Id, not the Datum itself 2014-08-08 21:35:40 +02:00
Sebastian Morr 7ef5cddb3f Adapt M-sum's collision detector to new API 2014-08-08 20:13:04 +02:00
Sebastian Morr 6686d5ebc6 Refactored and commented internal AABB classes 2014-08-08 13:45:52 +02:00
Sebastian Morr 567c064509 The do_intersect_join no longer needs the reference polygons 2014-08-06 15:43:11 +02:00
Sebastian Morr 03a17c19b4 Remove unused code from AABB_traits_2
When testing againts points in the interior of faces, weak intersections
always mean the face is in the M-sum's interior, so they don't need
special handling.
2014-08-06 15:29:59 +02:00
Sebastian Morr 634581b173 Remove AABB_node_2 and AABB_tree_2 2014-08-06 11:39:45 +02:00
Sebastian Morr 2f9b4cdff9 Put do_intersect_join into AABB_tree package 2014-08-06 09:40:55 +02:00
Sebastian Morr c95387785b Put join_traversal into the AABB_tree package 2014-08-06 08:56:59 +02:00
Sebastian Morr 3c3d1cce3a Corrected all include guards 2014-08-05 10:12:16 +02:00
Sebastian Morr 23f2cae4bf Mark const parameters in Minkowski_sum_by_reduced_convolution_2 2014-08-05 08:18:46 +02:00
Sebastian Morr f2fce71661 Remove Arr_segment_data_traits_2.
Benchmarks showed no significant benefits, and the code is quite ugly to
maintain.
2014-08-04 23:55:21 +02:00
Sebastian Morr c2f1271c3e Refactor build_reduced_convolution 2014-08-04 22:54:49 +02:00
Sebastian Morr e2ddf7b231 Point caching during convolution building seems to be unnecessary overhead 2014-08-04 16:00:31 +02:00
Sebastian Morr 0249743d1f Comment most of Minkowski_sum_by_reduced_convolution_2 2014-08-04 13:02:47 +02:00
Sebastian Morr d6a58be770 Remove references to the CGAL namespace, as we're already in it 2014-08-04 11:44:45 +02:00
Sebastian Morr f6bd2fda24 Remove "internal" namespace: Doesn't seem to be convention 2014-08-04 11:37:28 +02:00
Sebastian Morr 446e1c4994 Adhere to CGAL's naming conventions 2014-08-04 09:58:13 +02:00
Sebastian Morr 86f630d546 Fix another bug in find_inside_point 2014-07-31 23:07:36 +02:00
Sebastian Morr 196a547131 Fix two bugs in find_inside_point 2014-07-31 17:49:37 +02:00
Sebastian Morr f51ad49794 Refactor AABB_Collision_detector 2014-07-30 18:16:05 +02:00
Sebastian Morr 036dd3cb8e Introduce a new find_inside_point for more stable intersection tests 2014-07-29 09:34:47 +02:00
Sebastian Morr 0a152d750e Print out stage timing information 2014-07-25 20:27:53 +02:00
Sebastian Morr 99ccd7cb3c Remove unused code from Arr_SegmentData_traits 2014-07-25 19:57:15 +02:00
Sebastian Morr a1e3bc5c72 Rotation by 180 degrees == Inversion 2014-07-25 18:30:39 +02:00
Sebastian Morr 6ed342a75e Remove findInsidePoint
It was used with a different collision detection approach.
2014-07-22 13:26:48 +02:00
Sebastian Morr 4b1c043ae7 Refactored build_reduced_convolution 2014-07-22 12:11:23 +02:00
Sebastian Morr 79506faf54 Refactored some typedefs 2014-07-19 17:51:12 +02:00
Sebastian Morr a7c2ec45c5 Remove DenegerateCasesManager and don't extend edges
Both are not necessary when we're interested in the resulting
polygon-with-holes, and not in the arrangement.
2014-07-19 17:37:05 +02:00
Sebastian Morr a986f9e749 Refactor getColDetect() 2014-07-19 17:04:23 +02:00
Sebastian Morr ef485e4475 Use Exact_predicates_exact_constructions_kernel for testing 2014-07-19 16:37:37 +02:00
Sebastian Morr 88ddafbbac Remove unused includes and typedefs 2014-07-14 13:56:31 +02:00
Sebastian Morr c0f1fe824e Remove ConvSegMapper and related classes 2014-07-14 13:25:54 +02:00
Sebastian Morr bb6c6dca0a Remove TraversalManager and related classes 2014-07-14 13:02:33 +02:00
Sebastian Morr 25793b7683 Removed unused code 2014-06-30 17:14:03 +02:00
Sebastian Morr 8a15677d1c Moved AABB files to subdirectory, for later separation 2014-06-24 16:50:47 +02:00
Sebastian Morr 35290dd479 Moved new files into CGAL::internal namespace 2014-06-24 15:15:22 +02:00
Sebastian Morr 8dea36abe4 Remove new/ directory, the test is now properly integrated into CGAL 2014-06-24 14:56:00 +02:00
Sebastian Morr ab97c7593d Remove unused ICollisionDetector 2014-06-24 14:55:02 +02:00
Sebastian Morr 0aee2a76d6 Remove unused SweepCollisionDetection.h 2014-06-24 14:50:37 +02:00
Sebastian Morr 281f6be281 Simplify read_polygon 2014-06-24 11:40:00 +02:00
Sebastian Morr 07753267c3 Remove some unused functions 2014-06-24 11:32:27 +02:00
Sebastian Morr a0d24bc08d Back to CCW assertion. The user should supply the correct input. 2014-06-24 11:31:41 +02:00
Sebastian Morr ac905100cb Made all test polygons counterclockwise 2014-06-24 11:30:24 +02:00
Sebastian Morr 41216a0793 Refactored fillPolyDirs and removed reimplementation of modulo 2014-06-16 16:09:08 +02:00
Sebastian Morr 2dd4ba271d Remove unused "buildReducedConvolution" method 2014-06-16 15:46:49 +02:00
Sebastian Morr 2caa55b30d Fix a typo: "DegenerateCasses" -> "DegenerateCases" 2014-06-16 11:18:32 +02:00
Sebastian Morr e88f133b8f Measure and print runtime of the algorithms 2014-06-16 11:17:55 +02:00
Sebastian Morr 3446fea726 Refacor polygon reflection method 2014-06-16 11:17:27 +02:00
Sebastian Morr 3dc6e24623 Allow comparison with a "correct" result in the test suite
Add tests for dangling edge/isolated vertex situations.
2014-06-15 20:44:58 +02:00
Sebastian Morr f0cb2e9617 Add two test cases with dangling edge/isolated vertex 2014-06-12 19:03:45 +02:00