|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectastex.Lattice
public class Lattice
| Field Summary | |
|---|---|
static int |
Undefined
Constant to indicate we don't care about ids. |
| Constructor Summary | |
|---|---|
Lattice(double d)
Create an empty lattice object. |
|
| Method Summary | |
|---|---|
void |
add(int id,
double x,
double y,
double z)
Add an object reference to the lattice. |
int |
BOX(double x)
Return the cell box id along one axis. |
int |
getCellContents(int icell,
IntArray c)
Get the contents of the cell. |
int |
getCellCount()
Get the number of occupied cells. |
double |
getMaximumDistance()
Return the maximum search distance. |
int |
getObjectCount()
Return the number of objects. |
int |
getPossibleCellNeighbours(int cid,
IntArray objects)
Get the possible pairs of neighbours from a cell. |
int |
getPossibleNeighbours(int id,
double x,
double y,
double z,
IntArray neighbours,
boolean allNeighbours)
Return the possible neighbours of the point. |
static void |
main(java.lang.String[] args)
Test harness for the lattice construction. |
void |
printStatistics(int info)
Print info about the Lattice object. |
void |
setMaximumDistance(double d)
Set the maximum search distance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int Undefined
| Constructor Detail |
|---|
public Lattice(double d)
| Method Detail |
|---|
public void setMaximumDistance(double d)
public double getMaximumDistance()
public int getObjectCount()
public int getCellCount()
public void add(int id,
double x,
double y,
double z)
public int getCellContents(int icell,
IntArray c)
public int getPossibleNeighbours(int id,
double x,
double y,
double z,
IntArray neighbours,
boolean allNeighbours)
public int getPossibleCellNeighbours(int cid,
IntArray objects)
public void printStatistics(int info)
public int BOX(double x)
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||