Commit Graph

293 Commits

Author SHA1 Message Date
kanhuang fad5883a7f specialized insert method to build output arr. not finished 2013-09-02 23:37:33 -04:00
kanhuang df2419b3bc Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-09-02 21:48:45 -04:00
kanhuang 12c7923c2c small changes 2013-09-02 21:48:32 -04:00
Francisc Bungiu bd7918549f Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-09-03 00:56:31 +03:00
Francisc Bungiu 99b86148d6 fixed last major bug 2013-09-03 00:56:19 +03:00
kanhuang 9fe4c7f032 replace is_closer() by no intersection construction version 2013-09-02 11:03:27 -04:00
kanhuang e453aa9495 improve efficency: one edge in one edge out
reduce times of heap operation.
2013-08-31 11:28:44 -04:00
kanhuang 97cc81efd5 improve heap_remove() 2013-08-31 00:58:03 -04:00
kanhuang db71654296 fix bug in is_closer() and is_good_edge() 2013-08-30 20:24:54 -04:00
kanhuang 8ce5c1041c fix bug in is_closer() and heap_remove() 2013-08-30 09:19:54 -04:00
kanhuang d1a423b1d3 fix bug of holes touches boundary 2013-08-29 17:16:54 -04:00
kanhuang a7abab0175 fix bug of q is a extream point 2013-08-29 14:35:52 -04:00
Michael Hemmer 9837a95ab1 (Input_arrangement_2& arr -> (const Input_arrangement_2& 2013-08-29 14:31:52 +03:00
kanhuang 8a024117b8 accidentally delete Triangular_expansion. add it back 2013-08-29 01:40:33 -04:00
kanhuang 72c75d58b4 add Rotational to benchmark and simple_benchmark 2013-08-28 22:45:06 -04:00
kanhuang 4e5d0ad9f9 passed test_rotational_visibility.cpp 2013-08-28 19:35:09 -04:00
kanhuang 9f08ea7bc7 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-28 17:02:46 -04:00
kanhuang dac41a739e fix bugs in rotational 2013-08-28 17:02:40 -04:00
Francisc Bungiu 98dc1b615e Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-28 22:42:31 +03:00
Francisc Bungiu 85a69c2894 corrected bugs 2013-08-28 22:41:02 +03:00
kanhuang dce92bfe46 begin debug rotational 2013-08-28 13:14:11 -04:00
kanhuang 3e5542b870 add funnel and sweep by vertex 2013-08-27 22:06:27 -04:00
kanhuang 60cc91bec4 add tunnel and sweep by vertex 2013-08-27 19:51:54 -04:00
kanhuang c0f0186c71 add heap functions 2013-08-27 14:53:00 -04:00
kanhuang ded4c747d6 remove const of input arr in test code 2013-08-27 11:20:26 -04:00
kanhuang 2a334dd3ab Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-27 10:34:58 -04:00
kanhuang 96df7dd38c add funnel sort for needles 2013-08-27 10:34:23 -04:00
Michael Hemmer fd4f2fe3f7 input arr can not be const 2013-08-27 17:31:22 +03:00
Michael Hemmer e1e1e43a9d const Point& in visibility_region 2013-08-27 15:54:14 +03:00
kanhuang 8df97c5652 replace functions using intersections 2013-08-26 23:45:38 -04:00
kanhuang 876e0d22e0 support simple benchmark report 2013-08-25 20:45:29 -04:00
Michael Hemmer 837d78dd91 update testing 2013-08-23 17:36:36 +02:00
Francisc Bungiu 5a41fd77f0 testing git config 2013-08-23 13:38:59 +03:00
fbungiu f6302358f3 testing push git e-mail 2013-08-23 12:54:01 +03:00
fbungiu 70522c02ac testing push git e-mail 2013-08-23 12:48:52 +03:00
Francisc 5be465fe2e Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-23 12:08:05 +03:00
Francisc 1bd1397858 bug correction progress 2013-08-23 12:07:56 +03:00
kanhuang 133f23dd82 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-22 20:34:04 -04:00
kanhuang 2eedfed4f7 rotational 1 2013-08-22 20:33:58 -04:00
Francisc ff5ea64548 corrected bug 2013-08-23 00:02:42 +03:00
Francisc a0753d3cf3 finished reimplementing algo for simple polygons 2013-08-22 21:30:31 +03:00
Francisc cdd926e007 progress 2013-08-22 18:36:06 +03:00
Francisc 21daeae809 progress 2013-08-22 14:48:10 +03:00
Francisc 788eeda527 progress 2013-08-22 12:45:24 +03:00
Francisc 9232bd70a3 removed printout 2013-08-22 10:21:36 +03:00
Francisc b29780a838 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-22 10:02:36 +03:00
Francisc 074e5a3516 added test cases and reimplemented simple poly visibility 2013-08-22 10:01:02 +03:00
kanhuang 015cf140c4 begin of rotational sweep 2013-08-21 23:19:22 -04:00
kanhuang 688c1a087f begin of rotational sweep 2013-08-21 23:17:22 -04:00
kanhuang bd1d9bd828 add a example 2013-08-20 18:14:48 -04:00
Francisc 634da26494 progress fixing bugs 2013-08-15 22:09:04 +03:00
Francisc 3ad6f10b83 corrected bugs - now example3.environment works completely 2013-08-15 18:33:14 +03:00
Francisc 7ba3ae4617 corrected bugs - now all 7 test cases pass 2013-08-15 13:39:28 +03:00
Francisc 6422401339 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-15 13:25:48 +03:00
kanhuang 932c2c4d9c two bugs removed 2013-08-14 21:04:31 -04:00
Francisc c37f8f504d fixed bug in clearing output arr, fixed segmentation fault for first 3 test cases and added check for possible loop in vector passed to needle detection method 2013-08-14 19:51:28 +03:00
Michael Hemmer 7f6ae911e4 remove wrong assert 2013-08-14 12:32:37 +02:00
Michael Hemmer ef33a39639 fix double reporting of points on needles 2013-08-14 12:15:44 +02:00
kanhuang 817609dd0f fix bug of degree>2 case 2013-08-13 19:14:39 -04:00
kanhuang cf6b201110 fix a bug in naive 2013-08-13 12:15:33 -04:00
Michael Hemmer 6b02858d87 instance 1-6 works, instance 7 for complex needle has a segfault 2013-08-13 17:36:30 +02:00
Michael Hemmer 54458dcd7b prepare needles in Triangular_expansion_visibility_2_.h 2013-08-13 15:08:16 +02:00
Michael Hemmer 5b2b678e2c Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-13 09:02:52 +02:00
kanhuang 76bab4362f fix a bug in naive and add information to test_methods() 2013-08-12 22:18:43 -04:00
Michael Hemmer 7194710dcb Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-12 17:07:21 +02:00
Francisc 66df2206fd corrected bug in selecting vertex order when query is on the edge 2013-08-12 16:29:53 +03:00
Michael Hemmer 07afe29926 fix bug in query on vertex case 2013-08-12 12:10:31 +02:00
kanhuang df462df4dc test all cases from command line 2013-08-11 15:37:17 -04:00
Michael Hemmer 46d8bf9a33 continued work of query on vertex but not working yet 2013-08-10 12:36:21 +02:00
Michael Hemmer ae40611db9 bug fixes 2013-08-09 20:15:23 +02:00
Michael Hemmer 1d1b033020 use CGAL::insert_non_intersecting_curves
it is faster and will also reveal a bug in case the algo would return a selfintersecting polygon.
2013-08-09 11:31:28 +02:00
Michael Hemmer 03ebf24ad4 added case for qpoint on edge case for qpoint on vertex is missing 2013-08-09 11:23:22 +02:00
Michael Hemmer 415ae312fb Minior fixes to get it compiling / not complete yet
Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer

Conflicts:
	Visibility_2/include/CGAL/Triangular_expansion_visibility_2_.h
2013-08-09 10:00:58 +02:00
Michael Hemmer faaf1465b2 minor 2013-08-09 09:20:50 +02:00
kanhuang 55fb89191b add is_star_shape() 2013-08-08 23:14:35 -04:00
kanhuang b6cd227a52 compile benchmark 2013-08-08 10:25:01 -04:00
Francisc 6d316b8986 resolved conflicts 2013-08-08 16:01:58 +03:00
kanhuang 2fbd64a8e5 consistency of Naive 2013-08-08 00:28:54 -04:00
kanhuang fd46d789eb benchmark debug 2013-08-07 13:20:51 -04:00
Francisc d38ee56f8b switched parameter order 2013-08-07 18:44:45 +03:00
kanhuang b2902dcb06 debug compiling benchmark.cpp 2013-08-07 11:39:19 -04:00
kanhuang 0f4ac346a9 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-07 11:07:09 -04:00
kanhuang 641f2fdbb9 handle replace 2013-08-07 11:06:58 -04:00
Francisc 8723eff2de moved const argument to front 2013-08-07 18:05:39 +03:00
kanhuang db1b380622 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-07 10:41:27 -04:00
Francisc 6c9adf11d2 changed handle to const_handles 2013-08-07 17:36:45 +03:00
kanhuang d35c8c0834 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-07 09:05:45 -04:00
kanhuang 72e3787d51 Naive_visibility 2013-08-07 09:01:42 -04:00
Francisc aa83fb5d04 switched to const handles and moved kernel predicates to visibility_utils.h 2013-08-07 15:08:22 +03:00
Michael Hemmer 156fdf8e6f Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-07 10:41:17 +02:00
Michael Hemmer 787c54b299 initial version of triangular expansion 2013-08-07 10:40:59 +02:00
Francisc 6b14c3a558 fixed face_handle return and constness of face_handle 2013-08-06 22:16:10 +03:00
kanhuang df6dfe57a5 Naive debug 2013-08-06 10:17:44 -04:00
Francisc 2240ef4424 changed namespce from CGAL::Visibility_2 to CGAL 2013-08-06 12:43:43 +03:00
kanhuang cd09171483 debug naive 2013-08-05 22:09:03 -04:00
kanhuang 505cd77901 comple Naive 2013-08-05 09:27:05 -04:00
Francisc 16b3dfda3a Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-04 20:22:32 +03:00
Francisc aacc051354 finished methods to test concept obediance 2013-08-04 19:59:29 +03:00
kanhuang 4d650aa2b0 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-02 16:09:49 -04:00
kanhuang d2f0568762 Naive 2013-08-02 16:09:34 -04:00
Francisc 484e781f8e deleted simple_visibility 2013-08-02 18:00:10 +03:00
Francisc 115923c1e1 changed simple_visibility to simple_polygon_visibility 2013-08-02 17:49:39 +03:00
Francisc d3169a4ae9 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-08-01 22:33:26 +03:00
Francisc 71c3a87cdc progress with generic test function 2013-08-01 22:32:56 +03:00
Michael Hemmer a81a23b960 added missing Regularization_tag and rename of template argument 2013-08-01 15:52:57 +02:00
kanhuang a23aa45846 after failed merge 2013-08-01 08:51:24 -04:00
Francisc c817c461e2 modified doc according to first review 2013-08-01 13:49:26 +03:00
Michael Hemmer fa95497340 global replace Input/Output_Arr -> Input/Output_arr 2013-08-01 11:23:30 +02:00
Francisc f4adb60fe2 corrected bug in simple visibility 2013-08-01 12:08:01 +03:00
kanhuang fd36bc76c0 before sed 2013-07-31 16:28:26 -04:00
kanhuang 0da233c8c0 review end 2013-07-30 14:45:38 -04:00
Francisc 16df0d58e1 added support for regularization in implementation and references to documentation 2013-07-23 16:38:40 +03:00
Francisc c6e65acc51 entirely switched to kernel constructions and predicates - global functions dropped 2013-07-22 14:38:01 +03:00
Francisc 88e5066154 implemented treatment of needles 2013-07-22 13:19:40 +03:00
kanhuang 122c0488a4 begin of preprocess algo 2013-07-19 23:02:20 -04:00
kanhuang 96b29d5719 begin of preprocess algo 2013-07-19 23:01:49 -04:00
Francisc 4132418a76 corrected choice of first vertex in algorithm 2013-07-18 14:34:41 +03:00
kanhuang cde5ec15be no insertion of same edge twice 2013-07-17 23:12:26 -04:00
kanhuang 2b863b7fda Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-07-17 23:08:52 -04:00
kanhuang 2335d99341 save before openning the test branch 2013-07-17 20:59:26 -04:00
Francisc f2d0fbb7c5 progress with needles 2013-07-17 18:19:06 +03:00
Francisc 898044aea2 progress with needles 2013-07-17 18:16:34 +03:00
kanhuang 6f916cd4d1 fix a bug Naive_visibility_2.h 2013-07-16 19:23:31 -04:00
Francisc 538e5ca1ee progress with needle test cases 2013-07-16 15:11:04 +03:00
Francisc 1888cfc93d testing progress 2013-07-15 19:22:09 +03:00
kanhuang 5afd53d4a0 test_naive_visibility 2013-07-14 15:04:24 -04:00
Francisc 74ce50cd4b added second test case and corrected bug 2013-07-11 14:12:35 +03:00
Francisc 5451b73f6b added first test case and added tests for the Visibility_2 concept methods 2013-07-10 14:12:58 +03:00
kanhuang 30dc3b2d95 1. finish needle() in Naive_visibility_2.h.
2. add a function to create arrangement from file.
3. add an arbitrary arrangement test case, arr1 in /test/data.
2013-07-09 23:04:10 -04:00
Francisc 693d6f45d0 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-07-09 11:18:14 +03:00
Francisc e553deaab9 test cases progress 2013-07-09 11:18:00 +03:00
kanhuang fff5297246 update function insert_halfedge() 2013-07-09 00:16:47 -04:00
kanhuang 0c70830695 need polish. the needle function is not right 2013-07-07 23:23:50 -04:00
kanhuang 337af4b266 Merge branch 'gsoc2013-Visibility_doc-hemmer' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Visibility_doc-hemmer 2013-07-07 23:20:24 -04:00
kanhuang e7de4069b4 need polish. the needle function is not right 2013-07-07 23:18:28 -04:00
Francisc c3f6f0bf4a moved file one folder down 2013-07-07 23:47:39 +03:00
Francisc 3da4808ae1 small modifications 2013-07-06 20:28:08 +03:00
Francisc 022d788ac2 corrected bug 2013-07-04 11:17:33 +03:00
Francisc da6d2ee578 finished implementation 2013-07-02 12:00:55 +03:00
Francisc 134a2617c9 finished implementation 2013-07-02 12:00:03 +03:00
Francisc 3d0d2b4387 removed file 2013-06-28 12:02:12 +03:00
Francisc 4badcc6be0 added Simple_Visibility_2 progress 2013-06-28 11:59:15 +03:00
Francisc 9c5b350b08 added Visibility_2 class definition 2013-06-25 19:25:12 +03:00