Class AbstractRegionBSPTree.RegionMergeOperator<P extends Point<P>,​N extends AbstractRegionBSPTree.AbstractRegionNode<P,​N>>

    • Constructor Detail

      • RegionMergeOperator

        private RegionMergeOperator()
    • Method Detail

      • apply

        public void apply​(AbstractRegionBSPTree<P,​N> inputTree1,
                          AbstractRegionBSPTree<P,​N> inputTree2,
                          AbstractRegionBSPTree<P,​N> outputTree)
        Merge two input trees, storing the output in the third. The output tree can be one of the input trees. The output tree is condensed before the method returns.
        Parameters:
        inputTree1 - first input tree
        inputTree2 - second input tree
        outputTree - the tree that will contain the result of the merge; may be one of the input trees