Skip to content

Commit

Permalink
Give indexed octree consistent api with direct
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Aug 7, 2020
1 parent 9db51b8 commit b9b269e
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -152,7 +152,8 @@ class Indexed_octree {
Indexed_octree(const Traits &traits,
Input_iterator begin,
Input_iterator end,
Point_map point_map) :
Point_map point_map,
std::size_t offset = 0) :
m_traits(traits),
m_input_range(boost::counting_iterator<std::size_t>(0),
boost::counting_iterator<std::size_t>(end - begin)),
Expand All @@ -171,6 +172,8 @@ class Indexed_octree {
return m_octree.max_depth_reached();
}

std::size_t offset() const { return 0; }

void refine(double cluster_epsilon_for_max_level_recomputation = -1., std::size_t bucketSize = 2,
std::size_t maxLevel = 10) {

Expand Down

0 comments on commit b9b269e

Please sign in to comment.