Interface AbstractBSPTree.SubtreeInitializer<N extends AbstractBSPTree.AbstractNode<?,?>>
-
- Type Parameters:
N
- BSP tree node implementation type
- Enclosing class:
- AbstractBSPTree<P extends Point<P>,N extends AbstractBSPTree.AbstractNode<P,N>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface AbstractBSPTree.SubtreeInitializer<N extends AbstractBSPTree.AbstractNode<?,?>>
Interface used to initialize newly created BSP subtrees, consisting of a single parent node and two child nodes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initSubtree(N root)
Initialize the given newly-created subtree.
-
-
-
Method Detail
-
initSubtree
void initSubtree(N root)
Initialize the given newly-created subtree. The subtree consists of a single root node and two child nodes.- Parameters:
root
- the root node of the new subtree
-
-