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