TData - Tree data typeTBoundary - Tree boundary typepublic interface IBspNode<TData,TBoundary> extends IConstBspNode<TData,TBoundary>
| Modifier and Type | Method and Description |
|---|---|
IConstBspNode<TData,TBoundary> |
asConst()
Cast to constant node
|
BspInternalNode<TData,TBoundary> |
asInternal()
Cast to internal
Will throw an exception if node the is not actually internal node.
|
BspLeafNode<TData,TBoundary> |
asLeaf()
Cast to leaf
Will throw an exception if node the is not actually leaf node.
|
BspInternalNode<TData,TBoundary> |
getParent()
Get parent
|
BspTree<TData,TBoundary> |
getTree()
Get the BSP tree
|
void |
setDepth(int value)
Set depth
Low-level API.
|
void |
setParent(BspInternalNode<TData,TBoundary> parent)
Set parent
Low-level API.
|
getDepth, getSubtreeData, getSubtreeData, isInternal, isLeafBspTree<TData,TBoundary> getTree()
IConstBspNodegetTree in interface IConstBspNode<TData,TBoundary>BspInternalNode<TData,TBoundary> getParent()
IConstBspNodegetParent in interface IConstBspNode<TData,TBoundary>void setParent(BspInternalNode<TData,TBoundary> parent)
Low-level API.
void setDepth(int value)
Low-level API.
BspLeafNode<TData,TBoundary> asLeaf()
IConstBspNodeWill throw an exception if node the is not actually leaf node.
asLeaf in interface IConstBspNode<TData,TBoundary>BspInternalNode<TData,TBoundary> asInternal()
IConstBspNodeWill throw an exception if node the is not actually internal node.
asInternal in interface IConstBspNode<TData,TBoundary>IConstBspNode<TData,TBoundary> asConst()
Copyright © 2019 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.