Package | Description |
---|---|
net.sf.jsi | |
net.sf.jsi.rtree |
Modifier and Type | Method and Description |
---|---|
Point |
Rectangle.centre() |
Modifier and Type | Method and Description |
---|---|
void |
Rectangle.add(Point p)
Computes the union of this rectangle and the passed point, storing
the result in this rectangle.
|
float |
Rectangle.distance(Point p)
Return the distance between this rectangle and the passed point.
|
void |
SpatialIndex.nearest(Point p,
gnu.trove.procedure.TIntProcedure v,
float furthestDistance)
Finds the nearest rectangles to the passed rectangle and calls
v.execute(id) for each one.
|
void |
SpatialIndex.nearestN(Point p,
gnu.trove.procedure.TIntProcedure v,
int n,
float distance)
Finds the N nearest rectangles to the passed rectangle, and calls
execute(id, distance) on each one, in order of increasing distance.
|
void |
SpatialIndex.nearestNUnsorted(Point p,
gnu.trove.procedure.TIntProcedure v,
int n,
float distance)
Same as nearestN, except the found rectangles are not returned
in sorted order.
|
void |
Point.set(Point other)
Copy from another point into this one
|
Modifier and Type | Method and Description |
---|---|
void |
RTree.nearest(Point p,
gnu.trove.procedure.TIntProcedure v,
float furthestDistance) |
List<SpatialDistanceMetric.Neighbor> |
RTree.nearestN(Point p,
int count,
float furthestDistance)
Shilad's hack
|
void |
RTree.nearestN(Point p,
gnu.trove.procedure.TIntProcedure v,
int count,
float furthestDistance) |
void |
RTree.nearestNUnsorted(Point p,
gnu.trove.procedure.TIntProcedure v,
int count,
float furthestDistance) |
Copyright © 2014. All rights reserved.