Package | Description |
---|---|
com.infomatiq.jsi | |
com.infomatiq.jsi.rtree | |
de.topobyte.jsi |
Modifier and Type | Method and Description |
---|---|
Rectangle |
Rectangle.copy()
Make a copy of this rectangle
|
Rectangle |
SpatialIndex.getBounds()
Returns the bounds of all the entries in the spatial index,
or null if there are no entries.
|
Rectangle |
Rectangle.union(Rectangle r)
Find the the union of this rectangle and the passed rectangle.
|
Modifier and Type | Method and Description |
---|---|
void |
Rectangle.add(Rectangle r)
Computes the union of this rectangle and the passed rectangle, storing
the result in this rectangle.
|
void |
SpatialIndex.add(Rectangle r,
int id)
Adds a new rectangle to the spatial index
|
boolean |
Rectangle.containedBy(Rectangle r)
Determine whether this rectangle is contained by the passed rectangle
|
boolean |
Rectangle.contains(Rectangle r)
Determine whether this rectangle contains the passed rectangle
|
void |
SpatialIndex.contains(Rectangle r,
TIntProcedure ip)
Finds all rectangles contained by the passed rectangle.
|
boolean |
SpatialIndex.delete(Rectangle r,
int id)
Deletes a rectangle from the spatial index
|
float |
Rectangle.distance(Rectangle r)
Return the distance between this rectangle and the passed rectangle.
|
boolean |
Rectangle.edgeOverlaps(Rectangle r)
Determine whether an edge of this rectangle overlies the equivalent
edge of the passed rectangle
|
float |
Rectangle.enlargement(Rectangle r)
Calculate the area by which this rectangle would be enlarged if
added to the passed rectangle.
|
boolean |
Rectangle.intersects(Rectangle r)
Determine whether this rectangle intersects the passed rectangle
|
void |
SpatialIndex.intersects(Rectangle r,
TIntProcedure ip)
Finds all rectangles that intersect the passed rectangle.
|
void |
Rectangle.set(Rectangle r)
Sets the size of this rectangle to equal the passed rectangle.
|
Rectangle |
Rectangle.union(Rectangle r)
Find the the union of this rectangle and the passed rectangle.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
RTree.getBounds() |
Rectangle |
Node.getEntryMbb(int index) |
Rectangle |
Node.getMbb() |
Modifier and Type | Method and Description |
---|---|
void |
RTree.add(Rectangle r,
int id) |
void |
RTree.contains(Rectangle r,
TIntProcedure v) |
boolean |
RTree.delete(Rectangle r,
int id) |
void |
Traversal.element(Rectangle rectangle,
int nodeId)
Method gets called for each element contained in the tree.
|
void |
RTree.intersects(Rectangle r,
TIntProcedure v) |
void |
Traversal.node(Rectangle rectangle)
Method gets called for each inner node in the tree.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
GenericRTree.getBounds() |
Modifier and Type | Method and Description |
---|---|
void |
GenericSpatialIndex.add(Rectangle r,
T thing)
Add
thing to this index with place-occupation specified by
r . |
void |
GenericRTree.add(Rectangle r,
T thing) |
Set<T> |
GenericSpatialIndex.contains(Rectangle r)
Acquire a set of all elements contained in the given rectangle
r . |
Set<T> |
GenericRTree.contains(Rectangle r) |
void |
GenericSpatialIndex.contains(Rectangle r,
TObjectProcedure<T> procedure)
Calls
procedure on each element that is contained in the
given rectangle r . |
void |
GenericRTree.contains(Rectangle r,
TObjectProcedure<T> procedure) |
boolean |
GenericSpatialIndex.delete(Rectangle r,
T thing)
Remove element
thing from spatial index. |
boolean |
GenericRTree.delete(Rectangle r,
T thing) |
void |
TraversalPrint.element(Rectangle rectangle,
T element) |
void |
DefaultTraversal.element(Rectangle rectangle,
T element) |
void |
Traversal.element(Rectangle rectangle,
T element)
Method gets called for each element contained in the tree.
|
List<T> |
GenericSpatialIndex.intersectionsAsList(Rectangle r)
Acquire a list of all elements intersecting the given rectangle
r . |
List<T> |
GenericRTree.intersectionsAsList(Rectangle r) |
Set<T> |
GenericSpatialIndex.intersects(Rectangle r)
Acquire a set of all elements intersecting the given rectangle
r . |
Set<T> |
GenericRTree.intersects(Rectangle r) |
void |
GenericSpatialIndex.intersects(Rectangle r,
TObjectProcedure<T> procedure)
Calls
procedure on each element that intersects the given
rectangle r . |
void |
GenericRTree.intersects(Rectangle r,
TObjectProcedure<T> procedure) |
void |
TraversalPrint.node(Rectangle rectangle) |
void |
DefaultTraversal.node(Rectangle rectangle) |
void |
Traversal.node(Rectangle rectangle)
Method gets called for each inner node in the tree.
|