TData - Tree data typeTBoundary - Tree boundary typepublic interface IConstBspNode<TData,TBoundary> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
IConstBspInternalNode<TData,TBoundary> |
asInternal()
Cast to internal
Will throw an exception if node the is not actually internal node.
|
IConstBspLeafNode<TData,TBoundary> |
asLeaf()
Cast to leaf
Will throw an exception if node the is not actually leaf node.
|
int |
getDepth()
Get depth level of the node in the tree
|
IConstBspInternalNode<TData,TBoundary> |
getParent()
Get parent
|
TData |
getSubtreeData()
Get subtree data
|
TData |
getSubtreeData(BspOccupation filter)
Get subtree data
|
IConstBspTree<TData,TBoundary> |
getTree()
Get the BSP tree
|
boolean |
isInternal()
Tell whether node is an internal node
|
boolean |
isLeaf()
Tell whether node is a leaf node
|
IConstBspTree<TData,TBoundary> getTree()
IConstBspInternalNode<TData,TBoundary> getParent()
boolean isLeaf()
boolean isInternal()
int getDepth()
IConstBspLeafNode<TData,TBoundary> asLeaf()
Will throw an exception if node the is not actually leaf node.
IConstBspInternalNode<TData,TBoundary> asInternal()
Will throw an exception if node the is not actually internal node.
TData getSubtreeData(BspOccupation filter)
filter - parts to be retrievedTData getSubtreeData()
Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.