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