|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.lattice.Cell
edu.unh.sdb.lattice.ArrayCell
public class ArrayCell
This class defines cells used with regular geometries and rectilinear topologies. Vertices are numbered using a bit pattern constructed as follows: bit 0 is 0 if the vertex is in the lower position of axis 0, 1 otherwise. bit 1 is 0 if the vertex is in the lower position of axis 1, 1 otherwise. bit 2 is 0 if the vertex is in the lower position of axis 2, 1 otherwise. : : bit n is 0 if the vertex is in the lower position of axis n, 1 otherwise.
Field Summary |
---|
Fields inherited from class edu.unh.sdb.lattice.Cell |
---|
coords, data, dimensionality, numVertices |
Constructor Summary | |
---|---|
ArrayCell(Point[] vertices,
Datum[] data)
Construct a array cell with the corners defined by the "vertices" with attribute values at those corners defined by "data". |
|
ArrayCell(Point[] vertices,
Datum[] data,
int dimensionality)
Deprecated. The dimensionality argument is superfluous. |
Method Summary | |
---|---|
float[] |
getDimensions()
return an array that represents the sizes of each dimension of the cell. |
boolean |
intersects(Cell c)
determine if the argument Cell intersects with this Cell. |
java.lang.String |
toString()
Return a String representing the object. |
java.lang.String |
toString(java.lang.String indent)
Return a String representing the object indented by the argument string. |
Methods inherited from class edu.unh.sdb.lattice.Cell |
---|
datum, dim, getData, getNumVertices, getVertexCoords, setData, setDimensionality, setVertexCoords |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayCell(Point[] vertices, Datum[] data)
vertices
- data
- public ArrayCell(Point[] vertices, Datum[] data, int dimensionality)
Method Detail |
---|
public boolean intersects(Cell c)
intersects
in class Cell
public float[] getDimensions()
public java.lang.String toString()
toString
in class Cell
public java.lang.String toString(java.lang.String indent)
toString
in class Cell
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |