Class RegionBSPTree2S.RegionNode2S
java.lang.Object
org.apache.commons.geometry.core.partitioning.bsp.AbstractBSPTree.AbstractNode<Point2S,RegionBSPTree2S.RegionNode2S>
org.apache.commons.geometry.core.partitioning.bsp.AbstractRegionBSPTree.AbstractRegionNode<Point2S,RegionBSPTree2S.RegionNode2S>
org.apache.commons.geometry.spherical.twod.RegionBSPTree2S.RegionNode2S
- All Implemented Interfaces:
BSPSubtree<Point2S,
,RegionBSPTree2S.RegionNode2S> BSPTree.Node<Point2S,
RegionBSPTree2S.RegionNode2S>
- Enclosing class:
RegionBSPTree2S
public static final class RegionBSPTree2S.RegionNode2S
extends AbstractRegionBSPTree.AbstractRegionNode<Point2S,RegionBSPTree2S.RegionNode2S>
BSP tree node for two dimensional spherical space.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the region represented by this node.protected RegionBSPTree2S.RegionNode2S
getSelf()
Get a reference to the current instance, cast to type N.Methods inherited from class org.apache.commons.geometry.core.partitioning.bsp.AbstractRegionBSPTree.AbstractRegionNode
clearCut, cut, cut, getCutBoundary, getLocation, getTree, insertCut, insertCut, isInside, isOutside, nodeInvalidated, setLocation, setLocationValue, toString
Methods inherited from class org.apache.commons.geometry.core.partitioning.bsp.AbstractBSPTree.AbstractNode
accept, checkValid, count, depth, getCut, getCutHyperplane, getMinus, getParent, getPlus, height, isInternal, isLeaf, isMinus, isPlus, makeRoot, nodes, setSubtree, trim
-
Constructor Details
-
RegionNode2S
Simple constructor.- Parameters:
tree
- tree owning the instance.
-
-
Method Details
-
getNodeRegion
Get the region represented by this node. The returned region contains the entire area contained in this node, regardless of the attributes of any child nodes.- Returns:
- the region represented by this node
-
getSelf
Get a reference to the current instance, cast to type N.- Specified by:
getSelf
in classAbstractBSPTree.AbstractNode<Point2S,
RegionBSPTree2S.RegionNode2S> - Returns:
- a reference to the current instance, as type N.
-