public static class TetMesh.TetList
extends java.lang.Object
Constructor and Description |
---|
TetMesh.TetList() |
Modifier and Type | Method and Description |
---|---|
void |
add(TetMesh.Tet tet)
Appends the specified tet to this list.
|
void |
clear()
Removes all tets from this list.
|
int |
ntet()
Returns the number of tets in this list.
|
TetMesh.Tet |
remove(int index)
Removes the tet with specified index from this list.
|
TetMesh.Tet[] |
tets()
Returns (by reference) the array of tets in this list.
|
TetMesh.Tet[] |
trim()
Trims this list so that its array length equals the number of tets.
|
public final void add(TetMesh.Tet tet)
tet
- the tet to append.public final TetMesh.Tet remove(int index)
index
- the index of the tet to remove.public final TetMesh.Tet[] trim()
public final void clear()
public final int ntet()
public final TetMesh.Tet[] tets()