mirror of https://github.com/CGAL/cgal
Fix not propagating traits to CH3 code
This commit is contained in:
parent
170e3dd68b
commit
09c9c3044d
|
|
@ -171,7 +171,7 @@ void construct_oriented_bounding_box(const PointRange& points,
|
||||||
if(use_ch) // construct the convex hull to reduce the number of points
|
if(use_ch) // construct the convex hull to reduce the number of points
|
||||||
{
|
{
|
||||||
std::vector<Point> ch_points;
|
std::vector<Point> ch_points;
|
||||||
extreme_points_3(points, std::back_inserter(ch_points));
|
extreme_points_3(points, std::back_inserter(ch_points), traits);
|
||||||
|
|
||||||
#ifdef CGAL_OPTIMAL_BOUNDING_BOX_DEBUG
|
#ifdef CGAL_OPTIMAL_BOUNDING_BOX_DEBUG
|
||||||
std::cout << ch_points.size() << " points on the convex hull" << std::endl;
|
std::cout << ch_points.size() << " points on the convex hull" << std::endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue