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

Field Detail

adjacent

public java.util.ArrayList[] adjacent
Constructor Detail

AdjacentEdgeList

public AdjacentEdgeList(int numverticies)
Method Detail

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