|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KdTreeProcedure
Procedure to apply on all kd-tree cells.
Field Summary | |
---|---|
static int |
ABORT
Abort tree traversal immediately. |
static int |
OK
Continue tree traversal. |
static int |
SKIPCHILD
Do not process children. |
Method Summary | |
---|---|
int |
action(java.lang.Object o,
int s,
int[] i0)
Perform an action on the given kdtree cell. |
Field Detail |
---|
static final int OK
static final int ABORT
static final int SKIPCHILD
Method Detail |
---|
int action(java.lang.Object o, int s, int[] i0)
KdTree.walk(KdTreeProcedure)
on
all cells of the kd-tree recursively.
o
- kd-tree cell.s
- cell size.i0
- coordinates of the bottom left corner of this cell.
ABORT
if walk
processing must
abort now, SKIPCHILD
if node children have to be ignored, and
OK
to process node children recursively.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |