Skip to content

Commit

Permalink
Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Mar 16, 2017
2 parents 8662845 + d615e61 commit c360e02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ shape. The implementation follows \cgalCite{schnabel2007efficient}.
m_num_available_points = m_num_total_points;

clear_octrees();
clear_shape_factories();
}
/// @}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ int main()


Efficient_ransac ransac;
ransac.add_shape_factory<CGAL::Shape_detection_3::Plane<Traits> >();

const std::size_t nb_pts = 5000;

Expand All @@ -156,6 +155,7 @@ int main()
5000, std::back_inserter (points));

ransac.set_input(points);
ransac.add_shape_factory<CGAL::Shape_detection_3::Plane<Traits> >();
ransac.detect(op);
check_ransac_size (ransac, 2);

Expand Down Expand Up @@ -187,6 +187,7 @@ int main()


ransac.set_input(points);
ransac.add_shape_factory<CGAL::Shape_detection_3::Plane<Traits> >();
ransac.detect(op);
check_ransac_size (ransac, 2);

Expand Down Expand Up @@ -217,6 +218,7 @@ int main()
5000, std::back_inserter (points));

ransac.set_input(points);
ransac.add_shape_factory<CGAL::Shape_detection_3::Plane<Traits> >();
ransac.detect(op);
check_ransac_size (ransac, 2);

Expand Down Expand Up @@ -252,6 +254,7 @@ int main()
5000, std::back_inserter (points));

ransac.set_input(points);
ransac.add_shape_factory<CGAL::Shape_detection_3::Plane<Traits> >();
ransac.detect(op);
check_ransac_size (ransac, 2);

Expand Down

0 comments on commit c360e02

Please sign in to comment.