//split the tree public void split(BSPNode _aNode) { if (_aNode.getLeftNode() != null){ split(_aNode.getLeftNode()); }else{ _aNode.cut(); return; } if (_aNode.getLeftNode() != null){ split(_aNode.getRightNode()); } }
//split the tree public void split(BSPNode _aNode) { if (_aNode.getLeftNode() != null) { split(_aNode.getLeftNode()); } else { _aNode.cut(); return; } if (_aNode.getLeftNode() != null) { split(_aNode.getRightNode()); } }