Class RegionFactory.VanishingToLeaf
- java.lang.Object
-
- org.apache.commons.math3.geometry.partitioning.RegionFactory.VanishingToLeaf
-
- All Implemented Interfaces:
BSPTree.VanishingCutHandler<S>
- Enclosing class:
- RegionFactory<S extends Space>
private class RegionFactory.VanishingToLeaf extends java.lang.Object implements BSPTree.VanishingCutHandler<S>
Handler replacing nodes with vanishing cuts with leaf nodes.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
inside
Inside/outside indocator to use for ambiguous nodes.
-
Constructor Summary
Constructors Constructor Description VanishingToLeaf(boolean inside)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BSPTree<S>
fixNode(BSPTree<S> node)
Fix a node with both vanished cut and children.
-