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