Skip to content

Commit

Permalink
Implement unbalanced_neighbors_to_split
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Aug 13, 2020
1 parent 0faf150 commit 8f91c93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Octree/include/CGAL/Octree.h
Expand Up @@ -692,10 +692,13 @@ class Octree {
if (nullptr != neighbor &&
node.parent() != neighbor->parent() &&
neighbor->is_leaf() &&
true) {
(node.depth() - neighbor->depth()) > 1) {

neighbors_to_split.push_back(neighbor);
}
}

return neighbors_to_split;
}

Node *greater_or_equal_neighbor(Node *node, std::size_t direction) {
Expand Down

0 comments on commit 8f91c93

Please sign in to comment.