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