public abstract class Cell
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected CellID |
cellID |
protected Datum[] |
data |
protected int |
dimensionality |
protected Point[] |
vertices |
Constructor and Description |
---|
Cell()
Constructor without argument
|
Cell(CellID cellid)
Constructor takes a single CellID
|
Cell(CellID cellid,
int dim)
Constructor takes a CellID and the dimensionality
|
Modifier and Type | Method and Description |
---|---|
int |
dim()
Get the dimensionality of a cell
|
CellID |
getCellID()
Get the cell id of a cell
|
Datum[] |
getData()
Get the data contained in a cell
|
int |
getDimensionality()
Deprecated.
use dim()
|
Point[] |
getVertices()
Get the corners of a cell
|
void |
setCellData(Datum[] data)
Set the data of a cell
|
void |
setCellDim(int dim)
Set the dimension of a cell
|
void |
setCellID(CellID cellid)
Set the cell id of a cell
|
void |
setCellVertices(Point[] vertices)
Set the vertice values of a cell
|
java.lang.String |
toString()
Return a String representing the object.
|
abstract java.lang.String |
toString(java.lang.String indent)
Return a String representing the object indented by the argument string.
|
protected CellID cellID
protected int dimensionality
protected Datum[] data
protected Point[] vertices
public Cell()
public Cell(CellID cellid)
public Cell(CellID cellid, int dim)
public void setCellID(CellID cellid)
public void setCellDim(int dim)
public void setCellData(Datum[] data)
public void setCellVertices(Point[] vertices)
public CellID getCellID()
public int getDimensionality()
public int dim()
public Datum[] getData()
public Point[] getVertices()
public java.lang.String toString()
toString
in class java.lang.Object
public abstract java.lang.String toString(java.lang.String indent)