public class SIRtree extends AbstractSTRtree
STRtree,
Serialized Form
AbstractSTRtree.IntersectsOp root| Constructor and Description |
|---|
SIRtree()
Constructs an SIRtree with the default node capacity.
|
SIRtree(int nodeCapacity)
Constructs an SIRtree with the given maximum number of child nodes that a node may have
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractNode |
createNode(int level)
|
protected Comparator |
getComparator()
|
protected AbstractSTRtree |
getIntersectsOp()
|
void |
insert(double x1, double x2, Object
Inserts an item having the given bounds into the tree.
|
List |
query(double x)
Returns items whose bounds intersect the given value.
|
List |
query(double x1, double x2)
Returns items whose bounds intersect the given bounds.
|
boundablesAtLevel, build, compareDoubles, createParentBoundables, depth, depth, getNodeCapacity, getRoot, insert, isEmpty, itemsTree, lastNode, query, query, remove, size, sizepublic SIRtree()
public SIRtree(int nodeCapacity)
protected AbstractNodecreateNode(int level)
public void insert(double x1,
double x2,
Object item)
public Listquery(double x)
public Listquery(double x1, double x2)
x1 - possibly equal to x2
protected AbstractSTRtree.IntersectsOp getIntersectsOp()
getIntersectsOp in class
AbstractSTRtree
AbstractSTRtree.IntersectsOp
protected ComparatorgetComparator()