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