Class AdjacentEdgeList
java.lang.Object
|
+--AdjacentEdgeList
- public class AdjacentEdgeList
- extends java.lang.Object
A list of all the adjacent edges
Field Summary |
java.util.ArrayList[] |
adjacent
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
adjacent
public java.util.ArrayList[] adjacent
AdjacentEdgeList
public AdjacentEdgeList(int numverticies)
findAllAdjacent
public TriangleList findAllAdjacent(TriEdgeArray edges,
java.util.ArrayList verticies)
- find all of the triangles which can be made given the edges and verticies
findTriangles
public TriangleList findTriangles(TriEdgeArray TEA)
- find all of the triangles and list them which can be made given the
triangles edge array list
display
public void display(java.awt.Graphics g)
findAdjacent
public void findAdjacent(int vertexnumber,
TriEdgeArray edges,
java.util.ArrayList verticies)
- find all of the adjacent edges and put them in a list
sortAdjacent
public void sortAdjacent(int vertexnumber)
- sort all of the edges in clockwise order in the listing