|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface describing search over a set of 2D points and returns those points within a rectangle.
Method Summary | |
void |
initialize(Point2DIterator pi)
Initializes the range searcher with a given set of points. |
Point2DIterator |
query(jdsl.geomobj.api.Rectangle2D r)
Queries the current set of points using the query rectangle r. |
Method Detail |
public void initialize(Point2DIterator pi) throws RangeSearchException
pi
- an iterator over the points to be searched.
RangeSearchException
- if points can't be compared properly.public Point2DIterator query(jdsl.geomobj.api.Rectangle2D r) throws RangeSearchException
r
- the rectangle in which to query.
RangeSearchException
- if points can't be compared properly.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |