|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectastex.NeighbourGrid2D
public class NeighbourGrid2D
| Constructor Summary | |
|---|---|
NeighbourGrid2D()
Construct a neighbour grid with the following specification. |
|
| Method Summary | |
|---|---|
void |
add(int i,
double x,
double y)
Add an object to the appropriate cell. |
int |
getPossibleNeighbours(int id,
double x,
double y,
double d,
IntArray neighbours,
boolean allNeighbours)
Return the possible neighbours of the point. |
double |
getSpacing()
Get the spacing. |
void |
reset(double xmin,
double ymin,
double xmax,
double ymax,
double dmin)
Reset and reuse a neighbour grid. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NeighbourGrid2D()
| Method Detail |
|---|
public double getSpacing()
public void reset(double xmin,
double ymin,
double xmax,
double ymax,
double dmin)
public void add(int i,
double x,
double y)
public int getPossibleNeighbours(int id,
double x,
double y,
double d,
IntArray neighbours,
boolean allNeighbours)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||