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