public class KDNode extends ARRSInternalNode
firstChildId, lastChildId, numChildren
baseBounds, cellSource, nodeId, path, siblingId
Constructor and Description |
---|
KDNode(ISBounds bounds)
Constructor takes a single ISbounds
|
KDNode(ISBounds bounds,
CellIndexable cellSource)
Constructor takes a ISbounds and a CellIndexable
|
KDNode(KDNode src)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
ARRSNode |
copy()
copy method creates references to all components, not copies.
|
int |
maxChildren()
return maximum number child nodes (always 2 for kd-tree)
|
addChild, addNode, getChild, getChildID, getChildren, getFirstChildID, getLastChildID, getNumChildren, setFirstChildID, setLastChildID
getBaseBounds, getCellIndexable, getID, getPath, getSibling, getSiblingID, setBaseBounds, setCellIndexable, setID, setNodePath, setSibling
public KDNode(ISBounds bounds)
public KDNode(ISBounds bounds, CellIndexable cellSource)
public KDNode(KDNode src)
public ARRSNode copy()
public int maxChildren()
maxChildren
in class ARRSInternalNode