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