this class holds an edge which can be comparable by the angle the line is at
it is required so that you can traverse edges leaving a point in clockwise or
counter-clockwise order
Method: convert
convert as much of this chain as possible, returning the chain when
the current point on the chain no longer lies within the triangle
NOTE: this method modifies values in the chain's array of points
and the currentpoint value in the chain object.
//Method: displayLocations
// 1)displays all of the user entered points
// 2)displays the actual locations (if selected)
// 3)displays the vectors form user to actual locations (if selected)
// 4)displays the warped map (if selected)
// method : getLocationInfo
// description : gets the x and y coordinates of the locations, as well as the answers
// to questions and label x,y coordinates.
gets the Warp Map file name for a Map with a certain title
NOTE: sometimes the map top be warped will be different from the
border shown to the user
(i.e.
Method: init
this method will initialize all of the chains in the
chainMap so that the currentpointer will be 0
this is done before converting the map...
// method : initSimulation
// description : when the user has selected the map, locations, and questions
// start the simulation by asking the first question/location
This class is the button which instantiates the
main class for the MentalMaps Simulation
it is utilized only when the program is run in the applet version
this class extends the basic Location object to store the user answers
to questions and x and y locations on the map
if the program is run in application mode the user can print the results to an
output file...
// method : setupNewToolbar
// description : sets up a new toolbar which is present when simultaion is done
// to allow the user to review thier results
This class is used to warp the map
it stores with it the transformation matrix associated by what the actual triangle
should look like, and allows all map points inside this trianghle to be transformed
by the matrix...