|
|||||||||
| 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.UnstructuredCell
edu.unh.sdb.lattice.TriangleCell
public class TriangleCell
| Field Summary |
|---|
| Fields inherited from class edu.unh.sdb.lattice.Cell |
|---|
coords, data, dimensionality, numVertices |
| Constructor Summary | |
|---|---|
protected |
TriangleCell()
|
|
TriangleCell(DataSource vIndicesDS,
DataSource coordsDS,
RecordSpec vIndicesRS,
RecordSpec coordsRS,
RecordSpec dataRS,
int dimensionality,
IndexSpaceID cellID)
|
|
TriangleCell(float[] coordFloats,
float[] dataFloats,
int numDataAttributes,
int dimensionality,
int triangleIndex)
|
|
TriangleCell(int[] vIndices,
float[] coordFloats,
float[] dataFloats,
int numDataAttributes,
int dimensionality,
int triangleIndex)
|
|
TriangleCell(int numAttributes,
int dimensionality)
|
|
TriangleCell(Point[] coords,
Datum[] data)
|
|
TriangleCell(Point p1,
Point p2,
Point p3)
For debugging. |
| Method Summary | |
|---|---|
void |
assign(int[] vIndices,
float[] coordFloats,
float[] dataFloats,
int numDataAttributes,
int dimensionality,
int triangleIndex)
|
GBounds |
boundingBox()
|
static GBounds |
boundingBox(int[] vIndices,
float[] coords,
int dimensionality,
int triangleIndex)
|
boolean |
containedBy(GBounds bounds)
Returns true if this TriangleCell is contained by the GBounds argument, false otherwise. |
boolean |
inside(Point p)
Returns true if the Point p is inside the TriangleCell, false otherwise. |
static boolean |
inside(Point p,
float[] coords,
int startIndex)
Returns true if the Point p is inside the TriangleCell, false otherwise. |
static boolean |
inside(Point p,
int[] vIndices,
float[] coords,
int triangleIndex)
Returns true if the Point p is inside the TriangleCell, false otherwise. |
boolean |
intersects(Cell c)
|
boolean |
intersects(GBounds b)
|
static boolean |
intersects(GBounds b,
int[] vIndices,
float[] coords,
int triangleIndex)
|
static void |
main(java.lang.String[] argv)
|
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.UnstructuredCell |
|---|
assign |
| 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 TriangleCell(Point p1,
Point p2,
Point p3)
protected TriangleCell()
public TriangleCell(int numAttributes,
int dimensionality)
public TriangleCell(Point[] coords,
Datum[] data)
public TriangleCell(float[] coordFloats,
float[] dataFloats,
int numDataAttributes,
int dimensionality,
int triangleIndex)
public TriangleCell(int[] vIndices,
float[] coordFloats,
float[] dataFloats,
int numDataAttributes,
int dimensionality,
int triangleIndex)
public TriangleCell(DataSource vIndicesDS,
DataSource coordsDS,
RecordSpec vIndicesRS,
RecordSpec coordsRS,
RecordSpec dataRS,
int dimensionality,
IndexSpaceID cellID)
| Method Detail |
|---|
public void assign(int[] vIndices,
float[] coordFloats,
float[] dataFloats,
int numDataAttributes,
int dimensionality,
int triangleIndex)
public boolean intersects(Cell c)
intersects in class Cellpublic boolean inside(Point p)
public static boolean inside(Point p,
float[] coords,
int startIndex)
public static boolean inside(Point p,
int[] vIndices,
float[] coords,
int triangleIndex)
public GBounds boundingBox()
public static GBounds boundingBox(int[] vIndices,
float[] coords,
int dimensionality,
int triangleIndex)
public boolean containedBy(GBounds bounds)
public boolean intersects(GBounds b)
public static boolean intersects(GBounds b,
int[] vIndices,
float[] coords,
int triangleIndex)
public java.lang.String toString()
toString in class Cellpublic java.lang.String toString(java.lang.String indent)
toString in class Cellpublic static void main(java.lang.String[] argv)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||