CGAL 5.5.4 - Quadtrees, Octrees, and Orthtrees
CGAL::Orthtrees::Maximum_number_of_inliers Class Reference

#include <CGAL/Orthtree/Split_predicates.h>

Definition

A class used to choose when a node should be split depending on the number of inliers.

This is a bucket size predicate that considers a node should be split if it contains more than a certain number of items.

Public Member Functions

 Maximum_number_of_inliers (std::size_t bucket_size)
 creates a predicate based on the number of inliers (bucket size).
 
template<typename Node >
bool operator() (const Node &n) const
 returns true if n should be split, false otherwise.