Modifier and Type | Field and Description |
---|---|
private double |
centre |
private Interval |
interval |
private int |
level |
Modifier and Type | Method and Description |
---|---|
static Node |
createExpanded(Node node,
Interval addInterval) |
static Node |
createNode(Interval itemInterval) |
private Node |
createSubnode(int index) |
NodeBase |
find(Interval searchInterval)
Returns the smallest existing
node containing the envelope.
|
Interval |
getInterval() |
Node |
getNode(Interval searchInterval)
Returns the subnode containing the envelope.
|
private Node |
getSubnode(int index)
get the subnode for the index.
|
(package private) void |
insert(Node node) |
protected boolean |
isSearchMatch(Interval itemInterval) |
add, addAllItems, addAllItemsFromOverlapping, depth, getItems, getSubnodeIndex, hasChildren, hasItems, isPrunable, nodeSize, remove, size
private Interval interval
private double centre
private int level
public Node(Interval interval, int level)
public Interval getInterval()
protected boolean isSearchMatch(Interval itemInterval)
isSearchMatch
in class NodeBase
public Node getNode(Interval searchInterval)
public NodeBase find(Interval searchInterval)
void insert(Node node)
private Node getSubnode(int index)
private Node createSubnode(int index)