public class ArrayCell extends Cell
coords, data, dimensionality, numVertices| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
datum, dim, getData, getNumVertices, getVertexCoords, setData, setDimensionality, setVertexCoordspublic ArrayCell(Point[] vertices, Datum[] data)
vertices - data - public boolean intersects(Cell c)
intersects in class Cellpublic float[] getDimensions()
public java.lang.String toString()