Package | Description |
---|---|
net.sf.jsi | |
net.sf.jsi.rtree |
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,
gnu.trove.procedure.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,
gnu.trove.procedure.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() |
Modifier and Type | Method and Description |
---|---|
void |
RTree.add(Rectangle r,
int id) |
void |
RTree.contains(Rectangle r,
gnu.trove.procedure.TIntProcedure v) |
boolean |
RTree.delete(Rectangle r,
int id) |
void |
RTree.intersects(Rectangle r,
gnu.trove.procedure.TIntProcedure v) |
Copyright © 2014. All rights reserved.