All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

a. Variable in class convexHull.Essa
actionPerformed(ActionEvent). Method in class convexHull.ConvexHull
Handles button events.
addPoint(CPoint). Method in class convexHull.ConvexHull
adds a new point to points[]
append(float). Method in class convexHull.floatVector

B

b. Variable in class convexHull.Essa
buildHeapFromBelow(int). Method in class convexHull.floatVector
buildHeapFromTop(int). Method in class convexHull.floatVector

C

canvas. Variable in class convexHull.ConvexHull
clearButton. Variable in class convexHull.ConvexHull
clearRect(double, double, double, double). Method in class convexHull.Graphics2D
Clears given rectangle.
ComparatorAdapter(). Constructor for class convexHull.ComparatorAdapter
compare(Object, Object). Method in class convexHull.ComparatorAdapter
compare method comment.
computeHull(Vector). Static method in class convexHull.GrahamScan
Compute a convex hull for a set of points using a modified Graham scan algorithm, where only LEFT TURN calculation is used.
computeStairs(Vector). Static method in class convexHull.GrahamScan
Computes the stairs of points.
ConvexHull(). Constructor for class convexHull.ConvexHull
initializes empty data-structures
CPoint(). Constructor for class convexHull.CPoint
sets default coordinates to 0.0
CPoint(float, float). Constructor for class convexHull.CPoint
sets coordinates as requested

D

doLayout(). Method in class convexHull.MouseCanvas
Makes sure that the rulers and the main canvas are always properly laid out.
drawLine(double, double, double, double). Method in class convexHull.Graphics2D
Draw line.
drawPoint(double, double, int). Method in class convexHull.Graphics2D
Draw a point with given size.
drawRect(double, double, double, double). Method in class convexHull.Graphics2D
Draw rectangle.
drawString(String, double, double). Method in class convexHull.Graphics2D
Draw a string at specified coordinates.

E

Essa(floatVector). Constructor for class convexHull.Essa
exponent. Variable in class convexHull.fancyFloat

F

fancyFloat(float). Constructor for class convexHull.fancyFloat
floatVector(). Constructor for class convexHull.floatVector
fnum. Variable in class convexHull.fancyFloat

G

g. Variable in class convexHull.Graphics2D
get(int). Method in class convexHull.floatVector
getAppletInfo(). Method in class convexHull.ConvexHull
Gets the applet information.
getExp(). Method in class convexHull.fancyFloat
getExp(float). Static method in class convexHull.fancyFloat
getMantissa(). Method in class convexHull.fancyFloat
getMantissa(float). Static method in class convexHull.fancyFloat
getNum(StreamTokenizer). Method in class convexHull.ConvexHull
Gets a floating point number from the stream.
getSign(). Method in class convexHull.fancyFloat
GrahamScan(). Constructor for class convexHull.GrahamScan
Graphics2D(Graphics, double, double, double, double, int, int). Constructor for class convexHull.Graphics2D
Constructor - sets the bounding box for the graphics.

H

hull. Variable in class convexHull.ConvexHull
hullCheckbox. Variable in class convexHull.ConvexHull

I

init(). Method in class convexHull.ConvexHull
Initializes the user interface for the applet
inum. Variable in class convexHull.fancyFloat
isEqual(CPoint). Method in class convexHull.CPoint
compares to another CPoint instance
itemStateChanged(ItemEvent). Method in class convexHull.ConvexHull
Handles checkbox events.

L

ldexp(float, int). Static method in class convexHull.fancyFloat
leftCanvas. Variable in class convexHull.MouseCanvas
canvas for the left ruler
LeftCanvas(). Constructor for class convexHull.LeftCanvas
LeftCanvas constructor comment.
leftTurn(CPoint, CPoint, CPoint). Static method in class convexHull.GrahamScan
Determines whether two oriented line segments form a left turn.

M

m. Variable in class convexHull.Essa
main(String[]). Static method in class convexHull.ConvexHull
main entrypoint - starts the part when it is run as an application
main(String[]). Static method in class convexHull.TestDriver
mainCanvas. Variable in class convexHull.MouseCanvas
the main canvas
MainCanvas(). Constructor for class convexHull.MainCanvas
MainCanvas constructor comment.
mantissa. Variable in class convexHull.fancyFloat
maxx. Variable in class convexHull.ConvexHull
maxx. Variable in class convexHull.Graphics2D
maxy. Variable in class convexHull.ConvexHull
maxy. Variable in class convexHull.Graphics2D
MIND. Static variable in class convexHull.ConvexHull
minx. Variable in class convexHull.ConvexHull
minx. Variable in class convexHull.Graphics2D
miny. Variable in class convexHull.ConvexHull
miny. Variable in class convexHull.Graphics2D
MouseCanvas(Canvas). Constructor for class convexHull.MouseCanvas
Lays out its children (top & left rulers + the user defined canvas).
mouseCB(MouseEvent). Method in class convexHull.MouseCanvas
Callback for the mouse
mousePressedCB(MouseEvent). Method in class convexHull.MyCanvas
MyCanvas(). Constructor for class convexHull.MyCanvas
MyCanvas constructor comment.

N

n. Variable in class convexHull.Essa

O

outh. Variable in class convexHull.Graphics2D
outw. Variable in class convexHull.Graphics2D

P

paint(Graphics). Method in class convexHull.LeftCanvas
paint(Graphics). Method in class convexHull.MainCanvas
This method was created in VisualAge.
paint(Graphics). Method in class convexHull.MyCanvas
This method was created in VisualAge.
paint(Graphics). Method in class convexHull.TopCanvas
pointer. Variable in class convexHull.LeftCanvas
pointer. Variable in class convexHull.TopCanvas
points. Variable in class convexHull.ConvexHull
printPoints(String, Vector). Static method in class convexHull.GrahamScan
Prints out a list of points.
printPoints(Vector). Static method in class convexHull.GrahamScan
Prints out a list of points.

Q

quick(Vector, Comparator). Static method in class convexHull.Sort
quickSort(Vector, int, int, Comparator). Static method in class convexHull.Sort
This method was created in VisualAge.
quitButton. Variable in class convexHull.ConvexHull

R

readData(String). Method in class convexHull.ConvexHull
Read points from a data file.
reverseHeapSort(). Method in class convexHull.floatVector
runMain(String[]). Method in class convexHull.ConvexHull
running_as_applet. Static variable in class convexHull.ConvexHull

S

set(int, float). Method in class convexHull.floatVector
setBackground(Color). Method in class convexHull.MouseCanvas
This method allows the user to set the background.
setColor(Color). Method in class convexHull.Graphics2D
Sets the current color.
setPointer(int). Method in class convexHull.LeftCanvas
setPointer(int). Method in class convexHull.TopCanvas
sgsum(). Method in class convexHull.Essa
show(). Method in class convexHull.floatVector
sign. Variable in class convexHull.fancyFloat
Sort(). Constructor for class convexHull.Sort
stairs. Variable in class convexHull.ConvexHull
stairsCheckbox. Variable in class convexHull.ConvexHull

T

TestDriver(). Constructor for class convexHull.TestDriver
th(double). Method in class convexHull.Graphics2D
Translate the height in model units into screen units.
topCanvas. Variable in class convexHull.MouseCanvas
canvas for the top ruler
TopCanvas(). Constructor for class convexHull.TopCanvas
TopCanvas constructor comment.
toString(). Method in class convexHull.CPoint
converts the point coordinates to a string of format [x,y]
tw(double). Method in class convexHull.Graphics2D
Translate the width in model units into screen units.
tx(double). Method in class convexHull.Graphics2D
Translate the x coordinate into screen coordinates.
ty(double). Method in class convexHull.Graphics2D
Translate the y coordinate into screen coordinates.

X

x. Variable in class convexHull.CPoint
X coordinate

Y

y. Variable in class convexHull.CPoint
Y coordinate