|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mines.jtk.mesh.TriMesh.NodeStepList
public static class TriMesh.NodeStepList
A dynamically growing list of nodes and steps. Such a list may be, for example, the result of a search for node nabors within a specified maximum number of steps of a specified node.
| Constructor Summary | |
|---|---|
TriMesh.NodeStepList()
|
|
| Method Summary | |
|---|---|
void |
add(TriMesh.Node node,
int step)
Appends the specified node and step to this list. |
void |
clear()
Removes all nodes (and steps) from this list. |
int |
nnode()
Returns the number of nodes (and steps) in this list. |
TriMesh.Node[] |
nodes()
Returns (by reference) the array of nodes in this list. |
int[] |
steps()
Returns (by reference) the array of steps in this list. |
void |
trim()
Trims this list so that its array length equals the number of nodes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TriMesh.NodeStepList()
| Method Detail |
|---|
public final void add(TriMesh.Node node,
int step)
node - the node to append.public final void trim()
public final void clear()
public final int nnode()
public final TriMesh.Node[] nodes()
public final int[] steps()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||