public abstract class Cell
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Point[] |
coords |
protected Datum[] |
data |
protected int |
dimensionality |
protected int |
numVertices |
Constructor and Description |
---|
Cell(int numAttributes,
int dimensionality,
int numVertices) |
Cell(Point[] coords,
Datum[] data) |
Modifier and Type | Method and Description |
---|---|
Datum |
datum(int i) |
int |
dim() |
Datum[] |
getData() |
int |
getNumVertices() |
Point[] |
getVertexCoords() |
abstract boolean |
intersects(Cell c) |
protected void |
setData(Datum[] data) |
protected void |
setDimensionality(int dim) |
protected void |
setVertexCoords(Point[] vertexCoords) |
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.
|
protected int dimensionality
protected int numVertices
protected Datum[] data
protected Point[] coords
public int dim()
public int getNumVertices()
public Datum datum(int i)
public Datum[] getData()
protected void setData(Datum[] data)
public Point[] getVertexCoords()
protected void setVertexCoords(Point[] vertexCoords)
protected final void setDimensionality(int dim)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String indent)
public abstract boolean intersects(Cell c)