Commit Graph

167 Commits

Author SHA1 Message Date
Maxime Gimeno 5ffc01f1a1 indentation warnings fix 2016-01-28 14:17:11 +01:00
Sébastien Loriot 277c7b562a move test file out of the include dir 2015-07-31 09:56:52 +02:00
Clement Jamin 98e36704f7 Make connected_component virtual 2015-07-17 14:16:28 +02:00
Clement Jamin 3b29aeef2d We must never call the Point_3/Vector_3 constructor directly
+ avoid having uninitialized variables
2015-07-17 12:25:17 +02:00
Sébastien Loriot 3ccb377f14 fix the uncatchable bug with spheres 2015-07-17 11:55:26 +02:00
Sven Oesau 5767aad9b3 bugfixes
and some warnings removed
2015-07-16 18:16:50 +02:00
Sven Oesau f1a36e891b bugfix 2015-07-16 15:45:45 +02:00
Sven Oesau d2ad8565a3 check vector size before access 2015-07-16 11:16:39 +02:00
Clement Jamin 86a5b78992 Use CGAL::default_random everywhere 2015-07-15 15:20:13 +02:00
Clement Jamin 1fd6e64737 More protection when accessing "bitmap" 2015-07-15 10:58:48 +02:00
Sven Oesau 6babcf966f fixed warnings 2015-07-11 12:24:10 +02:00
Sven Oesau 3f96610bcb checking range for bitmap access in connected component
shortening some lines
2015-07-10 23:17:42 +02:00
Clement Jamin c419bd1246 Added some "using" for the exact same reason 2015-07-10 10:47:12 +02:00
Clement Jamin 580211cc6a Added some this-> to make GCC happy again
I know, he's right to be angry...
2015-07-10 10:41:10 +02:00
Clement Jamin 870a49b868 Removed temporary testing code 2015-07-10 10:37:10 +02:00
Clement Jamin 0f17afa049 Octree: bugfix + use of Construct_xxx 2015-07-10 10:00:45 +02:00
Clement Jamin f4f9a75c44 Let's get back to the real traits class 2015-07-10 09:08:54 +02:00
Clement Jamin bb5b745d98 The torus is working fine, now 2015-07-10 09:08:07 +02:00
Sven Oesau 3e218a2c07 adapted torus to traits concept
ToDo: Collinear_2 needs to be adapted
2015-07-10 00:14:09 +02:00
Sven Oesau bb2998e11f bugfix 2015-07-10 00:12:32 +02:00
Clement Jamin 00e48dd169 Added right header in comments 2015-07-09 10:27:14 +02:00
Clement Jamin 7ee1ac7c41 Fix warnings 2015-07-09 10:22:43 +02:00
Clement Jamin 33d1b9f971 Doc: updated requirements for the shapes 2015-07-09 10:01:45 +02:00
Clement Jamin 7c45024d90 Dispatched utilities 2015-07-09 09:38:08 +02:00
Clement Jamin 40fd40cc0e Missing param 2015-07-09 09:20:25 +02:00
Clement Jamin b1a8059dc3 Fix warning 2015-07-09 08:58:43 +02:00
Clement Jamin daaa0a87d1 Update the real traits class 2015-07-09 08:58:22 +02:00
Clement Jamin 36d7bfa2c8 Compute_cross_product_3 => Construct_cross_product_vector_3 2015-07-09 08:57:27 +02:00
Clement Jamin 6dc0ff6ada Reordering 2015-07-09 08:28:07 +02:00
Clement Jamin 545756f2fc Merge branch 'Point_set_shape_detection_3-cjamin' of github.com:CGAL/cgal-dev into Point_set_shape_detection_3-cjamin 2015-07-09 08:09:13 +02:00
Clement Jamin 0968103236 Removed warning 2015-07-09 08:08:58 +02:00
Sébastien Loriot a2c1f72164 fix compilation issue 2015-07-09 08:07:49 +02:00
Clement Jamin 5d5b60d130 Revert "Make the utilities public"
This reverts commit 230c4aea14.
2015-07-09 07:47:36 +02:00
Clement Jamin 230c4aea14 Make the utilities public 2015-07-09 07:45:53 +02:00
Clement Jamin c2b35a7834 WIP: use functors from the trait class and update the concept
Temporarily replaced the actual traits class by a fake one to test the concept
Only a few examples compile for now
2015-07-08 19:45:54 +02:00
Sven Oesau d73676eb8f renamed several variables to follow CGAL standard
changed main loop: after search probability for min_points is surpassed, no more candidates are generated and the remaining ones are searched. Duplicate candidates are filtered.

added Shape_base::is_same(): compares to shapes by testing distance and normal deviation from random points from other shape
2015-07-08 18:55:52 +02:00
Sven Oesau f550b731ce changed Shape_base::squared_distance to const 2015-07-08 18:38:09 +02:00
Clement Jamin 385b5ee6ac Fix warnings + CGAL_M_PI => CGAL_PI 2015-07-07 16:54:27 +02:00
Clement Jamin 61eb5e7640 Fix PI macros 2015-07-07 12:06:45 +02:00
Sven Oesau 8db1f99353 bugfix 2015-07-07 12:06:45 +02:00
Sven Oesau 44a01d3b4c removed cross filtering kernel 2015-07-07 12:06:45 +02:00
Sven Oesau 81033fd37d added connected component for cones
2 case handling:
flat cones (opening angle > PI/4) are mapped onto circles
acute cones are mapped onto rectangular parameter space
2015-07-07 12:06:45 +02:00
Sven Oesau b58bc98206 added cross kernel for connected component labeling 2015-07-07 12:06:45 +02:00
Sven Oesau fbdfc61922 corrected the default value of the min_points parameter as specified in documentation (1% of input points), but not less than 10 points 2015-07-07 12:06:44 +02:00
Sven Oesau 8949009469 moved pi defines to Shape_base 2015-07-07 12:06:44 +02:00
Sven Oesau a2dc47ca3e fixed warning 2015-07-07 12:06:44 +02:00
Sven Oesau 73e28e6798 some bugfixes 2015-07-07 12:06:44 +02:00
Sven Oesau c1669667d3 added connected component for Sphere
removed few warnings
2015-07-07 12:06:44 +02:00
Sven Oesau 3300eb746b changed connected component (more flexible for other shape types) 2015-07-07 12:06:43 +02:00
Sven Oesau dc3eb93332 avoiding crash if Efficient_RANSAC instance is released after releasing the input data range 2015-06-29 15:46:51 +02:00