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